Class ExprNodeUtilityAggregation
java.lang.Object
com.espertech.esper.common.internal.epl.expression.core.ExprNodeUtilityAggregation
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
addNonAggregatedProps
(ExprNode exprNode, ExprNodePropOrStreamSet set, EventType[] types, ContextPropertyRegistry contextPropertyRegistry) static ExprNodePropOrStreamSet
getAggregatedProperties
(List<ExprAggregateNode> aggregateNodes) static ExprNodePropOrStreamSet
getGroupByPropertiesValidateHasOne
(ExprNode[] groupByNodes) static ExprNodePropOrStreamSet
getNonAggregatedProps
(EventType[] types, List<ExprNode> exprNodes, ContextPropertyRegistry contextPropertyRegistry) static boolean
hasRemoveStreamForAggregations
(ExprNode child, StreamTypeService streamTypeService, boolean unidirectionalJoin) Returns true if all properties within the expression are witin data window'd streams.
-
Constructor Details
-
ExprNodeUtilityAggregation
public ExprNodeUtilityAggregation()
-
-
Method Details
-
hasRemoveStreamForAggregations
public static boolean hasRemoveStreamForAggregations(ExprNode child, StreamTypeService streamTypeService, boolean unidirectionalJoin) Returns true if all properties within the expression are witin data window'd streams.- Parameters:
child
- expression to interrogatestreamTypeService
- streamsunidirectionalJoin
- indicator unidirection join- Returns:
- indicator
-
getAggregatedProperties
public static ExprNodePropOrStreamSet getAggregatedProperties(List<ExprAggregateNode> aggregateNodes) -
addNonAggregatedProps
public static void addNonAggregatedProps(ExprNode exprNode, ExprNodePropOrStreamSet set, EventType[] types, ContextPropertyRegistry contextPropertyRegistry) -
getNonAggregatedProps
public static ExprNodePropOrStreamSet getNonAggregatedProps(EventType[] types, List<ExprNode> exprNodes, ContextPropertyRegistry contextPropertyRegistry) -
getGroupByPropertiesValidateHasOne
public static ExprNodePropOrStreamSet getGroupByPropertiesValidateHasOne(ExprNode[] groupByNodes) throws ExprValidationException - Throws:
ExprValidationException
-