Class ExprSubselectInNode
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.ExprSubselectInNode
- 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
-
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, Collection<EventBean> matchingEvents, ExprEvaluatorContext exprEvaluatorContext) getEventTypeCollection
(StatementRawInfo statementRawInfo, StatementCompileTimeServices compileTimeServices) getEventTypeSingle
(StatementRawInfo statementRawInfo, StatementCompileTimeServices compileTimeServices) boolean
boolean
isNotIn()
Returns true for not-in, or false for in.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
-
ExprSubselectInNode
-
-
Method Details
-
getEvaluationType
-
isNotIn
public boolean isNotIn()Returns true for not-in, or false for in.- Returns:
- true for not-in
-
validateSubquery
public void validateSubquery(ExprValidationContext validationContext) throws ExprValidationException - Specified by:
validateSubquery
in classExprSubselectNode
- Throws:
ExprValidationException
-
typableGetRowProperties
- Specified by:
typableGetRowProperties
in classExprSubselectNode
-
evalMatchesPlainCodegen
protected CodegenExpression evalMatchesPlainCodegen(CodegenMethodScope parent, ExprSubselectEvalMatchSymbol symbols, CodegenClassScope classScope) - Specified by:
evalMatchesPlainCodegen
in classExprSubselectNode
-
isAllowMultiColumnSelect
public boolean isAllowMultiColumnSelect()- Specified by:
isAllowMultiColumnSelect
in classExprSubselectNode
-
getEventTypeCollection
public EventType getEventTypeCollection(StatementRawInfo statementRawInfo, StatementCompileTimeServices compileTimeServices) -
evalMatchesGetCollEventsCodegen
protected CodegenExpression evalMatchesGetCollEventsCodegen(CodegenMethodScope parent, ExprSubselectEvalMatchSymbol symbols, CodegenClassScope classScope) - Specified by:
evalMatchesGetCollEventsCodegen
in classExprSubselectNode
-
getComponentTypeCollection
- Throws:
ExprValidationException
-
evalMatchesGetCollScalarCodegen
protected CodegenExpression evalMatchesGetCollScalarCodegen(CodegenMethodScope parent, ExprSubselectEvalMatchSymbol symbols, CodegenClassScope classScope) - Specified by:
evalMatchesGetCollScalarCodegen
in classExprSubselectNode
-
evaluateGetEventBean
public EventBean evaluateGetEventBean(EventBean[] eventsPerStream, boolean isNewData, Collection<EventBean> matchingEvents, ExprEvaluatorContext exprEvaluatorContext) -
getEventTypeSingle
public EventType getEventTypeSingle(StatementRawInfo statementRawInfo, StatementCompileTimeServices compileTimeServices) throws ExprValidationException - Throws:
ExprValidationException
-
evalMatchesGetEventBeanCodegen
protected CodegenExpression evalMatchesGetEventBeanCodegen(CodegenMethodScope parent, ExprSubselectEvalMatchSymbol symbols, CodegenClassScope classScope) - Specified by:
evalMatchesGetEventBeanCodegen
in classExprSubselectNode
-
evalMatchesTypableSingleCodegen
protected CodegenExpression evalMatchesTypableSingleCodegen(CodegenMethodScope parent, ExprSubselectEvalMatchSymbol symbols, CodegenClassScope classScope) - Specified by:
evalMatchesTypableSingleCodegen
in classExprSubselectNode
-
evalMatchesTypableMultiCodegen
protected CodegenExpression evalMatchesTypableMultiCodegen(CodegenMethodScope parent, ExprSubselectEvalMatchSymbol symbols, CodegenClassScope classScope) - Specified by:
evalMatchesTypableMultiCodegen
in classExprSubselectNode
-