public class AggregatorNth extends AggregatorMethodWDistinctWFilterWValueBase
Modifier and Type | Class and Description |
---|---|
static class |
AggregatorNth.AggregationNthState |
distinct, hasFilter, optionalDistinctValueType, optionalFilter
Constructor and Description |
---|
AggregatorNth(AggregationFactoryMethodNth factory,
int col,
CodegenCtor rowCtor,
CodegenMemberCol membersColumnized,
CodegenClassScope classScope,
Class optionalDistinctValueType,
boolean hasFilter,
ExprNode optionalFilter) |
Modifier and Type | Method and Description |
---|---|
protected void |
applyEvalEnterNonNull(CodegenExpressionRef value,
Class valueType,
CodegenMethod method,
ExprForgeCodegenSymbol symbols,
ExprForge[] forges,
CodegenClassScope classScope) |
protected void |
applyEvalEnterNonNull(CodegenExpressionRef valueExpr,
CodegenMethod method) |
protected void |
applyEvalLeaveNonNull(CodegenExpressionRef value,
Class valueType,
CodegenMethod method,
ExprForgeCodegenSymbol symbols,
ExprForge[] forges,
CodegenClassScope classScope) |
protected void |
applyEvalLeaveNonNull(CodegenMethod method) |
protected void |
applyTableEnterNonNull(CodegenExpressionRef value,
Class[] evaluationTypes,
CodegenMethod method,
CodegenClassScope classScope) |
protected void |
applyTableLeaveNonNull(CodegenExpressionRef value,
Class[] evaluationTypes,
CodegenMethod method,
CodegenClassScope classScope) |
protected void |
clearWODistinct(CodegenMethod method,
CodegenClassScope classScope) |
void |
getValueCodegen(CodegenMethod method,
CodegenClassScope classScope) |
static AggregatorNth.AggregationNthState |
read(DataInput input,
byte[] unitKey,
DataInputOutputSerde serdeNullable,
int sizeBuf)
NOTE: Code-generation-invoked method, method name and parameter order matters
|
protected void |
readWODistinct(CodegenExpressionRef row,
int col,
CodegenExpressionRef input,
CodegenExpressionRef unitKey,
CodegenMethod method,
CodegenClassScope classScope) |
static void |
write(DataOutput output,
byte[] unitKey,
EventBeanCollatedWriter writer,
DataInputOutputSerde serdeNullable,
Object[] circularBuffer,
long numDataPoints,
int currentBufferElementPointer,
int sizeBuf)
NOTE: Code-generation-invoked method, method name and parameter order matters
|
protected void |
writeWODistinct(CodegenExpressionRef row,
int col,
CodegenExpressionRef output,
CodegenExpressionRef unitKey,
CodegenExpressionRef writer,
CodegenMethod method,
CodegenClassScope classScope) |
applyEvalEnterFiltered, applyEvalLeaveFiltered, applyTableEnterFiltered, applyTableLeaveFiltered
applyEvalEnterCodegen, applyEvalLeaveCodegen, applyTableEnterCodegen, applyTableLeaveCodegen, clearCodegen, readCodegen, writeCodegen
public AggregatorNth(AggregationFactoryMethodNth factory, int col, CodegenCtor rowCtor, CodegenMemberCol membersColumnized, CodegenClassScope classScope, Class optionalDistinctValueType, boolean hasFilter, ExprNode optionalFilter)
protected void applyEvalEnterNonNull(CodegenExpressionRef value, Class valueType, CodegenMethod method, ExprForgeCodegenSymbol symbols, ExprForge[] forges, CodegenClassScope classScope)
applyEvalEnterNonNull
in class AggregatorMethodWDistinctWFilterWValueBase
protected void applyEvalLeaveNonNull(CodegenExpressionRef value, Class valueType, CodegenMethod method, ExprForgeCodegenSymbol symbols, ExprForge[] forges, CodegenClassScope classScope)
applyEvalLeaveNonNull
in class AggregatorMethodWDistinctWFilterWValueBase
protected void applyTableEnterNonNull(CodegenExpressionRef value, Class[] evaluationTypes, CodegenMethod method, CodegenClassScope classScope)
applyTableEnterNonNull
in class AggregatorMethodWDistinctWFilterWValueBase
protected void applyTableLeaveNonNull(CodegenExpressionRef value, Class[] evaluationTypes, CodegenMethod method, CodegenClassScope classScope)
applyTableLeaveNonNull
in class AggregatorMethodWDistinctWFilterWValueBase
protected void clearWODistinct(CodegenMethod method, CodegenClassScope classScope)
clearWODistinct
in class AggregatorMethodWDistinctWFilterBase
protected void writeWODistinct(CodegenExpressionRef row, int col, CodegenExpressionRef output, CodegenExpressionRef unitKey, CodegenExpressionRef writer, CodegenMethod method, CodegenClassScope classScope)
writeWODistinct
in class AggregatorMethodWDistinctWFilterBase
protected void readWODistinct(CodegenExpressionRef row, int col, CodegenExpressionRef input, CodegenExpressionRef unitKey, CodegenMethod method, CodegenClassScope classScope)
readWODistinct
in class AggregatorMethodWDistinctWFilterBase
public void getValueCodegen(CodegenMethod method, CodegenClassScope classScope)
public static AggregatorNth.AggregationNthState read(DataInput input, byte[] unitKey, DataInputOutputSerde serdeNullable, int sizeBuf) throws IOException
input
- inputunitKey
- unit keyserdeNullable
- bindingsizeBuf
- sizeIOException
- ioerrorpublic static void write(DataOutput output, byte[] unitKey, EventBeanCollatedWriter writer, DataInputOutputSerde serdeNullable, Object[] circularBuffer, long numDataPoints, int currentBufferElementPointer, int sizeBuf) throws IOException
output
- outputunitKey
- unit keywriter
- writerserdeNullable
- bindingcircularBuffer
- buffernumDataPoints
- pointscurrentBufferElementPointer
- pointersizeBuf
- sizeIOException
- io errorprotected void applyEvalEnterNonNull(CodegenExpressionRef valueExpr, CodegenMethod method)
protected void applyEvalLeaveNonNull(CodegenMethod method)
Copyright © 2005–2018. All rights reserved.