public class AggregationAccessorFirstLastIndexWEvalForge extends Object implements AggregationAccessorForge
Constructor and Description |
---|
AggregationAccessorFirstLastIndexWEvalForge(int streamNum,
ExprForge childNode,
ExprForge indexNode,
int constant,
boolean isFirst)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
ExprForge |
getChildNode() |
int |
getConstant() |
void |
getEnumerableEventCodegen(AggregationAccessorForgeGetCodegenContext context) |
void |
getEnumerableEventsCodegen(AggregationAccessorForgeGetCodegenContext context) |
void |
getEnumerableScalarCodegen(AggregationAccessorForgeGetCodegenContext context) |
ExprForge |
getIndexNode() |
int |
getStreamNum() |
void |
getValueCodegen(AggregationAccessorForgeGetCodegenContext context) |
boolean |
isFirst() |
public AggregationAccessorFirstLastIndexWEvalForge(int streamNum, ExprForge childNode, ExprForge indexNode, int constant, boolean isFirst)
streamNum
- stream idchildNode
- expressionindexNode
- index expressionconstant
- constant indexisFirst
- true if returning first, false for returning lastpublic void getValueCodegen(AggregationAccessorForgeGetCodegenContext context)
getValueCodegen
in interface AggregationAccessorForge
public void getEnumerableEventsCodegen(AggregationAccessorForgeGetCodegenContext context)
getEnumerableEventsCodegen
in interface AggregationAccessorForge
public void getEnumerableEventCodegen(AggregationAccessorForgeGetCodegenContext context)
getEnumerableEventCodegen
in interface AggregationAccessorForge
public void getEnumerableScalarCodegen(AggregationAccessorForgeGetCodegenContext context)
getEnumerableScalarCodegen
in interface AggregationAccessorForge
public int getStreamNum()
public ExprForge getChildNode()
public ExprForge getIndexNode()
public int getConstant()
public boolean isFirst()
Copyright © 2005–2018. All rights reserved.