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

match

match

The match operator is a unary operator that verifies that all events have the same value for the specified property.
The match operator is useful when dealing with an event set with multiple events where you want to group events by a common property value.
For example, the following rule verifies that three credit card transactions is processed by the same merchant:
WHEN 3 transaction t WITH match(t.Merchant_ID) then response
The following rule verifies that three credit card transactions were processed by the same merchant and the total transaction value is greater than $500:
WHEN 3 transaction t WITH match(t.Merchant_ID) AND sum(t.Purchase_Amount)> 500 then response
consider that two stock events have the same symbol, and two bond events have the same symbol. The following rule verifies that the stock symbols do not require to be the same as the bond symbols:
WHEN 2 stock s, 2 bond b WITH match(s.symbol) AND match(b.symbol) then response
The following rule provides the same result using a concatenated syntax:
WHEN 2 stock s, 2 bond b WITH match(s.symbol, b.symbol) then response
The "match" operator is deprecated. The "group by" operator replaces the "match" operator.
See: Using the distinct, group by, and ummatched Filters.

0 COMMENTS

We’d like to hear from you!