oracle.sysman.dbTarget.db.changemgr.emo.docaccess
Class XMLIndexAccessor
java.lang.Object
oracle.sysman.dbTarget.db.changemgr.emo.docaccess.XMLAccessor
oracle.sysman.dbTarget.db.changemgr.emo.docaccess.XMLSchemaObjAccessor
oracle.sysman.dbTarget.db.changemgr.emo.docaccess.XMLIndexAccessor
public class XMLIndexAccessor
- extends XMLSchemaObjAccessor
Fields inherited from class oracle.sysman.dbTarget.db.changemgr.emo.docaccess.XMLAccessor |
DDL_ALTER_LEFT_TO_RIGHT, DDL_ALTER_RIGHT_TO_LEFT, DDL_CREATE_LEFT, DDL_CREATE_RIGHT, DDL_DROP, DIFF_NODES_PATTERN, MDAPI_CLUSTER, MDAPI_DB_LINK, MDAPI_FUNCTION, MDAPI_INDEX, MDAPI_MATERIALIZED_VIEW, MDAPI_MATERIALIZED_VIEW_LOG, MDAPI_PACKAGE, MDAPI_PACKAGE_BODY, MDAPI_PACKAGE_SPEC, MDAPI_PROCEDURE, MDAPI_PROFILE, MDAPI_ROLE, MDAPI_ROLLBACK_SEGMENT, MDAPI_SEQUENCE, MDAPI_SYNONYM, MDAPI_TABLE, MDAPI_TABLESPACE, MDAPI_TRIGGER, MDAPI_TYPE, MDAPI_USER, MDAPI_VIEW |
Methods inherited from class oracle.sysman.dbTarget.db.changemgr.emo.docaccess.XMLSchemaObjAccessor |
getDegree, getDegreeDefault, getNumberPartitions, getObjectName, getObjectSchema, getParallel, getPartitionAt, getQuotedFullName, getSchema, getSXMLDocFromDB, getTablespace, setDegree, setDegreeDefault, setParallel, setSchema, setTablespace |
Methods inherited from class oracle.sysman.dbTarget.db.changemgr.emo.docaccess.XMLAccessor |
applyDiffs, applySchemaMap, compareDefinition, compareDefinition, compareDefinition, compareDefinition, createXslTransformInfo, generateDDL, generateDDL, generateDDLs, getAppendStatistics, getChangeMode, getColumnName, getDDL, getDDL, getDDL, getDDLForExecution, getDDLForExecution, getDifferencesDocument, getDocument, getDropDDL, getName, getQuotedName, getXMLAccessorForType, getXMLAccessorForType, getXMLAccessorForType, hasDiffs, initialize, intTypeToMDAPIType, isAlterable, MDAPITypeToIntType, printXmlRoot, registerApplyDiffListener, releaseXML, revert, setAppendStatistics, setObjectName, setTransformParams, sxmlSupported, sxmlSupported |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DOMAIN_INDEX
public static final int DOMAIN_INDEX
- See Also:
- Constant Field Values
setXmlDoc
public void setXmlDoc(oracle.xml.parser.v2.XMLNode xmlDoc)
throws XMLAccessorException
- Description copied from class:
XMLAccessor
- Establishes the base node for relative xpaths.
Subclasses can override to get what they need from the document
at the time it is set.
- Overrides:
setXmlDoc
in class XMLAccessor
- Parameters:
xmlDoc
- the node from which the
base node for relative xpath attribute
lookups in this object is derived
- Throws:
XMLAccessorException
- if it is not possible to derive a
base node from xmlNode
initFromDatabase
public void initFromDatabase(CMConnection dbConn,
java.lang.String objSchema,
java.lang.String objName)
throws java.sql.SQLException,
XMLAccessorException
- Description copied from class:
XMLAccessor
- Initializes an accessor from the database.
Does not prepare the SXML document for diffing.
- Overrides:
initFromDatabase
in class XMLAccessor
- Parameters:
dbConn
- connection to the database containing
the objectobjSchema
- schema that contains the object; null
for non-schema objectsobjName
- name of the object
- Throws:
java.sql.SQLException
XMLAccessorException
initFromDatabase
public void initFromDatabase(CMConnection dbConn,
java.lang.String objSchema,
java.lang.String objName,
boolean forDiffing)
throws java.sql.SQLException,
XMLAccessorException
- Description copied from class:
XMLAccessor
- Initializes an accessor from the database.
Optionally prepares the SXML document for diffing.
- Overrides:
initFromDatabase
in class XMLAccessor
- Parameters:
dbConn
- connection to the database containing
the objectobjSchema
- schema that contains the object; null
for non-schema objectsobjName
- name of the objectforDiffing
- true if the SXML document will be compared
to another to create a Diff SXML document;
false if this preparation is not required
- Throws:
java.sql.SQLException
XMLAccessorException
initializeAll
public void initializeAll()
throws XMLAccessorException
- Description copied from class:
XMLAccessor
- Fully initializes the accessor. For most types,
this is unnecessary, but some types (notably Table) access much of
their information using separate accessors. Such types should override
this method to fully initialize their accessors.
- Overrides:
initializeAll
in class XMLAccessor
- Throws:
XMLAccessorException
- if the XMLAccessor subclass cannot be
initialized.
getSegment
public XMLSegmentAccessor getSegment()
- Overrides:
getSegment
in class XMLSchemaObjAccessor
applySchemaMap
public void applySchemaMap(java.util.HashMap schemaMap,
int changeMode)
- Overrides:
applySchemaMap
in class XMLSchemaObjAccessor
getSchemaPath
public java.lang.String getSchemaPath()
getIndexType
public int getIndexType()
getColumns
public java.lang.String[] getColumns()
getOnSchemaName
public java.lang.String getOnSchemaName()
setOnSchemaName
public void setOnSchemaName(java.lang.String schemaName)
getOnObjectName
public java.lang.String getOnObjectName()
getOnObject
public java.lang.String getOnObject()
setOnObjectName
public void setOnObjectName(java.lang.String name)
getClusterSchemaName
public java.lang.String getClusterSchemaName()
setClusterSchemaName
public void setClusterSchemaName(java.lang.String name)
getClusterObjectName
public java.lang.String getClusterObjectName()
getIsOnCluster
public boolean getIsOnCluster()
getIsUnique
public boolean getIsUnique()
getIsBitmap
public boolean getIsBitmap()
getStatus
public java.lang.String getStatus()
getIsBitmapJoin
public boolean getIsBitmapJoin()
getIsCompress
public boolean getIsCompress()
getIsFunctional
public boolean getIsFunctional()
getIsFunctionalEnabled
public boolean getIsFunctionalEnabled()
getIsPartition
public boolean getIsPartition()
getPartitioned
public boolean getPartitioned()
- Overrides:
getPartitioned
in class XMLSchemaObjAccessor
getPartitions
public XMLPartitionsAccessor getPartitions()
- Overrides:
getPartitions
in class XMLSchemaObjAccessor
getIsReverse
public boolean getIsReverse()
getKeyCompress
public java.lang.String getKeyCompress()
setOuterJoinTableName
public void setOuterJoinTableName(java.lang.String owner,
java.lang.String origName,
java.lang.String newName)
setOnlineEnabled
public void setOnlineEnabled(boolean onlineEnabled)
getLastAnalyzed
public java.lang.String getLastAnalyzed()
getBlevel
public java.lang.String getBlevel()
getDistinctKeys
public java.lang.String getDistinctKeys()
getClusteringFactor
public java.lang.String getClusteringFactor()
getLeafBlocks
public java.lang.String getLeafBlocks()
getAvgLeafBlocksPerKey
public java.lang.String getAvgLeafBlocksPerKey()
getAvgDataBlocksPerKey
public java.lang.String getAvgDataBlocksPerKey()
getNumRows
public java.lang.String getNumRows()
getSampleSize
public java.lang.String getSampleSize()
getPartitionsTreeNode
public static org.w3c.dom.Node getPartitionsTreeNode(org.w3c.dom.Node xml)
generateDDL
public java.lang.String generateDDL(int transform,
int transformParams)
- Description copied from class:
XMLAccessor
- Methods for transforming XML - primarily XML-to-DDL.
The methods are named generateDDL for historic reasons
but they can be used for any transformation.
- Overrides:
generateDDL
in class XMLAccessor
toString
public java.lang.String toString()
- Overrides:
toString
in class XMLSchemaObjAccessor