Class Disjunction
java.lang.Object
com.espertech.esper.common.client.soda.ExpressionBase
com.espertech.esper.common.client.soda.Junction
com.espertech.esper.common.client.soda.Disjunction
- All Implemented Interfaces:
Expression
,Serializable
Disjunction represents a logical OR allowing multiple sub-expressions to be connected by OR.
- See Also:
-
Constructor Summary
ConstructorDescriptionCtor - for use to create an expression tree, without child expression.Disjunction
(Expression first, Expression second, Expression... expressions) Ctor. -
Method Summary
Modifier and TypeMethodDescriptionReturns precedence.void
toPrecedenceFreeEPL
(StringWriter writer) 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.ExpressionBase
addChild, getChildren, getTreeObjectName, renderAggregation, setChildren, setTreeObjectName, toEPL, toPrecedenceFreeEPL, toPrecedenceFreeEPL
-
Constructor Details
-
Disjunction
public Disjunction()Ctor - for use to create an expression tree, without child expression.Use add methods to add child expressions to acts upon.
-
Disjunction
Ctor.- Parameters:
first
- an expression to add to the OR-testsecond
- an expression to add to the OR-testexpressions
- is the expression to put in the OR-relationship.
-
-
Method Details
-
getPrecedence
Description copied from interface:Expression
Returns precedence.- Returns:
- precedence
-
toPrecedenceFreeEPL
Description copied from class:ExpressionBase
Renders the expressions and all it's child expression, in full tree depth, as a string in language syntax.- Specified by:
toPrecedenceFreeEPL
in classExpressionBase
- Parameters:
writer
- is the output to use
-