Class PatternEveryDistinctExpr
java.lang.Object
com.espertech.esper.common.client.soda.PatternExprBase
com.espertech.esper.common.client.soda.PatternEveryDistinctExpr
- All Implemented Interfaces:
PatternExpr
,Serializable
Every-Distinct construct for use in pattern expressions.
- See Also:
-
Constructor Summary
ConstructorDescriptionCtor - for use to create a pattern expression tree, without unique-criterial expression.PatternEveryDistinctExpr
(List<Expression> expressions) Ctor - for use to create a pattern expression tree, without unique-criterial expression. -
Method Summary
Modifier and TypeMethodDescriptionReturns distinct expressionsReturns the precedence.void
setExpressions
(List<Expression> expressions) Sets distinct expressions.void
toPrecedenceFreeEPL
(StringWriter writer, EPStatementFormatter formatter) Renders the expressions and all it's child expression, in full tree depth, as a string in language syntax.Methods inherited from class com.espertech.esper.common.client.soda.PatternExprBase
addChild, getChildren, getTreeObjectName, setChildren, setTreeObjectName, toEPL
-
Constructor Details
-
PatternEveryDistinctExpr
public PatternEveryDistinctExpr()Ctor - for use to create a pattern expression tree, without unique-criterial expression. -
PatternEveryDistinctExpr
Ctor - for use to create a pattern expression tree, without unique-criterial expression.- Parameters:
expressions
- distinct expressions
-
-
Method Details
-
getExpressions
Returns distinct expressions- Returns:
- expr
-
setExpressions
Sets distinct expressions.- Parameters:
expressions
- expr
-
getPrecedence
Description copied from interface:PatternExpr
Returns the precedence.- Returns:
- precedence
-
toPrecedenceFreeEPL
Description copied from class:PatternExprBase
Renders the expressions and all it's child expression, in full tree depth, as a string in language syntax.- Specified by:
toPrecedenceFreeEPL
in classPatternExprBase
- Parameters:
writer
- is the output to useformatter
- for newline-whitespace formatting
-