oracle.sysman.dbTarget.db.changemgr.emo.docaccess
Class SXMLXpaths
java.lang.Object
oracle.sysman.dbTarget.db.changemgr.emo.docaccess.SXMLXpaths
public class SXMLXpaths
- extends java.lang.Object
Method Summary |
static java.lang.String |
getRelativePath(int attribute)
|
static java.lang.String |
getRelativeSegmentAttributePath(int oType,
int attribute)
|
static java.lang.String |
getRelativeSegmentAttributePathForIndex(int attribute)
|
static java.lang.String |
getSegmentAttributePath(int pType,
int oType,
int tType,
int attribute)
|
static java.lang.String |
getSegmentAttributePath(int pType,
int oType,
int tType,
int attribute,
boolean overflow)
|
static java.lang.String |
getXPath(int objType,
int attribute)
Returns the xPath to the specified top-level attribute for the specified
object type. |
static java.lang.String |
getXPathForIndex(int attribute,
int indexType)
|
static java.lang.String |
getXPathForTable(int attribute,
int tableType,
int tableOrg)
Get the XPath to a table attribute, taking into
account the table's type and organization. |
static java.lang.String |
getXPathForTablespace(int attribute)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NAME
public static final int NAME
- Attributes. Many are applicable to more than one object type.
Some (e.g., NAME and TABLESPACE) may be attributes of the
entire object and also of subobjects such as partitions and
columns.
- See Also:
- Constant Field Values
SCHEMA
public static final int SCHEMA
- See Also:
- Constant Field Values
TABLESPACE
public static final int TABLESPACE
- See Also:
- Constant Field Values
COLUMNS
public static final int COLUMNS
- See Also:
- Constant Field Values
CHECK_CONSTRAINTS
public static final int CHECK_CONSTRAINTS
- See Also:
- Constant Field Values
PRIMARY_CONSTRAINTS
public static final int PRIMARY_CONSTRAINTS
- See Also:
- Constant Field Values
UNIQUE_CONSTRAINTS
public static final int UNIQUE_CONSTRAINTS
- See Also:
- Constant Field Values
FOREIGN_CONSTRAINTS
public static final int FOREIGN_CONSTRAINTS
- See Also:
- Constant Field Values
TABLE_RELATIONAL
public static final int TABLE_RELATIONAL
- See Also:
- Constant Field Values
TABLE_OBJECT
public static final int TABLE_OBJECT
- See Also:
- Constant Field Values
TABLE_XML
public static final int TABLE_XML
- See Also:
- Constant Field Values
TABLE_HEAP_TABLE
public static final int TABLE_HEAP_TABLE
- See Also:
- Constant Field Values
TABLE_IOT_TABLE
public static final int TABLE_IOT_TABLE
- See Also:
- Constant Field Values
TABLE_IOT_TABLESPACE
public static final int TABLE_IOT_TABLESPACE
- See Also:
- Constant Field Values
COLUMN_LIST_NAMES
public static final int COLUMN_LIST_NAMES
- See Also:
- Constant Field Values
REFERENCES_SCHEMA
public static final int REFERENCES_SCHEMA
- See Also:
- Constant Field Values
REFERENCES_NAME
public static final int REFERENCES_NAME
- See Also:
- Constant Field Values
REFERENCES_COLUMN_LIST_NAMES
public static final int REFERENCES_COLUMN_LIST_NAMES
- See Also:
- Constant Field Values
INDEX_TABLE
public static final int INDEX_TABLE
- See Also:
- Constant Field Values
INDEX_CLUSTER
public static final int INDEX_CLUSTER
- See Also:
- Constant Field Values
INDEX_BITMAP_JOIN
public static final int INDEX_BITMAP_JOIN
- See Also:
- Constant Field Values
INDEX_UNIQUE
public static final int INDEX_UNIQUE
- See Also:
- Constant Field Values
INDEX_BITMAP
public static final int INDEX_BITMAP
- See Also:
- Constant Field Values
ON_SCHEMA
public static final int ON_SCHEMA
- See Also:
- Constant Field Values
ON_TABLE
public static final int ON_TABLE
- See Also:
- Constant Field Values
RANGE_PARTITIONED
public static final int RANGE_PARTITIONED
- See Also:
- Constant Field Values
HASH_PARTITIONED
public static final int HASH_PARTITIONED
- See Also:
- Constant Field Values
LIST_PARTITIONED
public static final int LIST_PARTITIONED
- See Also:
- Constant Field Values
HASH_SUBPARTITIONED
public static final int HASH_SUBPARTITIONED
- See Also:
- Constant Field Values
LIST_SUBPARTITIONED
public static final int LIST_SUBPARTITIONED
- See Also:
- Constant Field Values
RANGE_PARTITIONS
public static final int RANGE_PARTITIONS
- See Also:
- Constant Field Values
HASH_PARTITIONS
public static final int HASH_PARTITIONS
- See Also:
- Constant Field Values
LIST_PARTITIONS
public static final int LIST_PARTITIONS
- See Also:
- Constant Field Values
HASH_SUBPARTITIONS
public static final int HASH_SUBPARTITIONS
- See Also:
- Constant Field Values
LIST_SUBPARTITIONS
public static final int LIST_SUBPARTITIONS
- See Also:
- Constant Field Values
PARTITION_TABLESPACE
public static final int PARTITION_TABLESPACE
- See Also:
- Constant Field Values
PARTITION_HEAP_TABLESPACE
public static final int PARTITION_HEAP_TABLESPACE
- See Also:
- Constant Field Values
PARTITION_IOT_TABLESPACE
public static final int PARTITION_IOT_TABLESPACE
- See Also:
- Constant Field Values
SUBPARTITION_TABLESPACE
public static final int SUBPARTITION_TABLESPACE
- See Also:
- Constant Field Values
SUBPARTITIONS
public static final int SUBPARTITIONS
- See Also:
- Constant Field Values
GLOBAL_HASH_PARTITIONED
public static final int GLOBAL_HASH_PARTITIONED
- See Also:
- Constant Field Values
GLOBAL_RANGE_PARTITIONED
public static final int GLOBAL_RANGE_PARTITIONED
- See Also:
- Constant Field Values
LOCAL_PARTITIONING_LIST_ITEM
public static final int LOCAL_PARTITIONING_LIST_ITEM
- See Also:
- Constant Field Values
TABLE_GLOBAL_TEMP
public static final int TABLE_GLOBAL_TEMP
- See Also:
- Constant Field Values
DEFAULT_TABLESPACE
public static final int DEFAULT_TABLESPACE
- See Also:
- Constant Field Values
TEMPORARY_TABLESPACE
public static final int TEMPORARY_TABLESPACE
- See Also:
- Constant Field Values
PROFILE
public static final int PROFILE
- See Also:
- Constant Field Values
CONDITION
public static final int CONDITION
- See Also:
- Constant Field Values
DATATYPE
public static final int DATATYPE
- See Also:
- Constant Field Values
LENGTH
public static final int LENGTH
- See Also:
- Constant Field Values
SCALE
public static final int SCALE
- See Also:
- Constant Field Values
PRECISION
public static final int PRECISION
- See Also:
- Constant Field Values
NOTNULL
public static final int NOTNULL
- See Also:
- Constant Field Values
COLUMN_LIST_ITEMS
public static final int COLUMN_LIST_ITEMS
- See Also:
- Constant Field Values
DEFAULT
public static final int DEFAULT
- See Also:
- Constant Field Values
TRIGGER_TIMING
public static final int TRIGGER_TIMING
- See Also:
- Constant Field Values
TRIGGER_DML_EVENT
public static final int TRIGGER_DML_EVENT
- See Also:
- Constant Field Values
TRIGGER_DML_EVENT_SCHEMA
public static final int TRIGGER_DML_EVENT_SCHEMA
- See Also:
- Constant Field Values
TRIGGER_DML_EVENT_NAME
public static final int TRIGGER_DML_EVENT_NAME
- See Also:
- Constant Field Values
TRIGGER_DDL_EVENT
public static final int TRIGGER_DDL_EVENT
- See Also:
- Constant Field Values
TRIGGER_DDL_EVENT_SCHEMA
public static final int TRIGGER_DDL_EVENT_SCHEMA
- See Also:
- Constant Field Values
TRIGGER_DDL_EVENT_DATABASE
public static final int TRIGGER_DDL_EVENT_DATABASE
- See Also:
- Constant Field Values
TRIGGER_DATABASE_EVENT
public static final int TRIGGER_DATABASE_EVENT
- See Also:
- Constant Field Values
ON_PREBUILT_TABLE
public static final int ON_PREBUILT_TABLE
- See Also:
- Constant Field Values
TABLE_CLUSTER_TABLE
public static final int TABLE_CLUSTER_TABLE
- See Also:
- Constant Field Values
TYPE
public static final int TYPE
- See Also:
- Constant Field Values
TYPENAME
public static final int TYPENAME
- See Also:
- Constant Field Values
TYPESCHEMA
public static final int TYPESCHEMA
- See Also:
- Constant Field Values
CLUSTER_SCHEMA
public static final int CLUSTER_SCHEMA
- See Also:
- Constant Field Values
CLUSTER_NAME
public static final int CLUSTER_NAME
- See Also:
- Constant Field Values
HASHKEYS
public static final int HASHKEYS
- See Also:
- Constant Field Values
TABLE_EXTERNAL_TABLE
public static final int TABLE_EXTERNAL_TABLE
- See Also:
- Constant Field Values
NOT_NULL_CONSTRAINTS
public static final int NOT_NULL_CONSTRAINTS
- See Also:
- Constant Field Values
TYPE_PROPERTIES
public static final int TYPE_PROPERTIES
- See Also:
- Constant Field Values
OBJECT_COMMENT
public static final int OBJECT_COMMENT
- See Also:
- Constant Field Values
COLUMN_COMMENT
public static final int COLUMN_COMMENT
- See Also:
- Constant Field Values
VALUES
public static final int VALUES
- See Also:
- Constant Field Values
RANGE_LIST
public static final int RANGE_LIST
- See Also:
- Constant Field Values
RANGE_HASH
public static final int RANGE_HASH
- See Also:
- Constant Field Values
RANGE_RANGE
public static final int RANGE_RANGE
- See Also:
- Constant Field Values
LIST_LIST
public static final int LIST_LIST
- See Also:
- Constant Field Values
LIST_RANGE
public static final int LIST_RANGE
- See Also:
- Constant Field Values
LIST_HASH
public static final int LIST_HASH
- See Also:
- Constant Field Values
LOB_PROP
public static final int LOB_PROP
- See Also:
- Constant Field Values
PARTITION_LOB_PROPERTIES
public static final int PARTITION_LOB_PROPERTIES
- See Also:
- Constant Field Values
ON_DELETE
public static final int ON_DELETE
- See Also:
- Constant Field Values
PCTTHRESHOLD
public static final int PCTTHRESHOLD
- See Also:
- Constant Field Values
OVERFLOW
public static final int OVERFLOW
- See Also:
- Constant Field Values
STORAGE
public static final int STORAGE
- See Also:
- Constant Field Values
SEGMENT
public static final int SEGMENT
- See Also:
- Constant Field Values
COMPRESS
public static final int COMPRESS
- See Also:
- Constant Field Values
PARALLEL
public static final int PARALLEL
- See Also:
- Constant Field Values
EXT_MGMT_TYPE
public static final int EXT_MGMT_TYPE
- See Also:
- Constant Field Values
EXT_ALLOCATION_TYPE
public static final int EXT_ALLOCATION_TYPE
- See Also:
- Constant Field Values
SEGMENT_MGMT
public static final int SEGMENT_MGMT
- See Also:
- Constant Field Values
UNIFORM_EXTENT_SIZE
public static final int UNIFORM_EXTENT_SIZE
- See Also:
- Constant Field Values
DATAFILE_LIST_ITEM
public static final int DATAFILE_LIST_ITEM
- See Also:
- Constant Field Values
ROW_MOVEMENT
public static final int ROW_MOVEMENT
- See Also:
- Constant Field Values
TABLE_PROP
public static final int TABLE_PROP
- See Also:
- Constant Field Values
TRIGGER_DISABLE
public static final int TRIGGER_DISABLE
- See Also:
- Constant Field Values
INDEX_SCHEMA
public static final int INDEX_SCHEMA
- See Also:
- Constant Field Values
INDEX_NAME
public static final int INDEX_NAME
- See Also:
- Constant Field Values
OBJTBL_OF_TYPE_SCHEMA
public static final int OBJTBL_OF_TYPE_SCHEMA
- See Also:
- Constant Field Values
OBJTBL_OF_TYPE_NAME
public static final int OBJTBL_OF_TYPE_NAME
- See Also:
- Constant Field Values
INDEX_DOMAIN
public static final int INDEX_DOMAIN
- See Also:
- Constant Field Values
NAME_ATT
public static final java.lang.String NAME_ATT
- See Also:
- Constant Field Values
DATATYPE_ATT
public static final java.lang.String DATATYPE_ATT
- See Also:
- Constant Field Values
LENGTH_ATT
public static final java.lang.String LENGTH_ATT
- See Also:
- Constant Field Values
SCALE_ATT
public static final java.lang.String SCALE_ATT
- See Also:
- Constant Field Values
PRECISION_ATT
public static final java.lang.String PRECISION_ATT
- See Also:
- Constant Field Values
DEFAULT_ATT
public static final java.lang.String DEFAULT_ATT
- See Also:
- Constant Field Values
NOTNULL_ATT
public static final java.lang.String NOTNULL_ATT
- See Also:
- Constant Field Values
SCHEMA_ATT
public static final java.lang.String SCHEMA_ATT
- See Also:
- Constant Field Values
TABLESPACE_ATT
public static final java.lang.String TABLESPACE_ATT
- See Also:
- Constant Field Values
COLUMN_LIST
public static final java.lang.String COLUMN_LIST
- See Also:
- Constant Field Values
COLUMN_LIST_ITEM
public static final java.lang.String COLUMN_LIST_ITEM
- See Also:
- Constant Field Values
TYPE_ATT
public static final java.lang.String TYPE_ATT
- See Also:
- Constant Field Values
COL_ATT
public static final java.lang.String COL_ATT
- See Also:
- Constant Field Values
SRC_ATT
public static final java.lang.String SRC_ATT
- See Also:
- Constant Field Values
SRC_ATTVALUE_1
public static final java.lang.String SRC_ATTVALUE_1
- See Also:
- Constant Field Values
SRC_ATTVALUE_2
public static final java.lang.String SRC_ATTVALUE_2
- See Also:
- Constant Field Values
VALUE1_ATT
public static final java.lang.String VALUE1_ATT
- See Also:
- Constant Field Values
XPATH_ATT
public static final java.lang.String XPATH_ATT
- See Also:
- Constant Field Values
COL_NUM_ATT
public static final java.lang.String COL_NUM_ATT
- See Also:
- Constant Field Values
COL_NUM_ELEMENT
public static final java.lang.String COL_NUM_ELEMENT
- See Also:
- Constant Field Values
VALUES_ATT
public static final java.lang.String VALUES_ATT
- See Also:
- Constant Field Values
TYPE_PROP_ATT
public static final java.lang.String TYPE_PROP_ATT
- See Also:
- Constant Field Values
TYPENAME_ATT
public static final java.lang.String TYPENAME_ATT
- See Also:
- Constant Field Values
TYPESCHEMA_ATT
public static final java.lang.String TYPESCHEMA_ATT
- See Also:
- Constant Field Values
COMMENTS_ATT
public static final java.lang.String COMMENTS_ATT
- See Also:
- Constant Field Values
OBJECT_COMMENT_ATT
public static final java.lang.String OBJECT_COMMENT_ATT
- See Also:
- Constant Field Values
COLUMN_COMMENT_ATT
public static final java.lang.String COLUMN_COMMENT_ATT
- See Also:
- Constant Field Values
REL_COLUMN_LIST_ITEM
public static final java.lang.String REL_COLUMN_LIST_ITEM
- See Also:
- Constant Field Values
REL_COMMENT
public static final java.lang.String REL_COMMENT
- See Also:
- Constant Field Values
TABLE_PROPERTIES
public static final java.lang.String TABLE_PROPERTIES
- See Also:
- Constant Field Values
RANGE_PARTITIONING
public static final java.lang.String RANGE_PARTITIONING
- See Also:
- Constant Field Values
HASH_PARTITIONING
public static final java.lang.String HASH_PARTITIONING
- See Also:
- Constant Field Values
LIST_PARTITIONING
public static final java.lang.String LIST_PARTITIONING
- See Also:
- Constant Field Values
HASH_SUBPARTITIONING
public static final java.lang.String HASH_SUBPARTITIONING
- See Also:
- Constant Field Values
LIST_SUBPARTITIONING
public static final java.lang.String LIST_SUBPARTITIONING
- See Also:
- Constant Field Values
RANGE_SUBPARTITIONING
public static final java.lang.String RANGE_SUBPARTITIONING
- See Also:
- Constant Field Values
LOB_TABLESPACE
public static final java.lang.String LOB_TABLESPACE
- See Also:
- Constant Field Values
LOB_TABLE_NAME
public static final java.lang.String LOB_TABLE_NAME
- See Also:
- Constant Field Values
LOB_CHUNK
public static final java.lang.String LOB_CHUNK
- See Also:
- Constant Field Values
LOB_PCTVERSION
public static final java.lang.String LOB_PCTVERSION
- See Also:
- Constant Field Values
STORAGE_IN_ROW
public static final java.lang.String STORAGE_IN_ROW
- See Also:
- Constant Field Values
LOB_STORAGE_IN_ROW
public static final java.lang.String LOB_STORAGE_IN_ROW
- See Also:
- Constant Field Values
NOVALIDATE
public static final java.lang.String NOVALIDATE
- See Also:
- Constant Field Values
DISABLE
public static final java.lang.String DISABLE
- See Also:
- Constant Field Values
DEFERRABLE
public static final java.lang.String DEFERRABLE
- See Also:
- Constant Field Values
RELY
public static final java.lang.String RELY
- See Also:
- Constant Field Values
INITIALLY_DEFERRED
public static final java.lang.String INITIALLY_DEFERRED
- See Also:
- Constant Field Values
PCTTHRESHOLD_ATT
public static final java.lang.String PCTTHRESHOLD_ATT
- See Also:
- Constant Field Values
OVERFLOW_ATT
public static final java.lang.String OVERFLOW_ATT
- See Also:
- Constant Field Values
STORAGE_ATT
public static final java.lang.String STORAGE_ATT
- See Also:
- Constant Field Values
COMPRESS_ATT
public static final java.lang.String COMPRESS_ATT
- See Also:
- Constant Field Values
KEYCOMPRESS_ATT
public static final java.lang.String KEYCOMPRESS_ATT
- See Also:
- Constant Field Values
PARALLEL_ATT
public static final java.lang.String PARALLEL_ATT
- See Also:
- Constant Field Values
ROW_MOVEMENT_ATT
public static final java.lang.String ROW_MOVEMENT_ATT
- See Also:
- Constant Field Values
NOT_NULL
public static final java.lang.String NOT_NULL
- See Also:
- Constant Field Values
PARTITION_LIST
public static final java.lang.String PARTITION_LIST
- See Also:
- Constant Field Values
PARTITION_LIST_ITEM
public static final java.lang.String PARTITION_LIST_ITEM
- See Also:
- Constant Field Values
SUBPARTITION_LIST
public static final java.lang.String SUBPARTITION_LIST
- See Also:
- Constant Field Values
SUBPARTITION_LIST_ITEM
public static final java.lang.String SUBPARTITION_LIST_ITEM
- See Also:
- Constant Field Values
NAME_RELATIVE_PATH
public static final java.lang.String NAME_RELATIVE_PATH
- See Also:
- Constant Field Values
VALUES_RELATIVE_PATH
public static final java.lang.String VALUES_RELATIVE_PATH
- See Also:
- Constant Field Values
DATAFILE_LIST_PATH
public static final java.lang.String DATAFILE_LIST_PATH
- See Also:
- Constant Field Values
EXT_MANAGEMENT_PATH
public static final java.lang.String EXT_MANAGEMENT_PATH
- See Also:
- Constant Field Values
EXT_MANAGEMENT_TYPE_PATH
public static final java.lang.String EXT_MANAGEMENT_TYPE_PATH
- See Also:
- Constant Field Values
BITMAP_JOIN_INDEX_COLUMN_LIST_PATH
public static final java.lang.String BITMAP_JOIN_INDEX_COLUMN_LIST_PATH
- See Also:
- Constant Field Values
DOMAIN_INDEX_COLUMN_LIST_PATH
public static final java.lang.String DOMAIN_INDEX_COLUMN_LIST_PATH
- See Also:
- Constant Field Values
BITMAP_JOIN_INDEX_JOIN_LIST_PATH
public static final java.lang.String BITMAP_JOIN_INDEX_JOIN_LIST_PATH
- See Also:
- Constant Field Values
BITMAP_JOIN_INDEX_CONDITION_LIST_PATH
public static final java.lang.String BITMAP_JOIN_INDEX_CONDITION_LIST_PATH
- See Also:
- Constant Field Values
SXMLXpaths
public SXMLXpaths()
getXPath
public static java.lang.String getXPath(int objType,
int attribute)
- Returns the xPath to the specified top-level attribute for the specified
object type.
- Parameters:
objType
- The type of the object, one of the codes defined in CMProcessorattribute
- The attribute, one of the codes defined in this class.
- Returns:
- The xPath to the desired attribute; null if the attribute is not defined
for that object type or if the object type is not supported by SXML.
getXPathForTable
public static java.lang.String getXPathForTable(int attribute,
int tableType,
int tableOrg)
- Get the XPath to a table attribute, taking into
account the table's type and organization.
- Parameters:
attribute
- One of the attributes for tables
defined in this class.tableType
- The table type, one of:
TABLE_RELATIONAL
TABLE_OBJECT
TABLE_XMLtableOrg
- Table organization (ignored for attributes
not organization-dependent), one of:
TABLE_HEAP_TABLE
TABLE_IOT_TABLE
- Returns:
- Full XPath to the attribute, or null if no path
is defined.
getXPathForIndex
public static java.lang.String getXPathForIndex(int attribute,
int indexType)
getRelativePath
public static java.lang.String getRelativePath(int attribute)
getXPathForTablespace
public static java.lang.String getXPathForTablespace(int attribute)
getSegmentAttributePath
public static java.lang.String getSegmentAttributePath(int pType,
int oType,
int tType,
int attribute,
boolean overflow)
getSegmentAttributePath
public static java.lang.String getSegmentAttributePath(int pType,
int oType,
int tType,
int attribute)
getRelativeSegmentAttributePath
public static java.lang.String getRelativeSegmentAttributePath(int oType,
int attribute)
getRelativeSegmentAttributePathForIndex
public static java.lang.String getRelativeSegmentAttributePathForIndex(int attribute)