Class ResultSetProcessorRowPerGroupForge
java.lang.Object
com.espertech.esper.common.internal.epl.resultset.core.ResultSetProcessorFactoryForgeBase
com.espertech.esper.common.internal.epl.resultset.rowpergroup.ResultSetProcessorRowPerGroupForge
- All Implemented Interfaces:
ResultSetProcessorFactoryForge
Result set processor prototype for the fully-grouped case:
there is a group-by and all non-aggregation event properties in the select clause are 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
ConstructorDescriptionResultSetProcessorRowPerGroupForge
(EventType resultEventType, EventType[] typesPerStream, ExprNode[] groupKeyNodeExpressions, ExprForge optionalHavingNode, boolean isSelectRStream, boolean isUnidirectional, OutputLimitSpec outputLimitSpec, boolean isSorting, boolean isHistoricalOnly, ResultSetProcessorOutputConditionType outputConditionType, OutputConditionPolledFactoryForge optionalOutputFirstConditionFactory, MultiKeyClassRef multiKeyClassRef, boolean unboundedProcessor) -
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
-
ResultSetProcessorRowPerGroupForge
public ResultSetProcessorRowPerGroupForge(EventType resultEventType, EventType[] typesPerStream, ExprNode[] groupKeyNodeExpressions, ExprForge optionalHavingNode, boolean isSelectRStream, boolean isUnidirectional, OutputLimitSpec outputLimitSpec, boolean isSorting, boolean isHistoricalOnly, ResultSetProcessorOutputConditionType outputConditionType, OutputConditionPolledFactoryForge optionalOutputFirstConditionFactory, MultiKeyClassRef multiKeyClassRef, boolean unboundedProcessor)
-
-
Method Details
-
getOptionalHavingNode
-
isSorting
public boolean isSorting() -
isSelectRStream
public boolean isSelectRStream() -
isUnidirectional
public boolean isUnidirectional() -
getOutputLimitSpec
-
getGroupKeyNodeExpressions
-
isHistoricalOnly
public boolean isHistoricalOnly() -
isOutputLast
public boolean isOutputLast() -
isOutputAll
public boolean isOutputAll() -
isOutputFirst
public boolean isOutputFirst() -
getOptionalOutputFirstConditionFactory
-
getOutputConditionType
-
getNumStreams
public int getNumStreams() -
getInterfaceClass
-
getMultiKeyClassRef
-
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
-
getGroupKeyTypes
-
getInstrumentedQName
-
getGenerateGroupKeySingle
-
getGenerateGroupKeyArrayView
-
getGenerateGroupKeyArrayJoin
-
getOutputFirstHelperSettings
-
getOutputAllHelperSettings
-
getOutputAllOptHelperSettings
-
getOutputLastOptHelperSettings
-
planStateSettings
public void planStateSettings(FabricCharge fabricCharge, StatementRawInfo statementRawInfo, ResultSetProcessorFlags flags, StatementCompileTimeServices services)
-