org.apache.hadoop.hive.ql.metadata
Class DummyPartition
java.lang.Object
org.apache.hadoop.hive.ql.metadata.Partition
org.apache.hadoop.hive.ql.metadata.DummyPartition
- All Implemented Interfaces:
- Serializable
public class DummyPartition
- extends Partition
A Hive Table Partition: is a fundamental storage unit within a Table. Currently, Hive does not support
hierarchical partitions - For eg: if partition ds=1, hr=1 exists, there is no way to access ds=1
Hierarchical partitions are needed in some cases, for eg. locking. For now, create a dummy partition to
satisfy this
- See Also:
- Serialized Form
Methods inherited from class org.apache.hadoop.hive.ql.metadata.Partition |
canDrop, canWrite, getBucketCols, getBucketCount, getBucketPath, getCols, getDataLocation, getDeserializer, getInputFormatClass, getLastAccessTime, getLocation, getOutputFormatClass, getParameters, getPartitionPath, getPath, getPath, getProtectMode, getSchema, getSortColNames, getSortCols, getSpec, getTable, getTPartition, getValues, isOffline, setInputFormatClass, setLastAccessTime, setLocation, setOutputFormatClass, setProtectMode, setTable, setTPartition, toString |
DummyPartition
public DummyPartition()
DummyPartition
public DummyPartition(Table tbl,
String name)
throws HiveException
- Throws:
HiveException
getName
public String getName()
- Overrides:
getName
in class Partition
setName
public void setName(String name)
getCompleteName
public String getCompleteName()
- Overrides:
getCompleteName
in class Partition
- Returns:
- include the db name
Copyright © 2011 The Apache Software Foundation