public class StreamingAggBatch extends AbstractRecordBatch<StreamingAggregate>
AbstractRecordBatch.BatchStateRecordBatch.IterOutcome| Modifier and Type | Field and Description |
|---|---|
protected StreamingAggregator |
aggregator |
protected RecordBatch |
incoming |
batchStatsContext, container, context, oContext, popConfig, state, stats, unionTypeEnabledMAX_BATCH_ROW_COUNT| Constructor and Description |
|---|
StreamingAggBatch(StreamingAggregate popConfig,
RecordBatch incoming,
FragmentContext context) |
cancel, checkContinue, close, 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 StreamingAggregator aggregator
protected final RecordBatch incoming
public StreamingAggBatch(StreamingAggregate popConfig, RecordBatch incoming, FragmentContext context) throws OutOfMemoryException
OutOfMemoryExceptionpublic int getRecordCount()
VectorAccessiblepublic VectorContainer getOutgoingContainer()
getOutgoingContainer in interface RecordBatchgetOutgoingContainer in class AbstractRecordBatch<StreamingAggregate>public void buildSchema()
buildSchema in class AbstractRecordBatch<StreamingAggregate>public RecordBatch.IterOutcome innerNext()
innerNext in class AbstractRecordBatch<StreamingAggregate>public void addComplexWriter(BaseWriter.ComplexWriter writer)
protected StreamingAggregator createAggregatorInternal()
protected List<NamedExpression> getValueExpressions()
protected List<NamedExpression> getKeyExpressions()
protected void setupIsSame(ClassGenerator<StreamingAggregator> cg, LogicalExpression[] keyExprs)
protected void setupIsSameApart(ClassGenerator<StreamingAggregator> cg, LogicalExpression[] keyExprs)
protected void addRecordValues(ClassGenerator<StreamingAggregator> cg, LogicalExpression[] valueExprs)
protected void outputRecordKeys(ClassGenerator<StreamingAggregator> cg, TypedFieldId[] keyOutputIds, LogicalExpression[] keyExprs)
protected void outputRecordKeysPrev(ClassGenerator<StreamingAggregator> cg, TypedFieldId[] keyOutputIds, LogicalExpression[] keyExprs)
protected void getIndex(ClassGenerator<StreamingAggregator> g)
protected void cancelIncoming()
cancelIncoming in class AbstractRecordBatch<StreamingAggregate>public void dump()
RecordBatchpublic void setMaxOutputRowCount(int maxOutputRowCount)
Copyright © 2022 The Apache Software Foundation. All rights reserved.