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
public class GlueingPartitioningOperator extends AbstractPartitioningOperator
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.HandleContinuationResult
-
Nested 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
Constructors Constructor Description GlueingPartitioningOperator(Operator child, List<String> partitionColumns)
GlueingPartitioningOperator(Operator child, List<String> partitionColumns, Integer maxRowsMaterialized)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Operator.Receiver
createReceiver(Operator.Receiver delegate, AtomicReference<Iterator<RowsAndColumns>> iterHolder)
protected AbstractPartitioningOperator.HandleContinuationResult
handleContinuation(Operator.Receiver receiver, AbstractPartitioningOperator.Continuation cont)
-
Methods inherited from class org.apache.druid.query.operator.AbstractPartitioningOperator
goOrContinue, handleNonGoCases
-
-
-
-
Method Detail
-
handleContinuation
protected AbstractPartitioningOperator.HandleContinuationResult handleContinuation(Operator.Receiver receiver, AbstractPartitioningOperator.Continuation cont)
- Specified by:
handleContinuation
in classAbstractPartitioningOperator
-
createReceiver
protected Operator.Receiver createReceiver(Operator.Receiver delegate, AtomicReference<Iterator<RowsAndColumns>> iterHolder)
- Specified by:
createReceiver
in classAbstractPartitioningOperator
-
-