|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.hive.ql.exec.ArchiveUtils.PartSpecInfo
public static class ArchiveUtils.PartSpecInfo
PartSpecInfo keeps fields and values extracted from partial partition info which is prefix of the full info.
| Field Summary | |
|---|---|
List<FieldSchema> |
fields
|
List<String> |
values
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public List<FieldSchema> fields
public List<String> values
| Method Detail |
|---|
public static ArchiveUtils.PartSpecInfo create(Table tbl,
Map<String,String> partSpec)
throws HiveException
tbl - table in which partition ispartSpec - specification of partition
HiveException
public org.apache.hadoop.fs.Path createPath(Table tbl)
throws HiveException
tbl - table in which partition is
HiveException
public String getName()
throws HiveException
HiveException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||