Class MetadataStreamAggBatch
java.lang.Object
org.apache.drill.exec.record.AbstractRecordBatch<StreamingAggregate>
org.apache.drill.exec.physical.impl.aggregate.StreamingAggBatch
org.apache.drill.exec.physical.impl.metadata.MetadataStreamAggBatch
- All Implemented Interfaces:
AutoCloseable,Iterable<VectorWrapper<?>>,CloseableRecordBatch,RecordBatch,VectorAccessible
Operator which adds aggregate calls for all incoming columns to calculate
required metadata and produces aggregations. If aggregation is performed on
top of another aggregation, required aggregate calls for merging metadata
will be added.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.drill.exec.record.AbstractRecordBatch
AbstractRecordBatch.BatchStateNested classes/interfaces inherited from interface org.apache.drill.exec.record.RecordBatch
RecordBatch.IterOutcome -
Field Summary
Fields inherited from class org.apache.drill.exec.physical.impl.aggregate.StreamingAggBatch
aggregator, incomingFields inherited from class org.apache.drill.exec.record.AbstractRecordBatch
batchStatsContext, container, context, oContext, popConfig, state, stats, unionTypeEnabledFields inherited from interface org.apache.drill.exec.record.RecordBatch
MAX_BATCH_ROW_COUNT -
Constructor Summary
ConstructorsConstructorDescriptionMetadataStreamAggBatch(MetadataStreamAggPOP popConfig, RecordBatch incoming, FragmentContext context) -
Method Summary
Methods inherited from class org.apache.drill.exec.physical.impl.aggregate.StreamingAggBatch
addComplexWriter, addRecordValues, buildSchema, cancelIncoming, dump, getIndex, getKeyExpressions, getOutgoingContainer, getRecordCount, innerNext, outputRecordKeys, outputRecordKeysPrev, setMaxOutputRowCount, setupIsSame, setupIsSameApartMethods inherited from class org.apache.drill.exec.record.AbstractRecordBatch
cancel, checkContinue, close, getContainer, getContext, getPopConfig, getRecordBatchStatsContext, getSchema, getSelectionVector2, getSelectionVector4, getValueAccessorById, getValueVectorId, getWritableBatch, isRecordBatchStatsLoggingEnabled, iterator, next, next, next, schemaChangeException, schemaChangeExceptionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
MetadataStreamAggBatch
public MetadataStreamAggBatch(MetadataStreamAggPOP popConfig, RecordBatch incoming, FragmentContext context) throws OutOfMemoryException - Throws:
OutOfMemoryException
-
-
Method Details
-
createAggregatorInternal
- Overrides:
createAggregatorInternalin classStreamingAggBatch
-
getValueExpressions
- Overrides:
getValueExpressionsin classStreamingAggBatch
-