public class DFSFilePartitionLocation extends SimplePartitionLocation
Constructor and Description |
---|
DFSFilePartitionLocation(int max,
org.apache.hadoop.fs.Path selectionRoot,
org.apache.hadoop.fs.Path file,
boolean hasDirsOnly) |
Modifier and Type | Method and Description |
---|---|
String[] |
getDirs() |
org.apache.hadoop.fs.Path |
getEntirePartitionLocation()
Return the full location of this partition
|
String |
getPartitionValue(int index)
Returns the value for a give partition key
|
getCompositePartitionPath, getPartitionLocationRecursive, isCompositePartition
public DFSFilePartitionLocation(int max, org.apache.hadoop.fs.Path selectionRoot, org.apache.hadoop.fs.Path file, boolean hasDirsOnly)
public String getPartitionValue(int index)
index
- - Index of the partition key whose value is to be returnedpublic org.apache.hadoop.fs.Path getEntirePartitionLocation()
public String[] getDirs()
Copyright © 1970 The Apache Software Foundation. All rights reserved.