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 Operators Within Conditions

Using Operators Within Conditions

Within a single condition, you must select an operator to compare the left operand and the right operand.
For example, the following rules uses the greater than and equal operators:
WHEN 1 stock s WITH s.price > 10 WHEN 1 stock s WITH s.symbol = "XYZ"
You can use the following operators while writing rules:

    = (equal)

    != (not equal)

    > (greater than)

    >= (greater than or equal)

    < (less than)

    <= (less than or equal)

    contains

    equalsSet

    has

    in

    match

    notmatch

    unmatched

    search

    unique

    group by

    distinct

The unmatched operators function differently based on whether the rule includes two items, an item and then a list, a list and then an item, or two lists. An item can be a single event, a text watchlist, or a single value returned from an analytic function. A list can be a list watchlist, an event set, or an array returned from an analytic function.
Avoid using unique, match, and not match operators. These operators exist only for backward compatibility. Instead, use the distinct, group by, and unmatched filters.

0 COMMENTS

We’d like to hear from you!