Table of Contents

Search

  1. Preface
  2. RulePoint
  3. RulePoint Concepts
  4. Using RulePoint
  5. RulePoint Objects
  6. Working with Topics
  7. Working with Connections
  8. Working with Sources
  9. Working with Responders
  10. Working with Responses
  11. Working with Watchlists
  12. Working with Analytics
  13. DRQL
  14. Working with Rules
  15. Working with Alerts
  16. Setting Access Controls
  17. Troubleshooting RulePoint Issues
  18. Connecting to an Ultra Messaging Application
  19. Creating an Ultra Messaging JMS Source

User Guide

User Guide

Using the distinct, group by, and ummatched Filters

Using the distinct, group by, and ummatched Filters

The distinct and group by operators filter sets of events before they are processed by a rule. Each of these filtering analytic operators take an argument that specify a single property, which is used as the basis for the filter.
You can specify any number or combination of these operators in a rule. For example, all of the following rules are valid:
when 2 stock s group by s.symbol with .. when 2 stock s group by s.symbol,s.price with ..

Understanding Filtering Behavior

The filtering behavior for these operators is as follows:
  • group by. All of the events must have the same value for the specified property.
  • unmatched. All of events do not have the same value for the specified property, but the values are not required to be unique.
  • distinct. All of the events must have a different value for the specified property.
For example, consider the following table:
Values
Passes Match
Passes Unique
Passes Unmatched
A
Y
Y
Y
A, B
N
Y
Y
A, A, A
Y
N
N
A, A, B
N
N
Y
A, B, C
N
Y
Y

0 COMMENTS

We’d like to hear from you!