Class OrderedPartitionRecordBatch

java.lang.Object
org.apache.drill.exec.record.AbstractRecordBatch<OrderedPartitionSender>
org.apache.drill.exec.physical.impl.orderedpartitioner.OrderedPartitionRecordBatch
All Implemented Interfaces:
AutoCloseable, Iterable<VectorWrapper<?>>, CloseableRecordBatch, RecordBatch, VectorAccessible

public class OrderedPartitionRecordBatch extends AbstractRecordBatch<OrderedPartitionSender>
Generates an ordered partition, rather than a random hash partition. This could be used to do a total order sort, for example. This operator reads in a few incoming record batches, samples these batches, and stores them in the distributed cache. The samples from all the parallel-running fragments are merged, and a partition-table is built and stored in the distributed cache for use by all fragments. A new column is added to the outgoing batch, whose value is determined by where each record falls in the partition table. This column is used by PartitionSenderRootExec to determine which bucket to assign each record to.

This code is not used.