public class HashAggBatch extends AbstractRecordBatch<HashAggregate>
AbstractRecordBatch.BatchState
RecordBatch.IterOutcome
Modifier and Type | Field and Description |
---|---|
protected RecordBatch |
incoming |
batchStatsContext, container, context, oContext, popConfig, state, stats, unionTypeEnabled
MAX_BATCH_ROW_COUNT
Constructor and Description |
---|
HashAggBatch(HashAggregate popConfig,
RecordBatch incoming,
FragmentContext context) |
Modifier and Type | Method and Description |
---|---|
void |
addComplexWriter(BaseWriter.ComplexWriter writer) |
void |
buildSchema() |
protected void |
cancelIncoming() |
void |
close() |
protected HashAggregator |
createAggregatorInternal() |
void |
dump()
Perform dump of this batch's state to logs.
|
protected List<NamedExpression> |
getKeyExpressions() |
VectorContainer |
getOutgoingContainer() |
int |
getOutputRowCount() |
RecordBatchMemoryManager |
getRecordBatchMemoryManager() |
int |
getRecordCount()
Get the number of records.
|
protected List<NamedExpression> |
getValueExpressions() |
RecordBatch.IterOutcome |
innerNext() |
cancel, checkContinue, getContainer, getContext, getPopConfig, getRecordBatchStatsContext, getSchema, getSelectionVector2, getSelectionVector4, getValueAccessorById, getValueVectorId, getWritableBatch, isRecordBatchStatsLoggingEnabled, iterator, next, next, next, schemaChangeException, schemaChangeException
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
protected RecordBatch incoming
public HashAggBatch(HashAggregate popConfig, RecordBatch incoming, FragmentContext context)
public int getOutputRowCount()
public RecordBatchMemoryManager getRecordBatchMemoryManager()
public VectorContainer getOutgoingContainer()
getOutgoingContainer
in interface RecordBatch
getOutgoingContainer
in class AbstractRecordBatch<HashAggregate>
public int getRecordCount()
VectorAccessible
public void buildSchema()
buildSchema
in class AbstractRecordBatch<HashAggregate>
public RecordBatch.IterOutcome innerNext()
innerNext
in class AbstractRecordBatch<HashAggregate>
public void addComplexWriter(BaseWriter.ComplexWriter writer)
protected HashAggregator createAggregatorInternal()
protected List<NamedExpression> getKeyExpressions()
protected List<NamedExpression> getValueExpressions()
public void close()
close
in interface AutoCloseable
close
in class AbstractRecordBatch<HashAggregate>
protected void cancelIncoming()
cancelIncoming
in class AbstractRecordBatch<HashAggregate>
public void dump()
RecordBatch
Copyright © 1970 The Apache Software Foundation. All rights reserved.