![]() | Patterns Class |
Provides quick-access method to create all possible pattern expressions and provides typical parameter lists to each.
Note that only the typical parameter lists are provided and pattern expressions can allow adding additional parameters.
Many expressions, for example logical AND and OR (conjunction and disjunction), allow adding an unlimited number of additional sub-expressions to a pattern expression. For those pattern expressions there are additional add methods.
Namespace: com.espertech.esper.common.client.soda
public class Patterns
The Patterns type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | And |
Pattern-AND expression, allows adding sub-expressions that are connected by a logical AND.
|
![]() ![]() | And(PatternExpr, PatternExpr, PatternExpr) |
Pattern-AND expression, allows adding sub-expressions that are connected by a logical AND.
|
![]() ![]() | Every |
Pattern-every expression control the lifecycle of the pattern sub-expression.
|
![]() ![]() | EveryFilter(String) |
Pattern every-operator and filter in combination, equivalent to the "every
MyEvent" syntax.
|
![]() ![]() | EveryFilter(Filter) |
Pattern every-operator and filter in combination, equivalent to the "every MyEvent(vol > 100)" syntax.
|
![]() ![]() | EveryFilter(String, String) |
Pattern every-operator and filter in combination, equivalent to the "every
tag=MyEvent" syntax.
|
![]() ![]() | EveryFilter(Filter, String) |
Pattern every-operator and filter in combination, equivalent to the "every tag=MyEvent(vol > 100)" syntax.
|
![]() ![]() | Filter(String) |
Filter expression for use in patterns, equivalent to the simple "MyEvent"
syntax.
|
![]() ![]() | Filter(Filter) |
Filter expression for use in patterns, equivalent to the "MyEvent(vol > 100)" syntax.
|
![]() ![]() | Filter(String, String) |
Filter expression for use in patterns, equivalent to the simple "tag=MyEvent"
syntax.
|
![]() ![]() | Filter(Filter, String) |
Filter expression for use in patterns, equivalent to the "tag=MyEvent(vol > 100)" syntax.
|
![]() ![]() | FollowedBy |
Pattern followed-by expression, allows adding sub-expressions that are connected by a followed-by.
|
![]() ![]() | FollowedBy(PatternExpr, PatternExpr, PatternExpr) |
Pattern followed-by expression, allows adding sub-expressions that are connected by a followed-by.
|
![]() ![]() | Guard |
Guard pattern expression guards a sub-expression, equivalent to the "every MyEvent where timer:within(1 sec)" syntax
|
![]() ![]() | MatchUntil |
Match-until-pattern expression matches a certain number of
occurances until a second expression becomes true.
|
![]() ![]() | Not |
Not-keyword pattern expression flips the truth-value of the pattern sub-expression.
|
![]() ![]() | NotFilter(String) |
Pattern not-operator and filter in combination, equivalent to the "not MyEvent"
syntax.
|
![]() ![]() | NotFilter(Filter) |
Pattern not-operator and filter in combination, equivalent to the "not MyEvent(vol > 100)" syntax.
|
![]() ![]() | NotFilter(String, String) |
Pattern not-operator and filter in combination, equivalent to the "not
tag=MyEvent" syntax.
|
![]() ![]() | NotFilter(Filter, String) |
Pattern not-operator and filter in combination, equivalent to the "not tag=MyEvent(vol > 100)" syntax.
|
![]() ![]() | Observer |
Observer pattern expression, equivalent to the "every timer:interval(1 sec)" syntax
|
![]() ![]() | Or |
Pattern-OR expression, allows adding sub-expressions that are connected by a logical OR.
|
![]() ![]() | Or(PatternExpr, PatternExpr, PatternExpr) |
Pattern-OR expression, allows adding sub-expressions that are connected by a logical OR.
|
![]() ![]() | TimerAt | |
![]() ![]() | TimerInterval | Timer-interval observer expression. |
![]() ![]() | TimerWithin | Timer-within guard expression. |
![]() ![]() | TimerWithinMax | Timer-within-max guard expression. |
![]() ![]() | WhileGuard | While-guard expression. |