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

distinct

distinct

The distinct filter verifies that all events have a different value for the specified property, and is used before the
with
clause in DRQL.
For example, the following rule verifies that three credit card transactions were processed by different merchants:
WHEN 3 transaction t distinct t.Merch_ID WITH then response
The following rule verifies that three credit card transactions were processed by different merchants and the total transaction value is greater than $500:
WHEN 3 transaction t distinct t.Merch_ID with sum(t.Purchase_Amt) > 500 then response
Consider that two stock topic events have different symbols, and two bond events have different symbols. The following rule verifies that the stock symbols do not have to be different from the bond symbols:
WHEN 2 stock s, 2 bond b distinct s.symbol,b.symbol then response
The "distinct" operator replaces the "unique" operator.

0 COMMENTS

We’d like to hear from you!