Class ExprSubselectAllSomeAnyNode
java.lang.Object
com.espertech.esper.common.internal.epl.expression.core.ExprNodeBase
com.espertech.esper.common.internal.epl.expression.subquery.ExprSubselectNode
com.espertech.esper.common.internal.epl.expression.subquery.ExprSubselectAllSomeAnyNode
- All Implemented Interfaces:
ExprEnumerationForge
,ExprEvaluator
,ExprForge
,ExprForgeInstrumentable
,ExprNode
,ExprNodeRenderable
,ExprTypableReturnForge
,ExprValidator
Represents a subselect in an expression tree.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.espertech.esper.common.internal.epl.expression.subquery.ExprSubselectNode
ExprSubselectNode.SubqueryAggregationType
-
Field Summary
Fields inherited from class com.espertech.esper.common.internal.epl.expression.subquery.ExprSubselectNode
EMPTY_SUBSELECT_ARRAY, filterExpr, havingExpr, rawEventType, selectAsNames, selectClause
Fields inherited from interface com.espertech.esper.common.internal.epl.expression.core.ExprEvaluator
EPTYPE, EPTYPEARRAY
-
Constructor Summary
ConstructorDescriptionExprSubselectAllSomeAnyNode
(StatementSpecRaw statementSpec, boolean not, boolean all, RelationalOpEnum relationalOpEnum) Ctor. -
Method Summary
Modifier and TypeMethodDescriptionprotected CodegenExpression
evalMatchesGetCollEventsCodegen
(CodegenMethodScope parent, ExprSubselectEvalMatchSymbol symbols, CodegenClassScope classScope) protected CodegenExpression
evalMatchesGetCollScalarCodegen
(CodegenMethodScope parent, ExprSubselectEvalMatchSymbol symbols, CodegenClassScope classScope) protected CodegenExpression
evalMatchesGetEventBeanCodegen
(CodegenMethodScope parent, ExprSubselectEvalMatchSymbol symbols, CodegenClassScope classScope) protected CodegenExpression
evalMatchesPlainCodegen
(CodegenMethodScope parent, ExprSubselectEvalMatchSymbol symbols, CodegenClassScope classScope) protected CodegenExpression
evalMatchesTypableMultiCodegen
(CodegenMethodScope parent, ExprSubselectEvalMatchSymbol symbols, CodegenClassScope classScope) protected CodegenExpression
evalMatchesTypableSingleCodegen
(CodegenMethodScope parent, ExprSubselectEvalMatchSymbol symbols, CodegenClassScope classScope) evaluateGetEventBean
(EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext context) getEventTypeCollection
(StatementRawInfo statementRawInfo, StatementCompileTimeServices compileTimeServices) getEventTypeSingle
(StatementRawInfo statementRawInfo, StatementCompileTimeServices compileTimeServices) Returns relational op.boolean
isAll()
Returns true for all.boolean
boolean
isNot()
Returns true for not.void
validateSubquery
(ExprValidationContext validationContext) Methods inherited from class com.espertech.esper.common.internal.epl.expression.subquery.ExprSubselectNode
equalsNode, evaluate, evaluate, evaluateCodegen, evaluateCodegenUninstrumented, evaluateGetEventBeanCodegen, evaluateGetROCollectionEventsCodegen, evaluateGetROCollectionScalarCodegen, evaluateTypableMultiCodegen, evaluateTypableSingleCodegen, getExprEvaluator, getExprEvaluatorEnumeration, getFilterStreamExprValidationContext, getFilterSubqueryStreamTypes, getForge, getForgeConstantType, getForgeRenderable, getPrecedence, getRawEventType, getRowProperties, getSelectClause, getStatementSpecCompiled, getStatementSpecRaw, getSubselectAggregationType, getSubselectNumber, isConstantResult, isFilterStreamSubselect, isMultirow, setFilterExpr, setFilterStreamSubselect, setFilterSubqueryStreamTypes, setHavingExpr, setRawEventType, setSelectAsNames, setSelectClause, setStatementSpecCompiled, setSubselectAggregationType, toArray, toPrecedenceFreeEPL, validate
Methods inherited from class com.espertech.esper.common.internal.epl.expression.core.ExprNodeBase
accept, accept, acceptChildnodes, addChildNode, addChildNodes, addChildNodeToFront, checkValidated, checkValidatedException, getChildNodes, replaceUnlistedChildNode, setChildNode, setChildNodes, toEPL
-
Constructor Details
-
ExprSubselectAllSomeAnyNode
public ExprSubselectAllSomeAnyNode(StatementSpecRaw statementSpec, boolean not, boolean all, RelationalOpEnum relationalOpEnum) Ctor.- Parameters:
statementSpec
- is the lookup statement spec from the parser, unvalidatednot
- when NOTall
- when ALL, false for ANYrelationalOpEnum
- operator
-
-
Method Details
-
isNot
public boolean isNot()Returns true for not.- Returns:
- not indicator
-
isAll
public boolean isAll()Returns true for all.- Returns:
- all indicator
-
getRelationalOp
Returns relational op.- Returns:
- op
-
getEvaluationType
-
validateSubquery
public void validateSubquery(ExprValidationContext validationContext) throws ExprValidationException - Specified by:
validateSubquery
in classExprSubselectNode
- Throws:
ExprValidationException
-
typableGetRowProperties
- Specified by:
typableGetRowProperties
in classExprSubselectNode
-
getEventTypeSingle
public EventType getEventTypeSingle(StatementRawInfo statementRawInfo, StatementCompileTimeServices compileTimeServices) throws ExprValidationException - Throws:
ExprValidationException
-
evalMatchesPlainCodegen
protected CodegenExpression evalMatchesPlainCodegen(CodegenMethodScope parent, ExprSubselectEvalMatchSymbol symbols, CodegenClassScope classScope) - Specified by:
evalMatchesPlainCodegen
in classExprSubselectNode
-
evalMatchesTypableMultiCodegen
protected CodegenExpression evalMatchesTypableMultiCodegen(CodegenMethodScope parent, ExprSubselectEvalMatchSymbol symbols, CodegenClassScope classScope) - Specified by:
evalMatchesTypableMultiCodegen
in classExprSubselectNode
-
evaluateGetEventBean
public EventBean evaluateGetEventBean(EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext context) -
evalMatchesGetEventBeanCodegen
protected CodegenExpression evalMatchesGetEventBeanCodegen(CodegenMethodScope parent, ExprSubselectEvalMatchSymbol symbols, CodegenClassScope classScope) - Specified by:
evalMatchesGetEventBeanCodegen
in classExprSubselectNode
-
getComponentTypeCollection
- Throws:
ExprValidationException
-
evalMatchesGetCollScalarCodegen
protected CodegenExpression evalMatchesGetCollScalarCodegen(CodegenMethodScope parent, ExprSubselectEvalMatchSymbol symbols, CodegenClassScope classScope) - Specified by:
evalMatchesGetCollScalarCodegen
in classExprSubselectNode
-
getEventTypeCollection
public EventType getEventTypeCollection(StatementRawInfo statementRawInfo, StatementCompileTimeServices compileTimeServices) -
evalMatchesTypableSingleCodegen
protected CodegenExpression evalMatchesTypableSingleCodegen(CodegenMethodScope parent, ExprSubselectEvalMatchSymbol symbols, CodegenClassScope classScope) - Specified by:
evalMatchesTypableSingleCodegen
in classExprSubselectNode
-
evalMatchesGetCollEventsCodegen
protected CodegenExpression evalMatchesGetCollEventsCodegen(CodegenMethodScope parent, ExprSubselectEvalMatchSymbol symbols, CodegenClassScope classScope) - Specified by:
evalMatchesGetCollEventsCodegen
in classExprSubselectNode
-
isAllowMultiColumnSelect
public boolean isAllowMultiColumnSelect()- Specified by:
isAllowMultiColumnSelect
in classExprSubselectNode
-