public class HiveSkewProperties extends AbstractChildDBObject
AbstractDBObject.ChildSupport, AbstractDBObject.ListenerSupport| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TYPE
Type String for this object.
|
| Constructor and Description |
|---|
HiveSkewProperties() |
| Modifier and Type | Method and Description |
|---|---|
void |
addSkewedValue(HivePartition partition)
Adds a partition to partitions property (at the end).
|
DBObjectID[] |
getSkewedColumns()
Gets the ids of the columns, from the parent table, that the table is
skewed by.
|
HivePartition[] |
getSkewedValues()
Gets the values for the skewed columns that the table is skewed by.
|
java.lang.Boolean |
getStoredAsDirectories()
Gets whether the skewed values should be stored as directories.
|
java.lang.String |
getType()
Returns the type of this object.
|
void |
removeSkewedValue(HivePartition partition)
Removes a partition from the partitions property.
|
void |
setSkewedColumns(DBObjectID... skewCols)
Sets the ids of the columns, from the parent table, that the table is
skewed by.
|
void |
setSkewedValues(HivePartition... partitions)
Sets the values for the skewed columns that the table is skewed by.
|
void |
setStoredAsDirectories(java.lang.Boolean store)
Sets whether the skew values should be stored as directories.
|
setParentaddObjectListener, addObjectListener, addObjectListener, changeParent, compareToImpl, copyObject, copyTo, copyTo, copyTo, copyTo, copyToImpl, equals, equalsImpl, findOwnedObject, findOwnedObject, findOwnedObject, findOwnedObject, findParent, fireObjectUpdated, firePropertyChanged, getChildSupport, getChildSupport, getID, getName, getOwnedObjects, getOwnedObjects, getOwnedObjectsImpl, getParent, getProperties, getProperty, getProperty, getReferenceIDs, getReferenceIDsImpl, hashCode, includeOwnedObject, includesType, includesType, removeObjectListener, removeObjectListener, removeObjectListener, removeOwnedObject, removeThisAsParent, replaceReferenceIDs, setID, 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[] getSkewedColumns()
public void setSkewedColumns(DBObjectID... skewCols)
skewCols - column ids to skew bypublic HivePartition[] getSkewedValues()
public void setSkewedValues(HivePartition... partitions)
the - skew value informationpublic void addSkewedValue(HivePartition partition)
partition - the partition to addpublic void removeSkewedValue(HivePartition partition)
partition - the partition to removepublic java.lang.Boolean getStoredAsDirectories()
public void setStoredAsDirectories(java.lang.Boolean store)
store - true to store as directories (list bucketing).