public static class ArchiveUtils.PartSpecInfo extends Object
| Modifier and Type | Field and Description |
|---|---|
List<FieldSchema> |
fields |
List<String> |
values |
| Modifier and Type | Method and Description |
|---|---|
static ArchiveUtils.PartSpecInfo |
create(Table tbl,
Map<String,String> partSpec)
Extract partial prefix specification from table and key-value map
|
org.apache.hadoop.fs.Path |
createPath(Table tbl)
Creates path where partitions matching prefix should lie in filesystem
|
String |
getName()
Generates name for prefix partial partition specification.
|
public List<FieldSchema> fields
public static ArchiveUtils.PartSpecInfo create(Table tbl, Map<String,String> partSpec) throws HiveException
tbl - table in which partition ispartSpec - specification of partitionHiveExceptionpublic org.apache.hadoop.fs.Path createPath(Table tbl) throws HiveException
tbl - table in which partition isHiveExceptionpublic String getName() throws HiveException
HiveExceptionCopyright © 2017 The Apache Software Foundation. All rights reserved.