Uses of Interface
com.espertech.esper.common.client.soda.PatternExpr
Package
Description
This package defines the Esper statement object model.
-
Uses of PatternExpr in com.espertech.esper.common.client.soda
Modifier and TypeClassDescriptionclass
Logical AND for use in pattern expressions.class
Every-Distinct construct for use in pattern expressions.class
Pattern 'every' expression that controls the lifecycle of pattern sub-expressions.class
Abstract base class for all pattern expressions.class
For use in pattern expression as a placeholder to represent its child nodes.class
Filter for use in pattern expressions.class
Followed-by for use in pattern expressions.class
Guard is the where timer-within pattern object for use in pattern expressions.class
Match-Until construct for use in pattern expressions.class
Not-expression for negating a pattern sub-expression for use in pattern expressions.class
Pattern observer expression observes occurances such as timer-at (crontab) and timer-interval.class
Logical OR for use in pattern expressions.Modifier and TypeMethodDescriptionPatternStream.getExpression()
Returns the pattern expression providing events to the stream.ContextDescriptorConditionPattern.getPattern()
Returns the pattern expression.Modifier and TypeMethodDescriptionPatternExpr.getChildren()
Returns the list of pattern sub-expressions (child expressions) to the current pattern expression node.PatternExprBase.getChildren()
PatternGuardExpr.getChildren()
PatternObserverExpr.getChildren()
PatternGuardExpr.getGuarded()
Get sub expressionModifier and TypeMethodDescriptionPatternAndExpr.add
(PatternExpr expr) Adds a pattern expression to the AND relationship between patterns.PatternFollowedByExpr.add
(PatternExpr expr) Adds a pattern expression to the followed-by relationship between patterns.PatternOrExpr.add
(PatternExpr expr) Adds a pattern expression to the OR relationship between patterns.protected void
PatternExprBase.addChild
(PatternExpr expression) Adds a sub-expression to the pattern expression.static PatternAndExpr
Patterns.and
(PatternExpr first, PatternExpr second, PatternExpr... more) Pattern-AND expression, allows adding sub-expressions that are connected by a logical AND.static PatternStream
PatternStream.create
(PatternExpr expression) Creates a pattern stream from a pattern expression.static PatternStream
PatternStream.create
(PatternExpr expression, String optStreamName) Creates a named pattern stream from a pattern expression.static PatternEveryExpr
Patterns.every
(PatternExpr inner) Pattern-every expression control the lifecycle of the pattern sub-expression.static PatternFollowedByExpr
Patterns.followedBy
(PatternExpr first, PatternExpr second, PatternExpr... more) Pattern followed-by expression, allows adding sub-expressions that are connected by a followed-by.static PatternGuardExpr
Patterns.guard
(String namespace, String name, Expression[] parameters, PatternExpr guarded) Guard pattern expression guards a sub-expression, equivalent to the "every MyEvent where timer:within(1 sec)" syntaxstatic PatternMatchUntilExpr
Patterns.matchUntil
(Expression low, Expression high, PatternExpr match, PatternExpr until) Match-until-pattern expression matches a certain number of occurances until a second expression becomes true.static PatternNotExpr
Patterns.not
(PatternExpr subexpression) Not-keyword pattern expression flips the truth-value of the pattern sub-expression.static PatternOrExpr
Patterns.or
(PatternExpr first, PatternExpr second, PatternExpr... more) Pattern-OR expression, allows adding sub-expressions that are connected by a logical OR.void
PatternStream.setExpression
(PatternExpr expression) Sets the pattern expression providing events to the stream.void
ContextDescriptorConditionPattern.setPattern
(PatternExpr pattern) Sets the pattern expression.static PatternGuardExpr
Patterns.timerWithin
(double seconds, PatternExpr guarded) Timer-within guard expression.static PatternGuardExpr
Patterns.timerWithinMax
(double seconds, int max, PatternExpr guarded) Timer-within-max guard expression.static PatternGuardExpr
Patterns.whileGuard
(PatternExpr guarded, Expression expression) While-guard expression.Modifier and TypeMethodDescriptionvoid
PatternExpr.setChildren
(List<PatternExpr> children) Sets the list of pattern sub-expressions (child expressions) to the current pattern expression node.void
PatternExprBase.setChildren
(List<PatternExpr> children) void
PatternGuardExpr.setChildren
(List<PatternExpr> children) void
PatternObserverExpr.setChildren
(List<PatternExpr> children) void
PatternGuardExpr.setGuarded
(List<PatternExpr> guarded) Set sub pattern.ModifierConstructorDescriptionContextDescriptorConditionPattern
(PatternExpr pattern, boolean inclusive, boolean now, String asName) Ctor.PatternAndExpr
(PatternExpr first, PatternExpr second, PatternExpr... patternExprs) Ctor.PatternEveryExpr
(PatternExpr inner) Ctor.PatternFollowedByExpr
(PatternExpr first, PatternExpr second, PatternExpr... patternExprs) Ctor.PatternGuardExpr
(String namespace, String name, Expression[] parameters, PatternExpr guarded) Ctor - for use to create a pattern expression tree, without pattern child expression.PatternGuardExpr
(String namespace, String name, List<Expression> parameters, PatternExpr guardedPattern) Ctor - for use to create a pattern expression tree, without pattern child expression.PatternMatchUntilExpr
(Expression low, Expression high, PatternExpr match, PatternExpr until) Ctor.PatternNotExpr
(PatternExpr inner) Ctor.PatternOrExpr
(PatternExpr first, PatternExpr second, PatternExpr... patternExprs) Ctor.PatternStream
(PatternExpr expression) Ctor.PatternStream
(PatternExpr expression, String optStreamName) Ctor.PatternStream
(PatternExpr expression, String optStreamName, AnnotationPart[] annotations) Ctor.