public class DFSDirPartitionLocation extends Object implements PartitionLocation
| Constructor and Description |
|---|
DFSDirPartitionLocation(String[] dirs,
Collection<PartitionLocation> subPartitions) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCompositePartitionPath()
Returns the path string of directory names only for composite partition
|
String |
getEntirePartitionLocation()
Returns the string representation of this partition.
|
List<SimplePartitionLocation> |
getPartitionLocationRecursive()
Returns the list of the non-composite partitions that this partition consists of.
|
String |
getPartitionValue(int index)
Returns the value of the 'index' partition column
|
boolean |
isCompositePartition()
Returns if this is a simple or composite partition.
|
public DFSDirPartitionLocation(String[] dirs, Collection<PartitionLocation> subPartitions)
public String getPartitionValue(int index)
PartitionLocationgetPartitionValue in interface PartitionLocationpublic String getEntirePartitionLocation()
PartitionLocationgetEntirePartitionLocation in interface PartitionLocationpublic List<SimplePartitionLocation> getPartitionLocationRecursive()
PartitionLocationgetPartitionLocationRecursive in interface PartitionLocationpublic boolean isCompositePartition()
PartitionLocationisCompositePartition in interface PartitionLocationpublic String getCompositePartitionPath()
PartitionLocationgetCompositePartitionPath in interface PartitionLocationCopyright © 2017 The Apache Software Foundation. All rights reserved.