Interface HashAggregator
- All Known Implementing Classes:
HashAggTemplate
public interface HashAggregator
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
static enum
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
adjustOutputCount
(int outputBatchSize, int oldRowWidth, int newRowWidth) boolean
boolean
void
cleanup()
doWork()
boolean
int
boolean
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)
-
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)
-