Class SubqueryQualifiedExpression
java.lang.Object
com.espertech.esper.common.client.soda.ExpressionBase
com.espertech.esper.common.client.soda.SubqueryQualifiedExpression
- All Implemented Interfaces:
Expression
,Serializable
Exists-expression for a set of values returned by a lookup.
- See Also:
-
Constructor Summary
ConstructorDescriptionCtor.SubqueryQualifiedExpression
(EPStatementObjectModel model, String operator, boolean all) Ctor - for use to create an expression tree, without child expression. -
Method Summary
Modifier and TypeMethodDescriptiongetModel()
Returns the lookup statement object model.Returns the operator.Returns precedence.boolean
isAll()
Returns true for ALL, false for ANY.void
setAll
(boolean all) Set to true for ALL, false for ANY.void
setModel
(EPStatementObjectModel model) Sets the lookup statement object model.void
setOperator
(String operator) Sets the operator.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
-
SubqueryQualifiedExpression
public SubqueryQualifiedExpression()Ctor. -
SubqueryQualifiedExpression
Ctor - for use to create an expression tree, without child expression.- Parameters:
model
- is the lookup statement object modeloperator
- the opall
- true for ALL, false for ANY
-
-
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
-
getModel
Returns the lookup statement object model.- Returns:
- lookup model
-
setModel
Sets the lookup statement object model.- Parameters:
model
- is the lookup model to set
-
getOperator
Returns the operator.- Returns:
- operator
-
setOperator
Sets the operator.- Parameters:
operator
- op
-
isAll
public boolean isAll()Returns true for ALL, false for ANY.- Returns:
- all/any flag
-
setAll
public void setAll(boolean all) Set to true for ALL, false for ANY.- Parameters:
all
- true for ALL
-