/
Finding Individual Events

Finding Individual Events

Events have structure. They have a type and attributes that have values. Events also include a domain that can be used to group events together--forming a two-tier hierarchy. We want to write patterns that can match the components of this structure using primitive event expressions to recognize the occurrence of individual events. The simplest event expressions match an event domain and name exactly:

select when emitter new_sensor_reading

We can also match based on patterns in attributes and even capture values for later use. The following sections talk about matching primitive, or simple events:

Related content

Event Expressions
Event Expressions
More like this
Eventex Examples
Eventex Examples
More like this
Compound Events
Compound Events
More like this
Capturing Values
Capturing Values
More like this
Event Operators
Event Operators
More like this
Event Expressions and Time
Event Expressions and Time
More like this

Copyright Picolabs | Licensed under Creative Commons.