public class HivePartitionProperties extends AbstractChildBuildableObject
AbstractDBObject.ChildSupport, AbstractDBObject.ListenerSupport| Modifier and Type | Field and Description | 
|---|---|
static java.lang.String | 
TYPE
Type String for this object. 
 | 
| Constructor and Description | 
|---|
HivePartitionProperties()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addPartition(HivePartition partition)
Adds a partition to partitions property (at the end). 
 | 
DBObjectID[] | 
getPartitionColumns()
Gets the ids of the columns, from the parent table, that the table is
 partitioned by. 
 | 
HivePartition[] | 
getPartitions()
Gets the partitions objects that represent the partition metadata
 for the parent table. 
 | 
java.lang.String | 
getType()
Returns the type of this object. 
 | 
void | 
removePartition(HivePartition partition)
Removes a partition from the partitions property. 
 | 
void | 
setPartitionColumns(DBObjectID... partitionColumns)
Sets the ids of the columns, from the parent table, that the table is
 partitioned by. 
 | 
void | 
setPartitions(HivePartition... partitions)
Sets the child partitions objects that represet the partition metadata
 for the parent table. 
 | 
setParentcheckInit, checkInit, copyToImpl, getOwnedObjectsImpl, getProperties, getReferenceIDsImpl, needsInitialization, processPropertyChange, setIDaddObjectListener, addObjectListener, addObjectListener, changeParent, compareToImpl, copyObject, copyTo, copyTo, copyTo, copyTo, equals, equalsImpl, findOwnedObject, findOwnedObject, findOwnedObject, findOwnedObject, findParent, fireObjectUpdated, firePropertyChanged, getChildSupport, getChildSupport, getID, getName, getOwnedObjects, getOwnedObjects, getParent, getProperty, getProperty, getReferenceIDs, hashCode, includeOwnedObject, includesType, includesType, removeObjectListener, removeObjectListener, removeObjectListener, removeOwnedObject, removeThisAsParent, replaceReferenceIDs, setName, setProperties, setProperty, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetParentaddObjectListener, copyTo, copyTo, copyTo, equals, findOwnedObject, findOwnedObject, findOwnedObject, getID, getName, getOwnedObjects, getOwnedObjects, getProperties, getProperty, getProperty, getReferenceIDs, hashCode, removeObjectListener, removeOwnedObject, replaceReferenceIDs, setID, setName, setProperties, setPropertypublic static final java.lang.String TYPE
public java.lang.String getType()
DBObjectpublic DBObjectID[] getPartitionColumns()
public void setPartitionColumns(DBObjectID... partitionColumns)
partitionColumns - column ids to partition bypublic HivePartition[] getPartitions()
public void setPartitions(HivePartition... partitions)
partitions - the partitionspublic void addPartition(HivePartition partition)
partition - the partition to addpublic void removePartition(HivePartition partition)
partition - the partition to remove