Package org.apache.druid.query.operator
Class GlueingPartitioningOperator
java.lang.Object
org.apache.druid.query.operator.AbstractPartitioningOperator
org.apache.druid.query.operator.GlueingPartitioningOperator
- All Implemented Interfaces:
Operator
This glueing partitioning operator is supposed to continuously receive data, and output batches of partitioned RACs.
It maintains a last-partitioning-boundary of the last-pushed-RAC, and attempts to glue it with the next RAC it receives,
ensuring that partitions are handled correctly, even across multiple RACs.
Additionally, this assumes that data has been pre-sorted according to the partitioning columns.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.druid.query.operator.AbstractPartitioningOperator
AbstractPartitioningOperator.AbstractReceiver, AbstractPartitioningOperator.Continuation, AbstractPartitioningOperator.HandleContinuationResultNested classes/interfaces inherited from interface org.apache.druid.query.operator.Operator
Operator.Receiver, Operator.Signal -
Field Summary
Fields inherited from class org.apache.druid.query.operator.AbstractPartitioningOperator
child, partitionColumns -
Constructor Summary
ConstructorsConstructorDescriptionGlueingPartitioningOperator(Operator child, List<String> partitionColumns) GlueingPartitioningOperator(Operator child, List<String> partitionColumns, Integer maxRowsMaterialized) -
Method Summary
Modifier and TypeMethodDescriptionprotected Operator.ReceivercreateReceiver(Operator.Receiver delegate, AtomicReference<Iterator<RowsAndColumns>> iterHolder) Methods inherited from class org.apache.druid.query.operator.AbstractPartitioningOperator
goOrContinue, handleNonGoCases
-
Constructor Details
-
GlueingPartitioningOperator
-
GlueingPartitioningOperator
-
-
Method Details
-
handleContinuation
protected AbstractPartitioningOperator.HandleContinuationResult handleContinuation(Operator.Receiver receiver, AbstractPartitioningOperator.Continuation cont) - Specified by:
handleContinuationin classAbstractPartitioningOperator
-
createReceiver
protected Operator.Receiver createReceiver(Operator.Receiver delegate, AtomicReference<Iterator<RowsAndColumns>> iterHolder) - Specified by:
createReceiverin classAbstractPartitioningOperator
-