public class OracleIndexPartitions extends AbstractChildBuildableObject
| Modifier and Type | Class and Description |
|---|---|
static class |
OracleIndexPartitions.PartitionType |
AbstractDBObject.ChildSupport, AbstractDBObject.ListenerSupport| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
KEY |
static java.lang.String |
TYPE |
| Constructor and Description |
|---|
OracleIndexPartitions() |
OracleIndexPartitions(OracleIndexPartitions.PartitionType partitionType) |
| Modifier and Type | Method and Description |
|---|---|
void |
addGlobalPartitionColumn(DBObjectID partitionColumn) |
void |
addPartition(IndexPartition partition) |
void |
addPartition(int index,
IndexPartition partition)
Adds one partition at the given index.
|
void |
addTablespace(java.lang.String tablespace)
Deprecated.
Use addHashQuantityTablespaceID
|
java.lang.Integer |
getGlobalHashQuantity()
Returns the GLOBAL HASH quantity.
|
DBObjectID[] |
getGlobalPartitionColumns() |
DBObjectID[] |
getHashQuantityTablespaceIds()
Return an array of a HASH_QUANTITY_TABLESPACE.
|
DBObjectID |
getLocalTablePartitionModelID()
Get the id of the partitions model from the parent table for a table
that is partitioned by REFERENCE.
|
IndexPartition[] |
getPartitions()
Returns an array of IndexPartition objects.
|
OracleIndexPartitions.PartitionType |
getPartitionType() |
java.lang.String[] |
getTablespaces()
Deprecated.
Use getHashQuantityTablespaceIDs
|
java.lang.String |
getType()
Returns the type of this object.
|
static Column[] |
getValidGlobalPartitionColumns(Index index)
Returns an array of columns that are eligible for global index partitioning.
|
void |
removeGlobalPartitionColumn(DBObjectID partitionColumn) |
void |
removePartition(IndexPartition partition) |
void |
setGlobalHashQuantity(java.lang.Integer globalHashQuantity)
Set the GLOBAL HASH quantity.
|
void |
setGlobalPartitionColumns(DBObjectID[] partitionColumns) |
void |
setHashQuantityTablespaceIds(DBObjectID[] tablespaceIDs)
Sets the tablespaces for the hash partitioning
|
void |
setLocalTablePartitionModelID(DBObjectID otpId)
Set the id of the partitions model from the parent table for a table
that is partitioned by REFERENCE.
|
void |
setPartitions(IndexPartition[] partitions) |
void |
setPartitionType(OracleIndexPartitions.PartitionType partitionType) |
void |
setTablespaces(java.lang.String[] tablespaces)
Deprecated.
Use setHashQuantityTablespaceIDs
|
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 KEY
public static final java.lang.String TYPE
public OracleIndexPartitions()
public OracleIndexPartitions(OracleIndexPartitions.PartitionType partitionType)
public java.lang.String getType()
DBObjectpublic OracleIndexPartitions.PartitionType getPartitionType()
public IndexPartition[] getPartitions()
public DBObjectID[] getGlobalPartitionColumns()
@Deprecated public java.lang.String[] getTablespaces()
public DBObjectID[] getHashQuantityTablespaceIds()
public java.lang.Integer getGlobalHashQuantity()
public void setPartitionType(OracleIndexPartitions.PartitionType partitionType)
public void setGlobalPartitionColumns(DBObjectID[] partitionColumns)
public void addGlobalPartitionColumn(DBObjectID partitionColumn)
public void removeGlobalPartitionColumn(DBObjectID partitionColumn)
public void setPartitions(IndexPartition[] partitions)
public void addPartition(IndexPartition partition)
public void addPartition(int index,
IndexPartition partition)
index - the index to add the new partition atcol - the new partition to addpublic void removePartition(IndexPartition partition)
@Deprecated public void setTablespaces(java.lang.String[] tablespaces)
tablespaces - public void setHashQuantityTablespaceIds(DBObjectID[] tablespaceIDs)
tablespaceIDs - @Deprecated public void addTablespace(java.lang.String tablespace)
tablespaces - public void setGlobalHashQuantity(java.lang.Integer globalHashQuantity)
globalHashQuantity - public static Column[] getValidGlobalPartitionColumns(Index index)
index - public void setLocalTablePartitionModelID(DBObjectID otpId)
otp - id of the OracleTablePartitions model in the referenced tablepublic DBObjectID getLocalTablePartitionModelID()