Package org.apache.drill.exec.planner
Class SimplePartitionLocation
java.lang.Object
org.apache.drill.exec.planner.SimplePartitionLocation
- All Implemented Interfaces:
PartitionLocation
- Direct Known Subclasses:
DFSFilePartitionLocation
,HivePartitionLocation
,ParquetPartitionLocation
Abstract class for simple partition. It contains the
location of the entire partition and also stores the
value of the individual partition keys for this partition.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.hadoop.fs.Path
Returns the path string of directory names only for composite partitionReturns the list of the non-composite partitions that this partition consists of.boolean
Returns if this is a simple or composite partition.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.drill.exec.planner.PartitionLocation
getEntirePartitionLocation, getPartitionValue
-
Constructor Details
-
SimplePartitionLocation
public SimplePartitionLocation()
-
-
Method Details
-
isCompositePartition
public boolean isCompositePartition()Description copied from interface:PartitionLocation
Returns if this is a simple or composite partition.- Specified by:
isCompositePartition
in interfacePartitionLocation
-
getCompositePartitionPath
public org.apache.hadoop.fs.Path getCompositePartitionPath()Description copied from interface:PartitionLocation
Returns the path string of directory names only for composite partition- Specified by:
getCompositePartitionPath
in interfacePartitionLocation
-
getPartitionLocationRecursive
Description copied from interface:PartitionLocation
Returns the list of the non-composite partitions that this partition consists of.- Specified by:
getPartitionLocationRecursive
in interfacePartitionLocation
-