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