Class AggregationAccessorFirstLastIndexWEvalForge
java.lang.Object
com.espertech.esper.common.internal.epl.agg.access.linear.AggregationAccessorFirstLastIndexWEvalForge
- All Implemented Interfaces:
AggregationAccessorForge
public class AggregationAccessorFirstLastIndexWEvalForge
extends Object
implements AggregationAccessorForge
Represents the aggregation accessor that provides the result for the "first" and "last" aggregation function with index.
-
Constructor Summary
ConstructorsConstructorDescriptionAggregationAccessorFirstLastIndexWEvalForge
(int streamNum, ExprForge childNode, ExprForge indexNode, int constant, boolean isFirst) Ctor. -
Method Summary
-
Constructor Details
-
AggregationAccessorFirstLastIndexWEvalForge
public AggregationAccessorFirstLastIndexWEvalForge(int streamNum, ExprForge childNode, ExprForge indexNode, int constant, boolean isFirst) Ctor.- Parameters:
streamNum
- stream idchildNode
- expressionindexNode
- index expressionconstant
- constant indexisFirst
- true if returning first, false for returning last
-
-
Method Details
-
getValueCodegen
- Specified by:
getValueCodegen
in interfaceAggregationAccessorForge
-
getEnumerableEventsCodegen
- Specified by:
getEnumerableEventsCodegen
in interfaceAggregationAccessorForge
-
getEnumerableEventCodegen
- Specified by:
getEnumerableEventCodegen
in interfaceAggregationAccessorForge
-
getEnumerableScalarCodegen
- Specified by:
getEnumerableScalarCodegen
in interfaceAggregationAccessorForge
-
getStreamNum
public int getStreamNum() -
getChildNode
-
getIndexNode
-
getConstant
public int getConstant() -
isFirst
public boolean isFirst()
-