Class SubqueryInExpression
java.lang.Object
com.espertech.esper.common.client.soda.ExpressionBase
com.espertech.esper.common.client.soda.SubqueryInExpression
- All Implemented Interfaces:
Expression
,Serializable
In-expression for a set of values returned by a lookup.
- See Also:
-
Constructor Summary
ConstructorDescriptionCtor.SubqueryInExpression
(EPStatementObjectModel model, boolean isNotIn) Ctor - for use to create an expression tree, without child expression.SubqueryInExpression
(Expression expression, EPStatementObjectModel model, boolean isNotIn) Ctor - for use to create an expression tree, without child expression. -
Method Summary
Modifier and TypeMethodDescriptiongetModel()
Returns the lookup statement object model.Returns precedence.boolean
isNotIn()
Returns true for not-in, or false for in-lookup.void
setModel
(EPStatementObjectModel model) Sets the lookup statement object model.void
setNotIn
(boolean notIn) Set to true for not-in, or false for in-lookup.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
-
SubqueryInExpression
public SubqueryInExpression()Ctor. -
SubqueryInExpression
Ctor - for use to create an expression tree, without child expression.- Parameters:
model
- is the lookup statement object modelisNotIn
- is true for not-in
-
SubqueryInExpression
Ctor - for use to create an expression tree, without child expression.- Parameters:
expression
- is the expression providing the value to matchmodel
- is the lookup statement object modelisNotIn
- is true for not-in
-
-
Method Details
-
isNotIn
public boolean isNotIn()Returns true for not-in, or false for in-lookup.- Returns:
- true for not-in
-
setNotIn
public void setNotIn(boolean notIn) Set to true for not-in, or false for in-lookup.- Parameters:
notIn
- true for not-in
-
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
-