Class ResultSetProcessorAggregateGroupedForge
java.lang.Object
com.espertech.esper.common.internal.epl.resultset.core.ResultSetProcessorFactoryForgeBase
com.espertech.esper.common.internal.epl.resultset.agggrouped.ResultSetProcessorAggregateGroupedForge
- All Implemented Interfaces:
ResultSetProcessorFactoryForge
Result-set processor prototype for the aggregate-grouped case:
there is a group-by and one or more non-aggregation event properties in the select clause are not listed in the group by,
and there are aggregation functions.
-
Field Summary
Fields inherited from class com.espertech.esper.common.internal.epl.resultset.core.ResultSetProcessorFactoryForgeBase
resultEventType, typesPerStream
-
Constructor Summary
ConstructorDescriptionResultSetProcessorAggregateGroupedForge
(EventType resultEventType, EventType[] typesPerStream, ExprNode[] groupKeyNodeExpressions, ExprForge optionalHavingNode, boolean isSelectRStream, boolean isUnidirectional, OutputLimitSpec outputLimitSpec, boolean isSorting, boolean isHistoricalOnly, ResultSetProcessorOutputConditionType outputConditionType, OutputConditionPolledFactoryForge optionalOutputFirstConditionFactory, MultiKeyClassRef multiKeyClassRef) -
Method Summary
Modifier and TypeMethodDescriptionvoid
acceptHelperVisitorCodegen
(CodegenClassScope classScope, CodegenMethod method, CodegenInstanceAux instance) void
applyJoinResultCodegen
(CodegenClassScope classScope, CodegenMethod method, CodegenInstanceAux instance) void
applyViewResultCodegen
(CodegenClassScope classScope, CodegenMethod method, CodegenInstanceAux instance) void
clearMethodCodegen
(CodegenClassScope classScope, CodegenMethod method) void
continueOutputLimitedLastAllNonBufferedJoinCodegen
(CodegenClassScope classScope, CodegenMethod method, CodegenInstanceAux instance) void
continueOutputLimitedLastAllNonBufferedViewCodegen
(CodegenClassScope classScope, CodegenMethod method, CodegenInstanceAux instance) ExprNode[]
EPType[]
void
getIteratorJoinCodegen
(CodegenClassScope classScope, CodegenMethod method, CodegenInstanceAux instance) void
getIteratorViewCodegen
(CodegenClassScope classScope, CodegenMethod method, CodegenInstanceAux instance) int
void
instanceCodegen
(CodegenInstanceAux instance, CodegenClassScope classScope, CodegenCtor factoryCtor, List<CodegenTypedParam> factoryMembers) boolean
boolean
boolean
boolean
boolean
boolean
boolean
void
planStateSettings
(FabricCharge fabricCharge, StatementRawInfo statementRawInfo, ResultSetProcessorFlags flags, StatementCompileTimeServices services) void
processJoinResultCodegen
(CodegenClassScope classScope, CodegenMethod method, CodegenInstanceAux instance) void
processOutputLimitedJoinCodegen
(CodegenClassScope classScope, CodegenMethod method, CodegenInstanceAux instance) void
processOutputLimitedLastAllNonBufferedJoinCodegen
(CodegenClassScope classScope, CodegenMethod method, CodegenInstanceAux instance) void
processOutputLimitedLastAllNonBufferedViewCodegen
(CodegenClassScope classScope, CodegenMethod method, CodegenInstanceAux instance) void
processOutputLimitedViewCodegen
(CodegenClassScope classScope, CodegenMethod method, CodegenInstanceAux instance) void
processViewResultCodegen
(CodegenClassScope classScope, CodegenMethod method, CodegenInstanceAux instance) void
stopMethodCodegen
(CodegenClassScope classScope, CodegenMethod method, CodegenInstanceAux instance) Methods inherited from class com.espertech.esper.common.internal.epl.resultset.core.ResultSetProcessorFactoryForgeBase
getResultEventType, getTypesPerStream
-
Constructor Details
-
ResultSetProcessorAggregateGroupedForge
public ResultSetProcessorAggregateGroupedForge(EventType resultEventType, EventType[] typesPerStream, ExprNode[] groupKeyNodeExpressions, ExprForge optionalHavingNode, boolean isSelectRStream, boolean isUnidirectional, OutputLimitSpec outputLimitSpec, boolean isSorting, boolean isHistoricalOnly, ResultSetProcessorOutputConditionType outputConditionType, OutputConditionPolledFactoryForge optionalOutputFirstConditionFactory, MultiKeyClassRef multiKeyClassRef)
-
-
Method Details
-
getOptionalHavingNode
-
isSorting
public boolean isSorting() -
isSelectRStream
public boolean isSelectRStream() -
isUnidirectional
public boolean isUnidirectional() -
getOutputLimitSpec
-
getGroupKeyNodeExpressions
-
isHistoricalOnly
public boolean isHistoricalOnly() -
getOptionalOutputFirstConditionFactory
-
isOutputLast
public boolean isOutputLast() -
isOutputAll
public boolean isOutputAll() -
isOutputFirst
public boolean isOutputFirst() -
getOutputConditionType
-
getNumStreams
public int getNumStreams() -
getGroupKeyTypes
-
getInterfaceClass
-
instanceCodegen
public void instanceCodegen(CodegenInstanceAux instance, CodegenClassScope classScope, CodegenCtor factoryCtor, List<CodegenTypedParam> factoryMembers) -
processViewResultCodegen
public void processViewResultCodegen(CodegenClassScope classScope, CodegenMethod method, CodegenInstanceAux instance) -
processJoinResultCodegen
public void processJoinResultCodegen(CodegenClassScope classScope, CodegenMethod method, CodegenInstanceAux instance) -
getIteratorViewCodegen
public void getIteratorViewCodegen(CodegenClassScope classScope, CodegenMethod method, CodegenInstanceAux instance) -
getIteratorJoinCodegen
public void getIteratorJoinCodegen(CodegenClassScope classScope, CodegenMethod method, CodegenInstanceAux instance) -
processOutputLimitedViewCodegen
public void processOutputLimitedViewCodegen(CodegenClassScope classScope, CodegenMethod method, CodegenInstanceAux instance) -
processOutputLimitedJoinCodegen
public void processOutputLimitedJoinCodegen(CodegenClassScope classScope, CodegenMethod method, CodegenInstanceAux instance) -
applyViewResultCodegen
public void applyViewResultCodegen(CodegenClassScope classScope, CodegenMethod method, CodegenInstanceAux instance) -
applyJoinResultCodegen
public void applyJoinResultCodegen(CodegenClassScope classScope, CodegenMethod method, CodegenInstanceAux instance) -
continueOutputLimitedLastAllNonBufferedViewCodegen
public void continueOutputLimitedLastAllNonBufferedViewCodegen(CodegenClassScope classScope, CodegenMethod method, CodegenInstanceAux instance) -
continueOutputLimitedLastAllNonBufferedJoinCodegen
public void continueOutputLimitedLastAllNonBufferedJoinCodegen(CodegenClassScope classScope, CodegenMethod method, CodegenInstanceAux instance) -
processOutputLimitedLastAllNonBufferedViewCodegen
public void processOutputLimitedLastAllNonBufferedViewCodegen(CodegenClassScope classScope, CodegenMethod method, CodegenInstanceAux instance) -
processOutputLimitedLastAllNonBufferedJoinCodegen
public void processOutputLimitedLastAllNonBufferedJoinCodegen(CodegenClassScope classScope, CodegenMethod method, CodegenInstanceAux instance) -
acceptHelperVisitorCodegen
public void acceptHelperVisitorCodegen(CodegenClassScope classScope, CodegenMethod method, CodegenInstanceAux instance) -
stopMethodCodegen
public void stopMethodCodegen(CodegenClassScope classScope, CodegenMethod method, CodegenInstanceAux instance) -
clearMethodCodegen
-
getInstrumentedQName
-
getGenerateGroupKeySingle
-
getGenerateGroupKeyArrayView
-
getGenerateGroupKeyArrayJoin
-
getMultiKeyClassRef
-
getOutputFirstHelperSettings
-
getOutputAllHelperSettings
-
getOutputAllOptSettings
-
getOutputLastOptSettings
-
planStateSettings
public void planStateSettings(FabricCharge fabricCharge, StatementRawInfo statementRawInfo, ResultSetProcessorFlags flags, StatementCompileTimeServices services)
-