Package org.apache.drill.exec.planner
Class DFSFilePartitionLocation
java.lang.Object
org.apache.drill.exec.planner.SimplePartitionLocation
org.apache.drill.exec.planner.DFSFilePartitionLocation
- All Implemented Interfaces:
PartitionLocation
Defines a single partition in a DFS table.
-
Constructor Summary
ConstructorDescriptionDFSFilePartitionLocation
(int max, org.apache.hadoop.fs.Path selectionRoot, org.apache.hadoop.fs.Path file, boolean hasDirsOnly) -
Method Summary
Modifier and TypeMethodDescriptionString[]
getDirs()
org.apache.hadoop.fs.Path
Return the full location of this partitiongetPartitionValue
(int index) Returns the value for a give partition keyMethods inherited from class org.apache.drill.exec.planner.SimplePartitionLocation
getCompositePartitionPath, getPartitionLocationRecursive, isCompositePartition
-
Constructor Details
-
DFSFilePartitionLocation
public DFSFilePartitionLocation(int max, org.apache.hadoop.fs.Path selectionRoot, org.apache.hadoop.fs.Path file, boolean hasDirsOnly)
-
-
Method Details
-
getPartitionValue
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
-