Class NaivePartitioningOperator

java.lang.Object
org.apache.druid.query.operator.AbstractPartitioningOperator
org.apache.druid.query.operator.NaivePartitioningOperator
All Implemented Interfaces:
Operator

public class NaivePartitioningOperator extends AbstractPartitioningOperator
This naive partitioning operator assumes that it's child operator always gives it RowsAndColumns objects that are a superset of the partitions that it needs to provide. It will never attempt to make a partition larger than a single RowsAndColumns object that it is given from its child Operator. A different operator should be used if that is an important bit of functionality to have.

Additionally, this assumes that data has been pre-sorted according to the partitioning columns. If it is given data that has not been pre-sorted, an exception is expected to be thrown.