public class AggregationServiceFactoryFactory
extends java.lang.Object
Consolidates aggregation nodes such that result futures point to a single instance and no re-evaluation of the same result occurs.
Constructor and Description |
---|
AggregationServiceFactoryFactory() |
Modifier and Type | Method and Description |
---|---|
static ExprValidationException |
getRollupReclaimEx() |
static AggregationServiceForgeDesc |
getService(java.util.List<ExprAggregateNode> selectAggregateExprNodes,
java.util.Map<ExprNode,java.lang.String> selectClauseNamedNodes,
java.util.List<ExprDeclaredNode> declaredExpressions,
ExprNode[] groupByNodes,
java.util.List<ExprAggregateNode> havingAggregateExprNodes,
java.util.List<ExprAggregateNode> orderByAggregateExprNodes,
java.util.List<ExprAggregateNodeGroupKey> groupKeyExpressions,
boolean hasGroupByClause,
java.lang.annotation.Annotation[] annotations,
VariableService variableService,
boolean isJoin,
boolean isDisallowNoReclaim,
ExprNode whereClause,
ExprNode havingClause,
AggregationServiceFactoryService factoryService,
EventType[] typesPerStream,
AggregationGroupByRollupDesc groupByRollupDesc,
java.lang.String optionalContextName,
IntoTableSpec intoTableSpec,
TableService tableService,
boolean isUnidirectional,
boolean isFireAndForget,
boolean isOnSelect,
EngineImportService engineImportService,
java.lang.String statementName,
TimeAbacus timeAbacus) |
static AggregationServiceMatchRecognizeFactoryDesc |
getServiceMatchRecognize(int numStreams,
java.util.Map<java.lang.Integer,java.util.List<ExprAggregateNode>> measureExprNodesPerStream,
EventType[] typesPerStream,
EngineImportService engineImportService,
java.lang.String statementName)
Produces an aggregation service for use with match-recognice.
|
public static AggregationServiceMatchRecognizeFactoryDesc getServiceMatchRecognize(int numStreams, java.util.Map<java.lang.Integer,java.util.List<ExprAggregateNode>> measureExprNodesPerStream, EventType[] typesPerStream, EngineImportService engineImportService, java.lang.String statementName) throws ExprValidationException
numStreams
- number of streamsmeasureExprNodesPerStream
- measure nodestypesPerStream
- type informationstatementName
- statement nameengineImportService
- engine importsExprValidationException
- for validation errorspublic static AggregationServiceForgeDesc getService(java.util.List<ExprAggregateNode> selectAggregateExprNodes, java.util.Map<ExprNode,java.lang.String> selectClauseNamedNodes, java.util.List<ExprDeclaredNode> declaredExpressions, ExprNode[] groupByNodes, java.util.List<ExprAggregateNode> havingAggregateExprNodes, java.util.List<ExprAggregateNode> orderByAggregateExprNodes, java.util.List<ExprAggregateNodeGroupKey> groupKeyExpressions, boolean hasGroupByClause, java.lang.annotation.Annotation[] annotations, VariableService variableService, boolean isJoin, boolean isDisallowNoReclaim, ExprNode whereClause, ExprNode havingClause, AggregationServiceFactoryService factoryService, EventType[] typesPerStream, AggregationGroupByRollupDesc groupByRollupDesc, java.lang.String optionalContextName, IntoTableSpec intoTableSpec, TableService tableService, boolean isUnidirectional, boolean isFireAndForget, boolean isOnSelect, EngineImportService engineImportService, java.lang.String statementName, TimeAbacus timeAbacus) throws ExprValidationException
ExprValidationException
public static ExprValidationException getRollupReclaimEx()