Class DFSFilePartitionLocation

java.lang.Object
org.apache.drill.exec.planner.SimplePartitionLocation
org.apache.drill.exec.planner.DFSFilePartitionLocation
All Implemented Interfaces:
PartitionLocation

public class DFSFilePartitionLocation extends SimplePartitionLocation
Defines a single partition in a DFS table.
  • Constructor Details

    • DFSFilePartitionLocation

      public DFSFilePartitionLocation(int max, org.apache.hadoop.fs.Path selectionRoot, org.apache.hadoop.fs.Path file, boolean hasDirsOnly)
  • Method Details

    • getPartitionValue

      public String getPartitionValue(int index)
      Returns the value for a give partition key
      Parameters:
      index - - Index of the partition key whose value is to be returned
      Returns:
      The value for a partition.
    • getEntirePartitionLocation

      public org.apache.hadoop.fs.Path getEntirePartitionLocation()
      Return the full location of this partition
      Returns:
      The partition location.
    • getDirs

      public String[] getDirs()