|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1) E13403-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.javatools.db.AbstractDBObject oracle.javatools.db.AbstractChildDBObject oracle.javatools.db.ora.OracleIndexPartitions
public class OracleIndexPartitions
Model of the partitioning scheme on an Oracle index.
Nested Class Summary | |
---|---|
static class |
OracleIndexPartitions.PartitionType
|
Nested classes/interfaces inherited from class oracle.javatools.db.AbstractDBObject |
---|
AbstractDBObject.ChildSupport |
Field Summary | |
---|---|
static java.lang.String |
KEY
|
static java.lang.String |
TYPE
|
Fields inherited from interface oracle.javatools.db.DBObject |
---|
COMMENT |
Constructor Summary | |
---|---|
OracleIndexPartitions()
|
|
OracleIndexPartitions(OracleIndexPartitions.PartitionType partitionType)
|
Method Summary | |
---|---|
void |
addGlobalPartitionColumn(DBObjectID partitionColumn)
|
void |
addPartition(IndexPartition partition)
|
void |
addTablespace(java.lang.String tablespace)
|
DBObject |
copyTo(DBObject target,
DBObject copyParent,
IDPolicy idPolicy)
Internal copy method used by the API to perform copy operations. |
protected void |
copyToImpl(OracleIndexPartitions target,
DBObject copyParent,
IDPolicy idPolicy)
|
boolean |
equals(java.lang.Object target)
|
protected boolean |
equalsImpl(OracleIndexPartitions target)
|
java.lang.Integer |
getGlobalHashQuantity()
Returns the GLOBAL HASH quantity. |
DBObjectID[] |
getGlobalPartitionColumns()
|
IndexPartition[] |
getPartitions()
Returns an array of IndexPartition objects. |
OracleIndexPartitions.PartitionType |
getPartitionType()
|
protected void |
getReferenceIDsImpl(java.util.Collection<DBObjectID> refs)
Used by the final getReferenceID() implementation. |
java.lang.String[] |
getTablespaces()
Returns an array of tablespace names |
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)
|
boolean |
replaceReferenceIDs(java.util.Map<DBObjectID,DBObjectID> idMap)
Override in subclasses to replace reference IDs as appropriate. |
void |
setGlobalHashQuantity(java.lang.Integer hashQuantity)
Set the GLOBAL HASH quantity. |
void |
setGlobalPartitionColumns(DBObjectID[] partitionColumns)
|
void |
setPartitions(IndexPartition[] partitions)
|
void |
setPartitionType(OracleIndexPartitions.PartitionType partitionType)
|
void |
setTablespaces(java.lang.String[] tablespaces)
|
Methods inherited from class oracle.javatools.db.AbstractChildDBObject |
---|
copyToImpl, findParent, getParent, setParent |
Methods inherited from class oracle.javatools.db.AbstractDBObject |
---|
changeParent, compareToImpl, copyObject, copyTo, copyTo, copyTo, copyToImpl, equalsImpl, findOwnedObject, findOwnedObject, findOwnedObject, getChildSupport, getID, getName, getOwnedObjects, getOwnedObjects, getOwnedObjectsImpl, getProperties, getProperty, getProperty, getReferenceIDs, hashCode, includeOwnedObject, includesType, includesType, removeThisAsParent, setID, setName, setProperties, setProperty, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface oracle.javatools.db.DBObject |
---|
copyTo, copyTo, copyTo, findOwnedObject, findOwnedObject, getID, getName, getOwnedObjects, getOwnedObjects, getReferenceIDs, setID, setName |
Methods inherited from interface oracle.javatools.util.DynamicPropertySet |
---|
getProperties, getProperty, getProperty, setProperties, setProperty |
Field Detail |
---|
public static final java.lang.String KEY
public static final java.lang.String TYPE
Constructor Detail |
---|
public OracleIndexPartitions()
public OracleIndexPartitions(OracleIndexPartitions.PartitionType partitionType)
Method Detail |
---|
public java.lang.String getType()
DBObject
public OracleIndexPartitions.PartitionType getPartitionType()
public IndexPartition[] getPartitions()
public DBObjectID[] getGlobalPartitionColumns()
public java.lang.String[] getTablespaces()
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 removePartition(IndexPartition partition)
public void setTablespaces(java.lang.String[] tablespaces)
public void addTablespace(java.lang.String tablespace)
public void setGlobalHashQuantity(java.lang.Integer hashQuantity)
hashQuantity
- public DBObject copyTo(DBObject target, DBObject copyParent, IDPolicy idPolicy)
AbstractDBObject
This method does not fix internal reference ids on copy. That is done by
the calling DBObject.copyTo(DBObject, IDPolicy)
method.
copyTo
in class AbstractDBObject
DBObject.copyTo(java.lang.Object)
,
DBObject.copyTo(DBObject, boolean)
,
AbstractDBObject.copyToImpl(oracle.javatools.db.AbstractDBObject, oracle.javatools.db.DBObject, oracle.javatools.db.IDPolicy)
public boolean equals(java.lang.Object target)
equals
in class java.lang.Object
public boolean replaceReferenceIDs(java.util.Map<DBObjectID,DBObjectID> idMap)
AbstractDBObject
replaceReferenceIDs
in interface DBObject
replaceReferenceIDs
in class AbstractDBObject
idMap
- key = old DBObjectID, value = new DBObjectID
protected void getReferenceIDsImpl(java.util.Collection<DBObjectID> refs)
AbstractDBObject
getReferenceIDsImpl
in class AbstractDBObject
refs
- the collection of ids this object referencesprotected void copyToImpl(OracleIndexPartitions target, DBObject copyParent, IDPolicy idPolicy)
protected boolean equalsImpl(OracleIndexPartitions target)
public static Column[] getValidGlobalPartitionColumns(Index index)
index
-
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1) E13403-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |