public class HashAggBatch extends AbstractRecordBatch<HashAggregate>
AbstractRecordBatch.BatchStateRecordBatch.IterOutcome| Modifier and Type | Field and Description |
|---|---|
protected RecordBatch |
incoming |
batchStatsContext, container, context, oContext, popConfig, state, stats, unionTypeEnabledMAX_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, schemaChangeExceptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorprotected RecordBatch incoming
public HashAggBatch(HashAggregate popConfig, RecordBatch incoming, FragmentContext context)
public int getOutputRowCount()
public RecordBatchMemoryManager getRecordBatchMemoryManager()
public VectorContainer getOutgoingContainer()
getOutgoingContainer in interface RecordBatchgetOutgoingContainer in class AbstractRecordBatch<HashAggregate>public int getRecordCount()
VectorAccessiblepublic 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 AutoCloseableclose in class AbstractRecordBatch<HashAggregate>protected void cancelIncoming()
cancelIncoming in class AbstractRecordBatch<HashAggregate>public void dump()
RecordBatchCopyright © 2022 The Apache Software Foundation. All rights reserved.