Interface HashAggregator
- All Known Implementing Classes:
HashAggTemplate
public interface HashAggregator
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumstatic enum -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidadjustOutputCount(int outputBatchSize, int oldRowWidth, int newRowWidth) booleanbooleanvoidcleanup()doWork()booleanintbooleanvoidsetup(HashAggregate hashAggrConfig, HashTableConfig htConfig, FragmentContext context, OperatorContext oContext, RecordBatch incoming, HashAggBatch outgoing, LogicalExpression[] valueExprs, List<TypedFieldId> valueFieldIds, ClassGenerator<?> cg, TypedFieldId[] keyFieldIds, VectorContainer outContainer, int extraRowBytes)
-
Field Details
-
TEMPLATE_DEFINITION
-
-
Method Details
-
setup
void setup(HashAggregate hashAggrConfig, HashTableConfig htConfig, FragmentContext context, OperatorContext oContext, RecordBatch incoming, HashAggBatch outgoing, LogicalExpression[] valueExprs, List<TypedFieldId> valueFieldIds, ClassGenerator<?> cg, TypedFieldId[] keyFieldIds, VectorContainer outContainer, int extraRowBytes) -
getOutcome
RecordBatch.IterOutcome getOutcome() -
getOutputCount
int getOutputCount() -
doWork
HashAggregator.AggOutcome doWork() -
cleanup
void cleanup() -
allFlushed
boolean allFlushed() -
buildComplete
boolean buildComplete() -
handlingEmit
boolean handlingEmit() -
outputCurrentBatch
HashAggregator.AggIterOutcome outputCurrentBatch() -
earlyOutput
boolean earlyOutput() -
getNewIncoming
RecordBatch getNewIncoming() -
adjustOutputCount
void adjustOutputCount(int outputBatchSize, int oldRowWidth, int newRowWidth)
-