|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.epl.agg.service.AggregationServiceFactoryFactory
public class AggregationServiceFactoryFactory
Factory for aggregation service instances.
Consolidates aggregation nodes such that result futures point to a single instance and no re-evaluation of the same result occurs.
Constructor Summary | |
---|---|
AggregationServiceFactoryFactory()
|
Method Summary | |
---|---|
static ExprValidationException |
getRollupReclaimEx()
|
static AggregationServiceFactoryDesc |
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,
MethodResolutionService methodResolutionService,
AggregationGroupByRollupDesc groupByRollupDesc,
java.lang.String optionalContextName,
IntoTableSpec intoTableSpec,
TableService tableService)
Returns an instance to handle the aggregation required by the aggregation expression nodes, depending on whether there are any group-by nodes. |
static AggregationServiceMatchRecognizeFactoryDesc |
getServiceMatchRecognize(int numStreams,
java.util.Map<java.lang.Integer,java.util.List<ExprAggregateNode>> measureExprNodesPerStream,
EventType[] typesPerStream)
Produces an aggregation service for use with match-recognice. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AggregationServiceFactoryFactory()
Method Detail |
---|
public static AggregationServiceMatchRecognizeFactoryDesc getServiceMatchRecognize(int numStreams, java.util.Map<java.lang.Integer,java.util.List<ExprAggregateNode>> measureExprNodesPerStream, EventType[] typesPerStream) throws ExprValidationException
numStreams
- number of streamsmeasureExprNodesPerStream
- measure nodes
ExprValidationException
public static AggregationServiceFactoryDesc 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, MethodResolutionService methodResolutionService, AggregationGroupByRollupDesc groupByRollupDesc, java.lang.String optionalContextName, IntoTableSpec intoTableSpec, TableService tableService) throws ExprValidationException
selectAggregateExprNodes
- - aggregation nodes extracted out of the select expressionhavingAggregateExprNodes
- - aggregation nodes extracted out of the select expressionorderByAggregateExprNodes
- - aggregation nodes extracted out of the select expressionhasGroupByClause
- - indicator on whethere there is group-by required, or group-allannotations
- - statement annotationsvariableService
- - variableisJoin
- - true for joinswhereClause
- the where-clause function if anyhavingClause
- the having-clause function if any
ExprValidationException
- if validation failspublic static ExprValidationException getRollupReclaimEx()
|
© 2006-2015 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |