public class HivePartitionHolder extends Object
Constructor and Description |
---|
HivePartitionHolder() |
HivePartitionHolder(Map<org.apache.hadoop.fs.Path,Integer> keyToIndexMapper,
List<List<String>> partitionValues) |
Modifier and Type | Method and Description |
---|---|
void |
add(org.apache.hadoop.fs.Path key,
List<String> values)
Checks if partition values already exist in holder.
|
List<String> |
get(org.apache.hadoop.fs.Path key)
Returns list of partition values stored in holder for the given key.
|
Map<org.apache.hadoop.fs.Path,Integer> |
getKeyToIndexMapper() |
List<List<String>> |
getPartitionValues() |
public HivePartitionHolder(Map<org.apache.hadoop.fs.Path,Integer> keyToIndexMapper, List<List<String>> partitionValues)
public HivePartitionHolder()
public void add(org.apache.hadoop.fs.Path key, List<String> values)
key
- mapper keyvalues
- partition valuesCopyright © 1970 The Apache Software Foundation. All rights reserved.