Class AbstractPartitionDescriptor

java.lang.Object
org.apache.drill.exec.planner.AbstractPartitionDescriptor
All Implemented Interfaces:
Iterable<List<PartitionLocation>>, PartitionDescriptor
Direct Known Subclasses:
FileSystemPartitionDescriptor, HivePartitionDescriptor, ParquetPartitionDescriptor

public abstract class AbstractPartitionDescriptor extends Object implements PartitionDescriptor, Iterable<List<PartitionLocation>>
Abstract base class for file system based partition descriptors and Hive partition descriptors.
  • Field Details

    • locationSuperList

      protected List<List<PartitionLocation>> locationSuperList
      A sequence of sublists of partition locations combined into a single super list. The size of each sublist is at most PartitionDescriptor.PARTITION_BATCH_SIZE For example if the size is 3, the complete list could be: {(a, b, c), {d, e, f), (g, h)}
    • sublistsCreated

      protected boolean sublistsCreated
      Indicates if the sublists of the partition locations has been created
  • Constructor Details

    • AbstractPartitionDescriptor

      public AbstractPartitionDescriptor()
  • Method Details