Class ExprSubselectRowNode
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.ExprSubselectRowNode
- 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) evaluateRowCodegen
(CodegenMethodScope parent, CodegenClassScope classScope) getEventTypeCollection
(StatementRawInfo statementRawInfo, StatementCompileTimeServices compileTimeServices) getEventTypeSingle
(StatementRawInfo statementRawInfo, StatementCompileTimeServices compileTimeServices) boolean
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
-
Field Details
-
subselectMultirowType
-
-
Constructor Details
-
ExprSubselectRowNode
Ctor.- Parameters:
statementSpec
- is the lookup statement spec from the parser, unvalidated
-
-
Method Details
-
getEvaluationType
-
validateSubquery
public void validateSubquery(ExprValidationContext validationContext) throws ExprValidationException - Specified by:
validateSubquery
in classExprSubselectNode
- Throws:
ExprValidationException
-
typableGetRowProperties
- Specified by:
typableGetRowProperties
in classExprSubselectNode
- Throws:
ExprValidationException
-
getEventTypeSingle
public EventType getEventTypeSingle(StatementRawInfo statementRawInfo, StatementCompileTimeServices compileTimeServices) throws ExprValidationException - Throws:
ExprValidationException
-
getEventTypeCollection
public EventType getEventTypeCollection(StatementRawInfo statementRawInfo, StatementCompileTimeServices compileTimeServices) throws ExprValidationException - Throws:
ExprValidationException
-
getComponentTypeCollection
- Throws:
ExprValidationException
-
isAllowMultiColumnSelect
public boolean isAllowMultiColumnSelect()- Specified by:
isAllowMultiColumnSelect
in classExprSubselectNode
-
evalMatchesPlainCodegen
protected CodegenExpression evalMatchesPlainCodegen(CodegenMethodScope parent, ExprSubselectEvalMatchSymbol symbols, CodegenClassScope classScope) - Specified by:
evalMatchesPlainCodegen
in classExprSubselectNode
-
evalMatchesGetCollEventsCodegen
protected CodegenExpression evalMatchesGetCollEventsCodegen(CodegenMethodScope parent, ExprSubselectEvalMatchSymbol symbols, CodegenClassScope classScope) - Specified by:
evalMatchesGetCollEventsCodegen
in classExprSubselectNode
-
evalMatchesGetCollScalarCodegen
protected CodegenExpression evalMatchesGetCollScalarCodegen(CodegenMethodScope parent, ExprSubselectEvalMatchSymbol symbols, CodegenClassScope classScope) - Specified by:
evalMatchesGetCollScalarCodegen
in classExprSubselectNode
-
evalMatchesGetEventBeanCodegen
protected CodegenExpression evalMatchesGetEventBeanCodegen(CodegenMethodScope parent, ExprSubselectEvalMatchSymbol symbols, CodegenClassScope classScope) - Specified by:
evalMatchesGetEventBeanCodegen
in classExprSubselectNode
-
evaluateRowCodegen
-
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
-