Package | Description |
---|---|
com.espertech.esper.epl.agg.service |
Aggregation services.
|
com.espertech.esper.epl.expression |
This package contains the EPL expression nodes that represent all expressions such as used in select clauses, group-by and having clauses, or order-by clauses
|
Modifier and Type | Method and Description |
---|---|
ExprAggregateNode |
AggregationServiceAggExpressionDesc.getAggregationNode()
Returns the expression.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<ExprAggregateNode> |
AggregationServiceAggExpressionDesc.getEquivalentNodes()
Returns the equivalent aggregation functions.
|
Modifier and Type | Method and Description |
---|---|
void |
AggregationServiceAggExpressionDesc.addEquivalent(ExprAggregateNode aggNodeToAdd)
Add an equivalent aggregation function node
|
Modifier and Type | Method and Description |
---|---|
static AggregationServiceFactoryDesc |
AggregationServiceFactoryFactory.getService(java.util.List<ExprAggregateNode> selectAggregateExprNodes,
ExprNode[] groupByNodes,
java.util.List<ExprAggregateNode> havingAggregateExprNodes,
java.util.List<ExprAggregateNode> orderByAggregateExprNodes,
java.util.List<ExprAggregateNodeGroupKey> groupKeyExpressions,
boolean hasGroupByClause,
ExprEvaluatorContext exprEvaluatorContext,
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)
Returns an instance to handle the aggregation required by the aggregation expression nodes, depending on
whether there are any group-by nodes.
|
static AggregationServiceFactoryDesc |
AggregationServiceFactoryFactory.getService(java.util.List<ExprAggregateNode> selectAggregateExprNodes,
ExprNode[] groupByNodes,
java.util.List<ExprAggregateNode> havingAggregateExprNodes,
java.util.List<ExprAggregateNode> orderByAggregateExprNodes,
java.util.List<ExprAggregateNodeGroupKey> groupKeyExpressions,
boolean hasGroupByClause,
ExprEvaluatorContext exprEvaluatorContext,
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)
Returns an instance to handle the aggregation required by the aggregation expression nodes, depending on
whether there are any group-by nodes.
|
static AggregationServiceFactoryDesc |
AggregationServiceFactoryFactory.getService(java.util.List<ExprAggregateNode> selectAggregateExprNodes,
ExprNode[] groupByNodes,
java.util.List<ExprAggregateNode> havingAggregateExprNodes,
java.util.List<ExprAggregateNode> orderByAggregateExprNodes,
java.util.List<ExprAggregateNodeGroupKey> groupKeyExpressions,
boolean hasGroupByClause,
ExprEvaluatorContext exprEvaluatorContext,
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)
Returns an instance to handle the aggregation required by the aggregation expression nodes, depending on
whether there are any group-by nodes.
|
static AggregationServiceMatchRecognizeFactoryDesc |
AggregationServiceFactoryFactory.getServiceMatchRecognize(int numStreams,
java.util.Map<java.lang.Integer,java.util.List<ExprAggregateNode>> measureExprNodesPerStream,
ExprEvaluatorContext exprEvaluatorContext)
Produces an aggregation service for use with match-recognice.
|
Constructor and Description |
---|
AggregationServiceAggExpressionDesc(ExprAggregateNode aggregationNode,
AggregationMethodFactory factory)
Ctor.
|
Modifier and Type | Class and Description |
---|---|
class |
ExprAggMultiFunctionLinearAccessNode |
class |
ExprAggMultiFunctionSortedMinMaxByNode |
class |
ExprAggregateNodeBase
Base expression node that represents an aggregation function such as 'sum' or 'count'.
|
class |
ExprAvedevNode
Represents the avedev(...) aggregate function is an expression tree.
|
class |
ExprAvgNode
Represents the avg(...) aggregate function is an expression tree.
|
class |
ExprCountNode
Represents the count(...) and count(*) and count(distinct ...) aggregate function is an expression tree.
|
class |
ExprFirstEverNode
Represents the "firstever" aggregate function is an expression tree.
|
class |
ExprLastEverNode
Represents the "lastever" aggregate function is an expression tree.
|
class |
ExprLeavingAggNode
Represents the leaving() aggregate function is an expression tree.
|
class |
ExprMedianNode
Represents the median(...) aggregate function is an expression tree.
|
class |
ExprMinMaxAggrNode
Represents the min/max(distinct? ...) aggregate function is an expression tree.
|
class |
ExprNthAggNode
Represents the nth(...) and aggregate function is an expression tree.
|
class |
ExprPlugInAggFunctionFactoryNode
Represents a custom aggregation function in an expresson tree.
|
class |
ExprPlugInAggMultiFunctionNode
Represents a custom aggregation function in an expresson tree.
|
class |
ExprRateAggNode
Represents the rate(...) and aggregate function is an expression tree.
|
class |
ExprStddevNode
Represents the stddev(...) aggregate function is an expression tree.
|
class |
ExprSumNode
Represents the sum(...) aggregate function is an expression tree.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ExprSumNode.equalsNodeAggregate(ExprAggregateNode node) |
boolean |
ExprStddevNode.equalsNodeAggregate(ExprAggregateNode node) |
boolean |
ExprRateAggNode.equalsNodeAggregate(ExprAggregateNode node) |
boolean |
ExprPlugInAggMultiFunctionNode.equalsNodeAggregate(ExprAggregateNode node) |
boolean |
ExprPlugInAggFunctionFactoryNode.equalsNodeAggregate(ExprAggregateNode node) |
boolean |
ExprNthAggNode.equalsNodeAggregate(ExprAggregateNode node) |
boolean |
ExprMinMaxAggrNode.equalsNodeAggregate(ExprAggregateNode node) |
boolean |
ExprLeavingAggNode.equalsNodeAggregate(ExprAggregateNode node) |
boolean |
ExprLastEverNode.equalsNodeAggregate(ExprAggregateNode node) |
boolean |
ExprFirstEverNode.equalsNodeAggregate(ExprAggregateNode node) |
boolean |
ExprCountNode.equalsNodeAggregate(ExprAggregateNode node) |
boolean |
ExprAvgNode.equalsNodeAggregate(ExprAggregateNode node) |
boolean |
ExprAvedevNode.equalsNodeAggregate(ExprAggregateNode node) |
Modifier and Type | Method and Description |
---|---|
static java.util.Set<Pair<java.lang.Integer,java.lang.String>> |
ExprNodeUtility.getAggregatedProperties(java.util.List<ExprAggregateNode> aggregateNodes) |
static void |
ExprAggregateNodeUtil.getAggregatesBottomUp(ExprNode[][] nodes,
java.util.List<ExprAggregateNode> aggregateNodes) |
static void |
ExprAggregateNodeUtil.getAggregatesBottomUp(ExprNode[] nodes,
java.util.List<ExprAggregateNode> aggregateNodes) |
static void |
ExprAggregateNodeUtil.getAggregatesBottomUp(ExprNode topNode,
java.util.List<ExprAggregateNode> aggregateNodes)
Populates into the supplied list all aggregation functions within this expression, if any.
|