MINI MINI MANI MO
<?xml version="1.0"?>
<!--
Copyright (c) 2007, 2018, Oracle and/or its affiliates. All rights reserved.
NAME
kustablt.xsd
DESCRIPTION
XML Schema types for TABLE SXML.
MODIFIED MM/DD/YY
apfwkr 04/13/18 - Backport rmacnico_bug-25882883 from main
jjanosik 03/21/17 - Bug 24517168: Add STORAGE to SUBPARTITION_LIST_ITEM
tbhukya 02/24/17 - Bug 25571994: Add MEMOPTIMIZE_READ/WRITE
tbhukya 01/30/17 - Bug 25095866: Add MEMOPTIMIZE
rapayne 01/01/17 - Bug 2069676: add VECTOR_ENCODE to coltype attribs.
jjanosik 12/05/16 - Bug 24465253: Add CELLMEMORY to HEAP_TABLE and
SUBPARTITION_LIST_ITEM
rapayne 08/28/16 - Bug 24490693 - inmemory attributes for ILM policies.
tbhukya 05/13/16 - Bug 23248862: Add RESULT_CACHE
jjanosik 01/27/16 - bug 19792856 - add LOBINDEX et al. to LOB_PROPERTIES
bwright 10/23/15 - Bug 22070917: Autolist in composite part. table
jjanosik 10/13/15 - Update ILM_POLICIES_ITEM
tbhukya 08/29/15 - Bug 21179353: Add XMLTYPE_VIRTUAL_COLUMNS
bwright 08/14/15 - Bug 20756134: STORE IN autolist part. table
tbhukya 07/14/15 - Bug 21438396: Remove DEFAULT_COLLATION for object,
xml type tables
rapayne 06/07/15 - Bug 21205467: add EVALUTE element
tbhukya 05/23/15 - Bug 21118665: DBC support for object, xml type table
tbhukya 04/17/15 - Proj 47173: Add elements COLLATE_NAME,
DEFAULT_COLLATION
bwright 02/11/15 - Proj 49143: Add auto-list (sub)partitioning and
range interval subpartitioning w/ transition
lbarton 05/23/13 - bug 15872712: ILM policies
rapayne 06/30/14 - bug 19134158: fix INMEMORY attributes for hash
partitioned tables.
rapayne 03/02/14 - bug 18155007: INMEMORY definitions.
rapayne 04/22/13 - bug 15924364: add new compression syntax
lbarton 03/08/12 - 36954_dpump_tabcluster_zonemap
rapayne 12/25/11 - proj 37634: partial index support
lbarton 09/19/11 - project 32935: row level locking
rapayne 11/30/11 - Invisible Column support.
rapayne 10/28/11 - Allow ON_NULL for identity columns.
rapayne 09/10/11 - Identity Column support.
rapayne 03/20/10 - bug 9439234: add elements FLAGS/FLAGS_ITEMS to
COL_LIST_ITEM
ebatbout 01/25/10 - bug 8465341: add elements,NESTED_TABLE_SETID,STREAM_
MAJOR_VERSION and STREAM_MINOR_VERSION. These
elements are for Data Pump use and are generated
when transform parameter, HIDDEN_COLUMNS, is true.
lbarton 07/09/09 - bug 8494344: archive compression
lbarton 08/28/08 - xmltype virtual columns
rapayne 04/04/08 - Move OIDType definitions to kuscomm.xsd
ebatbout 02/19/08 - Bug 6075698: Add 1. segcol_num,intcol_num,
internal_name for column list item, 2. column list
for XMLType table clause, and 3. more column info
for object column properties (ie. char. semantics,
precision/scale)
lbarton 02/12/08 - reference/system partitioning
lbarton 01/15/08 - Bug 6724820: table compression
lbarton 01/18/08 - RETENTION/PCTVERSION
lbarton 12/13/07 - Bug 6655531: customer area
lbarton 12/12/07 - bug 6682373: char semantics
slynn 02/25/07 - Backout changes that removed dedup validate.
lbarton 11/15/06 - diff support
slynn 11/20/06 - Remove unimplemented SECUREFILE keywords
slynn 10/26/06 - smartfile->securefile
lbarton 10/09/06 - interval partitioning
rapayne 09/22/06 - bug 5548395 - Add support for hash_partitions_by_quantity
- bug 5548402 - Allow for optional (i.e., system generated)
partition names.
lbarton 08/29/06 - All composite partitioning combinations
slynn 08/09/06 - LOCAL to SMARTFILE.
slynn 07/31/06 - change csce keywords.
jforsyth 05/10/06 - add LOBENCRYPT, SHARE, LOBCOMPRESS for LOBs
kkunchit 11/01/05 - project-18204: inode: LOCAL/NOLOCAL support
mbaloglu 03/13/06 - Project 18207: Add [A]SYNC for LOBs
lbarton 11/09/05 - Bug 4724986: reformat files for use with XMLSpy
lbarton 10/18/05 - lbarton_mddiff2
lbarton 09/06/05 - Initial version
-->
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ku="http://xmlns.oracle.com/ku" targetNamespace="http://xmlns.oracle.com/ku" elementFormDefault="qualified" attributeFormDefault="unqualified">
<!-- include files -->
<xsd:include schemaLocation="kuscomm.xsd"/>
<xsd:include schemaLocation="kuscnstr.xsd"/>
<!-- types, groups and elements -->
<xsd:complexType name="TABLEType">
<xsd:sequence>
<xsd:element name="GLOBAL_TEMPORARY" type="ku:EmptyType" minOccurs="0"/>
<xsd:group ref="ku:SCHEMA_NAMEGroup"/>
<!-- sxml diff doc can contain one of each -->
<xsd:choice maxOccurs="2">
<xsd:element name="RELATIONAL_TABLE" type="ku:RelationalTableClause"/>
<xsd:element name="OBJECT_TABLE" type="ku:ObjectTableClause"/>
<xsd:element name="XMLTYPE_TABLE" type="ku:XMLTypeTableClause"/>
</xsd:choice>
<xsd:element name="CUSTOMER_AREA" minOccurs="0"/>
<xsd:element name="STREAM_MAJOR_VERSION" type="ku:intElementWithValue1" minOccurs="0"/>
<xsd:element name="STREAM_MINOR_VERSION" type="ku:intElementWithValue1" minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="version" type="ku:vsn" use="required"/>
<xsd:attribute name="version2" type="ku:vsn"/>
<!-- *******************************************************************
complexType for TABLE
[ GLOBAL_TEMPORARY ]
choice of
RELATIONAL_TABLE
OBJECT_TABLE
XMLTYPE_TABLE
[ CUSTOMER_AREA ]
******************************************************************** -->
</xsd:complexType>
<xsd:complexType name="RelationalTableClause">
<xsd:sequence>
<xsd:element name="COL_LIST">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="COL_LIST_ITEM" type="ku:TableCOL_LIST_ITEMType" maxOccurs="1000"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:group ref="ku:TableConstraintsGroup"/>
<xsd:element name="DEFAULT_COLLATION" type="ku:char128ElementWithValue1" minOccurs="0"/>
<xsd:element name="SUPPLEMENTAL_LOGGING" type="ku:SUPPLEMENTAL_LOGGINGType" minOccurs="0"/>
<xsd:element name="PERIOD_LIST" type="ku:PERIOD_LISTType" minOccurs="0"/>
<xsd:element name="ON_COMMIT" type="ku:ON_COMMITTypeWithValue1" minOccurs="0"/>
<xsd:element name="PHYSICAL_PROPERTIES" type="ku:PhysicalPropertiesType" minOccurs="0"/>
<xsd:element name="TABLE_PROPERTIES" type="ku:TablePropertiesType" minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="src" type="ku:srcType"/>
<!-- *******************************************************************
complex type for RELATIONAL_TABLE
COL_LIST - up to 1000 COL_LIST_ITEM
[ table constraints ]
[ SUPPLEMENTAL_LOGGING ]
[ PERIOD_LIST ]
[ ON_COMMIT ]
[ PHYSICAL_PROPERTIES ]
[ TABLE_PROPERTIES ]
******************************************************************** -->
</xsd:complexType>
<xsd:simpleType name="EVALUATEType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="CURRENT EDITION"/>
</xsd:restriction>
<!-- *******************************************************************
EVALAUATE - currently this can only be CURRENT EDITION
******************************************************************** -->
</xsd:simpleType>
<xsd:complexType name="EVALUATETypeWithValue1">
<xsd:simpleContent>
<xsd:extension base="ku:EVALUATEType">
<xsd:attribute name="value1" type="ku:EVALUATEType"/>
<xsd:attribute name="src" type="ku:srcType"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<xsd:complexType name="IDENTITY_COLUMNType">
<xsd:all>
<xsd:element name="SCHEMA" type="ku:char30ElementWithValue1" minOccurs="0"/>
<xsd:element name="START_WITH" type="ku:intElementWithValue1" minOccurs="0"/>
<xsd:element name="INCREMENT" type="ku:intElementWithValue1" minOccurs="0"/>
<xsd:element name="MINVALUE" type="ku:intElementWithValue1" minOccurs="0"/>
<xsd:element name="MAXVALUE" type="ku:intElementWithValue1" minOccurs="0"/>
<xsd:element name="CYCLE" type="ku:EmptyType" minOccurs="0"/>
<xsd:element name="CACHE" type="ku:intElementWithValue1" minOccurs="0"/>
<xsd:element name="ORDER" type="ku:EmptyType" minOccurs="0"/>
<xsd:element name="GENERATION" type="ku:GENERATIONTypeWithValue1" minOccurs="0"/>
<xsd:element name="ON_NULL" type="ku:EmptyType" minOccurs="0"/>
<xsd:element name="CUSTOMER_AREA" minOccurs="0"/>
</xsd:all>
<!-- *******************************************************************
complexType for IDENTITY_COLUMN
NAME
[ START_WITH ]
[ INCREMENT ]
[ MINVALUE ]
[ MAXVALUE ]
[ CYCLE ]
[ CACHE ]
[ ORDER ]
[ GENERATION ]
[ CUSTOMER_AREA ]
******************************************************************** -->
</xsd:complexType>
<xsd:complexType name="TableCOL_LIST_ITEMType">
<xsd:all>
<xsd:element name="NAME" type="ku:char30ElementWithValue1"/>
<xsd:element name="DATATYPE" type="ku:TypeNameElementWithValue1"/>
<xsd:element name="LENGTH" type="ku:intElementWithValue1" minOccurs="0"/>
<xsd:element name="CHAR_SEMANTICS" type="ku:EmptyType" minOccurs="0"/>
<xsd:element name="PRECISION" type="ku:intElementWithValue1" minOccurs="0"/>
<xsd:element name="SCALE" type="ku:intElementWithValue1" minOccurs="0"/>
<xsd:element name="TYPE_PROPERTIES" type="ku:optSCHEMA_NAMEType" minOccurs="0"/>
<xsd:element name="SORT" type="ku:EmptyType" minOccurs="0"/>
<xsd:element name="VIRTUAL" type="ku:char4000ElementWithValue1" minOccurs="0"/>
<xsd:element name="HIDDEN" type="ku:EmptyType" minOccurs="0"/>
<xsd:element name="EVALUATE" type="ku:EVALUATETypeWithValue1" minOccurs="0"/>
<xsd:element name="NESTED_TABLE_SETID" type="ku:EmptyType" minOccurs="0"/>
<xsd:element name="DEFAULT" type="ku:char4000ElementWithValue1" minOccurs="0"/>
<xsd:element name="DEFAULT_ON_NULL" type="ku:char4000ElementWithValue1" minOccurs="0"/>
<xsd:element name="NOT_NULL" type="ku:NOT_NULLType" minOccurs="0"/>
<xsd:element name="FLAGS" type="ku:FlagsItemList" minOccurs="0"/>
<xsd:element name="ENCRYPT" type="ku:ENCRYPTType" minOccurs="0"/>
<xsd:element name="SEGCOL_NUM" type="ku:intElementWithValue1" minOccurs="0"/>
<xsd:element name="INTCOL_NUM" type="ku:intElementWithValue1" minOccurs="0"/>
<xsd:element name="INTERNAL_NAME" type="ku:char30ElementWithValue1" minOccurs="0"/>
<xsd:element name="IDENTITY_COLUMN" type="ku:IDENTITY_COLUMNType" minOccurs="0"/>
<xsd:element name="COLLATE_NAME" type="ku:char128ElementWithValue1" minOccurs="0"/>
<xsd:element name="INVISIBLE" type="ku:EmptyType" minOccurs="0"/>
<xsd:element name="CUSTOMER_AREA" minOccurs="0"/>
<xsd:element name="UNPACKED_ANYDATA_ATTR" type="ku:EmptyType" minOccurs="0"/>
<xsd:element name="VECTOR_ENCODE" type="ku:EmptyType" minOccurs="0"/>
</xsd:all>
<xsd:attribute name="src" type="ku:srcType"/>
<!-- *******************************************************************
complexType for COL_LIST_ITEM
NAME
DATATYPE
[ LENGTH ]
[ CHAR_SEMANTICS ]
[ PRECISION ]
[ SCALE ]
[ TYPE_PROPERTIES ]
[ SORT ]
[ VIRTUAL ]
[ HIDDEN ]
[ EVALAUTE ]
[ NESTED_TABLE_SETID ]
[ DEFAULT ]
[ DEFAULT_ON_NULL ]
[ NOT_NULL ]
[ FLAGS ]
[ ENCRYPT ]
[ SEGCOL_NUM ]
[ INTCOL_NUM ]
[ INTERNAL_NAME ]
[ IDENTITY_COLUMN ]
[ COLLATE_NAME ]
[ INVISIBLE ]
[ CUSTOMER_AREA ]
[ UNPACKED_ANYDATA_ATTR ]
[ VECTOR_ENCODE ]
******************************************************************** -->
</xsd:complexType>
<xsd:simpleType name="FLAGType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="IN_VIRTUAL_COL_EXPRESSION"/>
<xsd:enumeration value="IN_FUNCTIONAL_INDEX"/>
</xsd:restriction>
<!-- *************************************************************************
simpleType for "FlagType
VALUE is one of IN_VIRTUAL_COL_EXPRESSION or IN_FUNCTIONAL_INDEX
*************************************************************************** -->
</xsd:simpleType>
<xsd:complexType name="FlagsItemType" mixed="true">
<xsd:simpleContent>
<xsd:extension base="ku:FLAGType">
<xsd:attribute name="src" type="ku:srcType"/>
<xsd:attribute name="value1" type="ku:FLAGType"/>
</xsd:extension>
</xsd:simpleContent>
<!-- *******************************************************************
FLAG_ITEM- values are: IN_VIRTUAL_COL_EXPRESSION || IN_FUNCTIONAL_INDEX
******************************************************************** -->
</xsd:complexType>
<xsd:complexType name="FlagsItemList">
<xsd:sequence>
<xsd:element name="FLAGS_ITEM" type="ku:FlagsItemType" maxOccurs="2"/>
</xsd:sequence>
<xsd:attribute name="src" type="ku:srcType"/>
<!-- *******************************************************************
complexType for column FLAG
******************************************************************** -->
</xsd:complexType>
<xsd:complexType name="NOT_NULLType">
<xsd:sequence>
<xsd:element name="NAME" type="ku:char30ElementWithValue1" minOccurs="0"/>
<xsd:group ref="ku:ConstraintStateEnable" minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="src" type="ku:srcType"/>
<!-- *******************************************************************
complexType for NOT_NULL
NAME
constraint state
******************************************************************** -->
</xsd:complexType>
<xsd:complexType name="ENCRYPTType">
<xsd:sequence>
<xsd:element name="USING" type="ku:char30ElementWithValue1"/>
<xsd:element name="PASSWORD" type="ku:char30ElementWithValue1" minOccurs="0"/>
<xsd:element name="NOSALT" type="ku:EmptyType" minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="src" type="ku:srcType"/>
<!-- *******************************************************************
complexType for ENCRYPT
USING - algorithm
[ PASSWORD ]
[ NOSALT ]
******************************************************************** -->
</xsd:complexType>
<xsd:complexType name="SUPPLEMENTAL_LOGGINGType">
<xsd:sequence>
<xsd:element name="GROUP_LIST" type="ku:GROUP_LISTType" minOccurs="0"/>
<xsd:element name="ID_LIST" type="ku:ID_LISTType" minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="src" type="ku:srcType"/>
<!-- *******************************************************************
complexType for SUPPLEMENTAL_LOGGING
[ GROUP_LIST ]
[ ID_LIST ]
******************************************************************** -->
</xsd:complexType>
<xsd:complexType name="GROUP_LISTType">
<xsd:sequence>
<xsd:element name="GROUP_LIST_ITEM" maxOccurs="unbounded">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="NAME" type="ku:char30ElementWithValue1"/>
<xsd:element name="COL_LIST">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="COL_LIST_ITEM" type="ku:GROUP_LIST_COL_LIST_ITEMType" maxOccurs="1000"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="ALWAYS" type="ku:EmptyType" minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="src" type="ku:srcType"/>
<!-- *******************************************************************
complexType for GROUP_LIST
unbounded list of GROUP_LIST_ITEM
NAME
COL_LIST - list of up to 1000 COL_LIST_ITEM
(of GROUP_LIST_COL_LIST_ITEMType)
******************************************************************** -->
</xsd:complexType>
<xsd:complexType name="GROUP_LIST_COL_LIST_ITEMType">
<xsd:sequence>
<xsd:element name="NAME" type="ku:char30ElementWithValue1"/>
<xsd:element name="NOLOG" type="ku:EmptyType" minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="src" type="ku:srcType"/>
<!-- *******************************************************************
complexType for GROUP_LIST_COL_LIST_ITEM
NAME
[ NOLOG ]
******************************************************************** -->
</xsd:complexType>
<xsd:complexType name="ID_LISTType">
<xsd:sequence>
<xsd:element name="ID_LIST_ITEM" maxOccurs="unbounded">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="COLUMNS" type="ku:id_columnsTypeWithValue1"/>
</xsd:sequence>
<xsd:attribute name="src" type="ku:srcType"/>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="src" type="ku:srcType"/>
<!-- *******************************************************************
complexType for ID_LIST
unbounded list of ID_LIST_ITEM
COLUMNS - of id_columnsType
******************************************************************** -->
</xsd:complexType>
<xsd:simpleType name="id_columnsType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="ALL"/>
<xsd:enumeration value="PRIMARY_KEY"/>
<xsd:enumeration value="UNIQUE"/>
<xsd:enumeration value="FOREIGN_KEY"/>
</xsd:restriction>
<!-- *******************************************************************
id_columnsType - value is one of ALL, PRIMARY_KEY, UNIQUE, FOREIGN_KEY
******************************************************************** -->
</xsd:simpleType>
<xsd:complexType name="id_columnsTypeWithValue1">
<xsd:simpleContent>
<xsd:extension base="ku:id_columnsType">
<xsd:attribute name="value1" type="ku:id_columnsType"/>
<xsd:attribute name="src" type="ku:srcType"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<xsd:complexType name="PERIOD_LISTType">
<xsd:sequence>
<xsd:element name="PERIOD_LIST_ITEM" maxOccurs="unbounded">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="VALID_TIME_COLUMN" type="ku:char30ElementWithValue1"/>
<xsd:element name="START_TIME_COLUMN" type="ku:char30ElementWithValue1" minOccurs="0"/>
<xsd:element name="END_TIME_COLUMN" type="ku:char30ElementWithValue1" minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="src" type="ku:srcType"/>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="src" type="ku:srcType"/>
</xsd:complexType>
<xsd:simpleType name="ON_COMMITType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="DELETE"/>
<xsd:enumeration value="PRESERVE"/>
</xsd:restriction>
<!-- *******************************************************************
ON_COMMIT - value is one of DELETE, PRESERVE
******************************************************************** -->
</xsd:simpleType>
<xsd:complexType name="ON_COMMITTypeWithValue1">
<xsd:simpleContent>
<xsd:extension base="ku:ON_COMMITType">
<xsd:attribute name="value1" type="ku:ON_COMMITType"/>
<xsd:attribute name="src" type="ku:srcType"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<xsd:complexType name="PhysicalPropertiesType">
<xsd:sequence>
<!-- sxml diff doc can contain one of each -->
<xsd:choice maxOccurs="3">
<xsd:element name="HEAP_TABLE" type="ku:HEAP_TABLEType"/>
<xsd:element name="INMEMORY" type="ku:INMEMORYType" minOccurs="0"/>
<xsd:element name="INDEX_ORGANIZED_TABLE" type="ku:INDEX_ORGANIZED_TABLEType"/>
<xsd:element name="EXTERNAL_TABLE" type="ku:EXTERNAL_TABLEType"/>
<xsd:element name="CLUSTER_TABLE" type="ku:CLUSTER_TABLEType"/>
</xsd:choice>
</xsd:sequence>
<!-- *******************************************************************
complexType for Physical properties - choice of
External table physical properties
IOT physical properties
Heap table physical properties
CLUSTER
******************************************************************** -->
</xsd:complexType>
<xsd:simpleType name="GENERATIONType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="ALWAYS"/>
<xsd:enumeration value="DEFAULT"/>
</xsd:restriction>
<!-- *******************************************************************
GENERATION - value is one of ALWAYS, DEFAULT
******************************************************************** -->
</xsd:simpleType>
<xsd:complexType name="GENERATIONTypeWithValue1">
<xsd:simpleContent>
<xsd:extension base="ku:GENERATIONType">
<xsd:attribute name="value1" type="ku:GENERATIONType"/>
<xsd:attribute name="src" type="ku:srcType"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<xsd:complexType name="HEAP_TABLEType">
<xsd:sequence>
<xsd:element name="SEGMENT_ATTRIBUTES" type="ku:SEGMENT_ATTRIBUTESType" minOccurs="0"/>
<xsd:element name="NO_CELLMEMORY" type="ku:EmptyType" minOccurs="0"/>
<xsd:element name="CELLMEMORY" type="ku:CellMemoryTypeWithValue1" minOccurs="0"/>
<xsd:element name="MEMOPTIMIZE_READ" type="ku:EmptyType" minOccurs="0"/>
<xsd:element name="MEMOPTIMIZE_WRITE" type="ku:EmptyType" minOccurs="0"/>
<xsd:element name="COMPRESS" type="ku:TableCompressTypeWithValue1" minOccurs="0"/>
<xsd:element name="COMPRESS_LEVEL" type="ku:TableCompressLevelWithValue1" minOccurs="0"/>
<xsd:element name="ROW_LEVEL_LOCKING" type="ku:EmptyType" minOccurs="0"/>
<xsd:element name="ILM_POLICIES" type="ku:ILM_POLICIESType" minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="src" type="ku:srcType"/>
<!-- *******************************************************************
complexType for HEAP_TABLE
[ SEGMENT_ATTRIBUTES ]
[ COMPRESS ] [ COMPRESS_LEVEL ] [ ROW_LEVEL_LOCKING ]
******************************************************************** -->
</xsd:complexType>
<xsd:complexType name="INDEX_ORGANIZED_TABLEType">
<xsd:sequence>
<xsd:element name="SEGMENT_ATTRIBUTES" type="ku:SEGMENT_ATTRIBUTESType" minOccurs="0"/>
<xsd:element name="MAPPING_TABLE" type="ku:EmptyType" minOccurs="0"/>
<xsd:element name="PCTTHRESHOLD" type="ku:pctElementWithValue1" minOccurs="0"/>
<xsd:element name="KEYCOMPRESS" type="ku:KeyCompressTypeWithValue1" minOccurs="0"/>
<xsd:element name="OVERFLOW" type="ku:OVERFLOWType" minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="src" type="ku:srcType"/>
<!-- *******************************************************************
complexType for IOT
[ SEGMENT_ATTRIBUTES ]
[ MAPPING_TABLE ]
[ PCTTHRESHOLD ]
[ COMPRESS ]
[ OVERFLOW ]
******************************************************************** -->
</xsd:complexType>
<xsd:complexType name="OVERFLOWType">
<xsd:sequence>
<xsd:element name="INCLUDING" type="ku:char30ElementWithValue1" minOccurs="0"/>
<xsd:element name="SEGMENT_ATTRIBUTES" type="ku:SEGMENT_ATTRIBUTESType" minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="src" type="ku:srcType"/>
<!-- *******************************************************************
complexType for OVERFLOW
[ INCLUDING ]
[ SEGMENT_ATTRIBUTES ]
******************************************************************** -->
</xsd:complexType>
<xsd:complexType name="EXTERNAL_TABLEType">
<xsd:sequence>
<xsd:element name="ACCESS_DRIVER_TYPE" type="ku:char30ElementWithValue1"/>
<xsd:element name="DEFAULT_DIRECTORY" type="ku:char30ElementWithValue1"/>
<xsd:element name="ACCESS_PARAMETERS" type="ku:stringElementWithValue1"/>
<xsd:element name="LOCATION" type="ku:LOCATIONType"/>
<xsd:element name="REJECT_LIMIT" type="ku:REJECT_LIMITTypeWithValue1" minOccurs="0"/>
<xsd:element name="INMEMORY" type="ku:INMEMORYType" minOccurs="0"/>
</xsd:sequence>
<!-- *******************************************************************
complexType for EXTERNAL_TABLE
ACCESS_DRIVER_TYPE
DEFAULT_DIRECTORY
ACCESS_PARAMETERS
LOCATION
[ REJECT_LIMIT ]
******************************************************************** -->
</xsd:complexType>
<xsd:simpleType name="REJECT_LIMITType1">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="UNLIMITED"/>
</xsd:restriction>
<!-- *******************************************************************
REJECT_LIMIT - non negative integer or UNLIMITED
******************************************************************** -->
</xsd:simpleType>
<xsd:simpleType name="REJECT_LIMITType">
<xsd:union memberTypes="ku:REJECT_LIMITType1 xsd:nonNegativeInteger"/>
</xsd:simpleType>
<xsd:complexType name="REJECT_LIMITTypeWithValue1">
<xsd:simpleContent>
<xsd:extension base="ku:REJECT_LIMITType">
<xsd:attribute name="value1" type="ku:REJECT_LIMITType"/>
<xsd:attribute name="src" type="ku:srcType"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<xsd:complexType name="LOCATIONType">
<xsd:sequence>
<xsd:element name="LOCATION_ITEM" type="ku:LOCATION_ITEMType" maxOccurs="unbounded"/>
</xsd:sequence>
<!-- *******************************************************************
LOCATION - list of
LOCATION_ITEM
[ DIRECTORY ]
NAME
******************************************************************** -->
</xsd:complexType>
<xsd:complexType name="LOCATION_ITEMType">
<xsd:sequence>
<xsd:element name="DIRECTORY" type="ku:char30ElementWithValue1" minOccurs="0"/>
<xsd:element name="NAME" type="ku:char30ElementWithValue1"/>
</xsd:sequence>
<xsd:attribute name="src" type="ku:srcType"/>
</xsd:complexType>
<xsd:complexType name="CLUSTER_TABLEType">
<xsd:sequence>
<xsd:group ref="ku:SCHEMA_NAMEGroup"/>
<xsd:element name="COL_LIST" type="ku:SimpleCOL_LISTType"/>
</xsd:sequence>
<!-- *******************************************************************
complexType for CLUSTER_TABLE
SCHEMA
NAME
COL_LIST - SimpleCOL_LISTType defined in kuscomm.xsd
******************************************************************** -->
</xsd:complexType>
<xsd:complexType name="TablePropertiesType">
<xsd:sequence>
<xsd:element name="INDEXING" type="ku:OnOffTypeWithValue1" minOccurs="0"/>
<xsd:element name="COLUMN_PROPERTIES" type="ku:COLUMN_PROPERTIESType" minOccurs="0"/>
<xsd:element name="XMLTYPE_VIRTUAL_COLUMNS" type="ku:XMLTYPE_VIRTUAL_COLUMNSType" minOccurs="0"/>
<xsd:element name="CLUSTERING" type="ku:CLUSTERINGType" minOccurs="0"/>
<!-- sxml diff doc can contain one of each -->
<xsd:choice id="TablePartitioning" minOccurs="0" maxOccurs="2">
<xsd:element name="RANGE_PARTITIONING" type="ku:RANGE_PARTITIONINGType"/>
<xsd:element name="HASH_PARTITIONING" type="ku:HASH_PARTITIONINGType"/>
<xsd:element name="LIST_PARTITIONING" type="ku:LIST_PARTITIONINGType"/>
<xsd:element name="REFERENCE_PARTITIONING" type="ku:REFERENCE_PARTITIONINGType"/>
<xsd:element name="SYSTEM_PARTITIONING" type="ku:SYSTEM_PARTITIONINGType"/>
</xsd:choice>
<!-- sxml diff doc can contain one of each -->
<xsd:choice minOccurs="0" maxOccurs="2">
<xsd:element name="CACHE" type="ku:EmptyType" minOccurs="0"/>
<xsd:element name="RESULT_CACHE" type="ku:ResultCacheTypeWithValue1" minOccurs="0"/>
<!-- sxml diff doc can contain one of each -->
<xsd:choice minOccurs="0" maxOccurs="2">
<xsd:element name="PARALLEL" type="ku:PARALLELTypeWithValue1"/>
<xsd:element name="PARALLEL_DEGREE" type="ku:OldPARALLELType"/>
</xsd:choice>
</xsd:choice>
<xsd:element name="ROW_DEPENDENCIES" type="ku:EmptyType" minOccurs="0"/>
<xsd:element name="ROW_MOVEMENT" type="ku:EmptyType" minOccurs="0"/>
<xsd:element name="FLASHBACK_ARCHIVE" type="ku:char30ElementWithValue1" minOccurs="0"/>
<xsd:element name="ROW_ARCHIVAL" type="ku:EmptyType" minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="src" type="ku:srcType"/>
<!-- *******************************************************************
complexType for TABLE_PROPERTIES
[ INDEXING ]
[ COLUMN_PROPERTIES ]
[ XMLTYPE_VIRTUAL_COLUMNS ]
[ CLUSTERING ]
[ ( RANGE_PARTITIONING |
HASH_PARTITIONING |
LIST_PARTITIONING ) ]
[ CACHE ]
[ PARALLEL ]
[ ROW_DEPENDENCIES ]
[ ROW_MOVEMENT ]
[ FLASHBACK_ARCHIVE ]
******************************************************************** -->
</xsd:complexType>
<xsd:complexType name="COLUMN_PROPERTIESType">
<xsd:sequence>
<xsd:element name="COL_LIST">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="COL_LIST_ITEM" type="ku:TableColPropsCOL_LIST_ITEMType" maxOccurs="1000"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
<!-- *******************************************************************
complexType for COLUMN_PROPERTIES
COL_LIST - up to 1000
COL_LIST_ITEM
NAME
DATATYPE
choice of
Substitutable Col Properties
Nested table Col Properties
Varray Col Properties
LOB Col Properties
XMLType Col Properties
******************************************************************** -->
</xsd:complexType>
<xsd:complexType name="TableColPropsCOL_LIST_ITEMType">
<xsd:sequence>
<!-- length 4000 because name may be attr name -->
<xsd:element name="NAME" type="ku:char4000ElementWithValue1"/>
<xsd:element name="DATATYPE" type="ku:TypeNameElementWithValue1"/>
<xsd:choice>
<xsd:group ref="ku:SubstitutableColProperties"/>
<xsd:group ref="ku:NestedTableColProperties"/>
<xsd:group ref="ku:VarrayColProperties"/>
<xsd:group ref="ku:LOB_Properties"/>
<xsd:group ref="ku:XMLTypeColProperties"/>
</xsd:choice>
</xsd:sequence>
<xsd:attribute name="src" type="ku:srcType"/>
</xsd:complexType>
<xsd:group name="SubstitutableColProperties">
<!-- *******************************************************************
Substitutable Col Properties
choice of
OF_TYPE
SUBSTITUTABLE
******************************************************************** -->
<xsd:sequence>
<!-- sxml diff doc can contain one of each -->
<xsd:choice maxOccurs="2">
<xsd:element name="OF_TYPE" type="ku:char30ElementWithValue1"/>
<xsd:element name="SUBSTITUTABLE" type="ku:YNElementWithValue1"/>
</xsd:choice>
</xsd:sequence>
</xsd:group>
<xsd:group name="NestedTableColProperties">
<!-- *******************************************************************
Nested table Col Properties
NESTED_TABLE_PROPERTIES
STORAGE_TABLE
RETURN_AS
******************************************************************** -->
<xsd:sequence>
<xsd:element name="NESTED_TABLE_PROPERTIES">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="STORAGE_TABLE" type="ku:STORAGE_TABLEType"/>
<xsd:element name="RETURN_AS" type="ku:RETURN_ASTypeWithValue1"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:group>
<xsd:complexType name="STORAGE_TABLEType">
<xsd:sequence>
<xsd:group ref="ku:SCHEMA_NAMEGroup"/>
<xsd:element name="PRIMARY_KEY_CONSTRAINT_LIST" type="ku:PRIMARY_KEY_CONSTRAINT_LISTType" minOccurs="0"/>
<xsd:element name="SUPPLEMENTAL_LOGGING" type="ku:SUPPLEMENTAL_LOGGINGType" minOccurs="0"/>
<xsd:element name="PHYSICAL_PROPERTIES" type="ku:PhysicalPropertiesType" minOccurs="0"/>
<xsd:element name="TABLE_PROPERTIES" type="ku:TablePropertiesType" minOccurs="0"/>
</xsd:sequence>
<!-- *******************************************************************
complexType for STORAGE_TABLE
SCHEMA
NAME
[ PRIMARY_KEY_CONSTRAINT_LIST ]
[ SUPPLEMENTAL_LOGGING ]
[ PHYSICAL_PROPERTIES ]
[ TABLE_PROPERTIES ]
******************************************************************** -->
</xsd:complexType>
<xsd:simpleType name="RETURN_ASType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="LOCATOR"/>
<xsd:enumeration value="VALUE"/>
</xsd:restriction>
<!-- *******************************************************************
RETURN_AS - one of LOCATOR, VALUE
******************************************************************** -->
</xsd:simpleType>
<xsd:complexType name="RETURN_ASTypeWithValue1">
<xsd:simpleContent>
<xsd:extension base="ku:RETURN_ASType">
<xsd:attribute name="value1" type="ku:RETURN_ASType"/>
<xsd:attribute name="src" type="ku:srcType"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<xsd:group name="VarrayColProperties">
<!-- *******************************************************************
Varray Col Properties
VARRAY_PROPERTIES
[ Substitutable Col Properties ]
STORE_AS
Choice of
Nested Table Col Properties
LOB col properties
******************************************************************** -->
<xsd:sequence>
<xsd:element name="VARRAY_PROPERTIES">
<xsd:complexType>
<xsd:sequence>
<xsd:group ref="ku:SubstitutableColProperties" minOccurs="0"/>
<xsd:element name="STORE_AS" type="ku:VarraySTORE_ASTypeWithValue1"/>
<xsd:choice>
<xsd:group ref="ku:NestedTableColProperties"/>
<xsd:group ref="ku:LOB_Properties"/>
</xsd:choice>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:group>
<xsd:simpleType name="VarraySTORE_ASType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="LOB"/>
<xsd:enumeration value="TABLE"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="VarraySTORE_ASTypeWithValue1">
<xsd:simpleContent>
<xsd:extension base="ku:VarraySTORE_ASType">
<xsd:attribute name="value1" type="ku:VarraySTORE_ASType"/>
<xsd:attribute name="src" type="ku:srcType"/>
</xsd:extension>
</xsd:simpleContent>
<!-- *******************************************************************
STORE_AS - one of LOB, TABLE
******************************************************************** -->
</xsd:complexType>
<xsd:complexType name="LOBINDEXType">
<xsd:sequence>
<xsd:element name="NAME" type="ku:char30ElementWithValue1" minOccurs="0"/>
<xsd:element name="PCTFREE" type="ku:pctElementWithValue1" minOccurs="0"/>
<xsd:element name="INITRANS" type="ku:int255ElementWithValue1" minOccurs="0"/>
<xsd:element name="MAXTRANS" type="ku:int255ElementWithValue1" minOccurs="0"/>
<xsd:element name="STORAGE" type="ku:STORAGEType" minOccurs="0"/>
<xsd:element name="TABLESPACE" type="ku:char30ElementWithValue1" minOccurs="0"/>
<xsd:element name="LOGGING" type="ku:YNElementWithValue1" minOccurs="0"/>
<xsd:element name="KEYCOMPRESS" type="ku:KeyCompressTypeWithValue1" minOccurs="0"/>
<xsd:element name="REVERSE" type="ku:EmptyType" minOccurs="0"/>
<xsd:element name="INVISIBLE" type="ku:EmptyType" minOccurs="0"/>
<xsd:choice minOccurs="0" maxOccurs="2">
<xsd:element name="PARALLEL" type="ku:PARALLELTypeWithValue1"/>
<xsd:element name="PARALLEL_DEGREE" type="ku:OldPARALLELType"/>
</xsd:choice>
</xsd:sequence>
<!-- *******************************************************************
complexType for LOBINDEX - taken from INDEX_ATTRIBUTES
[ NAME ]
[ PCTFREE ]
[ INITRANS ]
[ MAXTRANS ]
[ STORAGE ]
[ TABLESPACE ]
[ LOGGING ]
[ COMPRESS ]
[ REVERSE ]
[ INVISIBLE ]
[ ( PARALLEL | PARALLEL_DEGREE ) ]
******************************************************************** -->
</xsd:complexType>
<xsd:group name="LOB_Properties">
<!-- *******************************************************************
LOB Col Properties
LOB_PROPERTIES
STORAGE_TABLE
[ SCHEMA and NAME ]
[ TABLESPACE ]
[ STORAGE_IN_ROW ]
[ STORAGE ]
[ CHUNK ]
[ PCTVERSION ]
[ CACHE ]
[ LOGGING ]
LOBINDEX
******************************************************************** -->
<xsd:sequence>
<xsd:element name="LOB_PROPERTIES">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="STORAGE_TABLE">
<xsd:complexType>
<xsd:sequence>
<xsd:group ref="ku:SCHEMA_NAMEGroup" minOccurs="0"/>
<xsd:element name="TABLESPACE" type="ku:char30ElementWithValue1" minOccurs="0"/>
<xsd:element name="SECUREFILE" type="ku:EmptyType" minOccurs="0"/>
<xsd:element name="STORAGE_IN_ROW" type="ku:EmptyType" minOccurs="0"/>
<xsd:element name="STORAGE" type="ku:STORAGEType" minOccurs="0"/>
<xsd:element name="CHUNK" type="ku:intElementWithValue1" minOccurs="0"/>
<xsd:choice minOccurs="0" maxOccurs="2">
<xsd:element name="PCTVERSION" type="ku:pctElementWithValue1"/>
<xsd:sequence>
<xsd:element name="RETENTION" type="ku:LobretentionTypeWithValue1"/>
<xsd:element name="MINTIME" type="ku:intElementWithValue1" minOccurs="0"/>
</xsd:sequence>
</xsd:choice>
<!--xsd:element name="FREEPOOLS"
type="ku:intElementWithValue1"
minOccurs="0"/-->
<xsd:element name="CACHE" type="ku:LOBCACHEElementWithValue1" minOccurs="0"/>
<xsd:element name="LOGGING" type="ku:YNElementWithValue1" minOccurs="0"/>
<xsd:element name="LOBENCRYPT" type="ku:ENCRYPTType" minOccurs="0"/>
<xsd:element name="LOBDECRYPT" type="ku:EmptyType" minOccurs="0"/>
<xsd:element name="LOBCOMPRESS" type="ku:LOBCOMPRESSElementWithValue1" minOccurs="0"/>
<xsd:element name="DEDUPLICATE" type="ku:LOBDEDUPLICATEElementWithValue1" minOccurs="0"/>
<xsd:element name="VALIDATE" type="ku:YNElementWithValue1" minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="LOBINDEX" type="ku:LOBINDEXType" minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:group>
<xsd:simpleType name="LOBCACHEElement">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Y"/>
<xsd:enumeration value="N"/>
<xsd:enumeration value="READS"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="LOBCACHEElementWithValue1">
<xsd:simpleContent>
<xsd:extension base="ku:LOBCACHEElement">
<xsd:attribute name="value1" type="ku:LOBCACHEElement"/>
<xsd:attribute name="src" type="ku:srcType"/>
</xsd:extension>
</xsd:simpleContent>
<!-- *******************************************************************
CACHE - one of Y, N, READS
******************************************************************** -->
</xsd:complexType>
<xsd:simpleType name="LOBCOMPRESSElement">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="HIGH"/>
<xsd:enumeration value="MEDIUM"/>
<xsd:enumeration value="LOW"/>
<!--xsd:enumeration value="N"/-->
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="LOBCOMPRESSElementWithValue1">
<xsd:simpleContent>
<xsd:extension base="ku:LOBCOMPRESSElement">
<xsd:attribute name="value1" type="ku:LOBCOMPRESSElement"/>
<xsd:attribute name="src" type="ku:srcType"/>
</xsd:extension>
</xsd:simpleContent>
<!-- *******************************************************************
LOBCOMPRESS - one of HIGH, MEDIUM, LOW, or NO
******************************************************************** -->
</xsd:complexType>
<xsd:simpleType name="LOBDEDUPLICATEElement">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="LOB"/>
<xsd:enumeration value="OBJECT"/>
<!--xsd:enumeration value="N"/-->
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="LOBDEDUPLICATEElementWithValue1">
<xsd:simpleContent>
<xsd:extension base="ku:LOBDEDUPLICATEElement">
<xsd:attribute name="value1" type="ku:LOBDEDUPLICATEElement"/>
<xsd:attribute name="src" type="ku:srcType"/>
</xsd:extension>
</xsd:simpleContent>
<!-- *******************************************************************
LOBDEDUPLICATE - one of LOB, OBJECT or N
******************************************************************** -->
</xsd:complexType>
<xsd:group name="XMLTypeColProperties">
<!-- *******************************************************************
XMLType Col Properties
XMLTYPE_PROPERTIES
XMLTYPE_STORAGE
STORE_AS
[ LOB Col Properties ]
[ XMLSCHEMA ]
[ ELEMENT ]
[ ID ]
[ ALLOW_ANYSCHEMA ]
[ DISALLOW_NONSCHEMAS ]
[ OUT_OF_LINE ]
******************************************************************** -->
<xsd:sequence>
<xsd:element name="XMLTYPE_PROPERTIES">
<xsd:complexType>
<xsd:group ref="ku:XMLTypeColProperties1"/>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:group>
<xsd:group name="XMLTypeColProperties1">
<xsd:sequence>
<xsd:element name="XMLTYPE_STORAGE">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="STORE_AS" type="ku:XMLTypeSTORE_ASTypeWithValue1"/>
<xsd:group ref="ku:LOB_Properties" minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="XMLSCHEMA" type="ku:stringElementWithValue1" minOccurs="0"/>
<xsd:element name="ELEMENT" type="ku:stringElementWithValue1" minOccurs="0"/>
<xsd:element name="ID" type="ku:intElementWithValue1" minOccurs="0"/>
<xsd:element name="ALLOW_ANYSCHEMA" type="ku:EmptyType" minOccurs="0"/>
<xsd:element name="DISALLOW_NONSCHEMA" type="ku:EmptyType" minOccurs="0"/>
<xsd:element name="OUT_OF_LINE" type="ku:EmptyType" minOccurs="0"/>
</xsd:sequence>
</xsd:group>
<xsd:simpleType name="XMLTypeSTORE_ASType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="LOB"/>
<xsd:enumeration value="BINARY_XML"/>
<xsd:enumeration value="OBJECT_RELATIONAL"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="XMLTypeSTORE_ASTypeWithValue1">
<xsd:simpleContent>
<xsd:extension base="ku:XMLTypeSTORE_ASType">
<xsd:attribute name="value1" type="ku:XMLTypeSTORE_ASType"/>
<xsd:attribute name="src" type="ku:srcType"/>
</xsd:extension>
</xsd:simpleContent>
<!-- *******************************************************************
STORE_AS - one of LOB, OBJECT_RELATIONAL
******************************************************************** -->
</xsd:complexType>
<xsd:complexType name="STORE_INType">
<xsd:sequence>
<xsd:element name="STORE_IN_ITEM" type="ku:char30ElementWithValue1" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="src" type="ku:srcType"/>
<!-- *******************************************************************
STORE_IN - list of tablespaces for interval partitioning
******************************************************************** -->
</xsd:complexType>
<xsd:complexType name="CLUSTERINGType">
<xsd:sequence>
<xsd:element name="JOIN_CLAUSE_LIST" type="ku:ClusteringJOIN_CLAUSE_LISTType" minOccurs="0"/>
<xsd:element name="ORDER" type="ku:ClusteringORDERType"/>
<xsd:element name="ON_LOAD" type="ku:EmptyType" minOccurs="0"/>
<xsd:element name="ON_DATA_MOVEMENT" type="ku:EmptyType" minOccurs="0"/>
<xsd:element name="ZONEMAP" type="ku:char30ElementWithValue1" minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="src" type="ku:srcType"/>
<!-- *******************************************************************
complexType for CLUSTERING
[ clustering_join_clause ]
clustering_order
[ ON_LOAD ]
[ ON_DATA_MOVEMENT ]
[ ZONEMAP ]
******************************************************************** -->
</xsd:complexType>
<xsd:complexType name="ClusteringJOIN_CLAUSE_LISTType">
<xsd:sequence>
<xsd:element name="JOIN_CLAUSE" type="ku:ClusteringJOIN_CLAUSEType" maxOccurs="1000"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ClusteringJOIN_CLAUSEType">
<xsd:sequence>
<xsd:group ref="ku:SCHEMA_NAMEGroup"/>
<xsd:element name="JOIN_LIST" type="ku:JOIN_LISTType"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ClusteringORDERType">
<xsd:sequence>
<xsd:element name="INTERLEAVED" type="ku:EmptyType" minOccurs="0"/>
<xsd:element name="COLUMN_GROUPS" type="ku:COLUMN_GROUPSType"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="COLUMN_GROUPSType">
<xsd:sequence>
<xsd:element name="COLUMN_GROUP" type="ku:COLUMN_GROUPType" maxOccurs="1000"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="COLUMN_GROUPType">
<xsd:sequence>
<xsd:element name="COL_LIST" type="ku:ClusteringCOL_LISTType"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ClusteringCOL_LISTType">
<xsd:sequence>
<xsd:element name="COL_LIST_ITEM" type="ku:ClusteringCOL_LIST_ITEMType" maxOccurs="1000"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ClusteringCOL_LIST_ITEMType">
<xsd:sequence>
<xsd:element name="SCHEMA" type="ku:char30ElementWithValue1"/>
<xsd:element name="NAME" type="ku:char30ElementWithValue1"/>
<xsd:element name="COL" type="ku:char30ElementWithValue1"/>
<xsd:element name="CUSTOMER_AREA" minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="RANGE_PARTITIONINGType">
<xsd:sequence>
<xsd:element name="COL_LIST" type="ku:SimpleCOL_LISTType"/>
<xsd:element name="DEFAULT_PHYSICAL_PROPERTIES" type="ku:DEFAULT_PHYSICAL_PROPERTIESType" minOccurs="0"/>
<xsd:element name="INTERVAL" type="ku:char4000ElementWithValue1" minOccurs="0"/>
<xsd:element name="STORE_IN" type="ku:STORE_INType" minOccurs="0"/>
<!-- for composite partitioning -->
<xsd:choice minOccurs="0">
<xsd:element name="HASH_SUBPARTITIONING" type="ku:SUBPARTITIONINGType"/>
<xsd:element name="LIST_SUBPARTITIONING" type="ku:SUBPARTITIONINGType"/>
<xsd:element name="RANGE_SUBPARTITIONING" type="ku:SUBPARTITIONINGType"/>
</xsd:choice>
<xsd:element name="PARTITION_LIST">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="PARTITION_LIST_ITEM" type="ku:TableRangeListPartitionClauseType" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
<!-- *******************************************************************
complexType for RANGE_PARTITIONING (and composite partitioning)
COL_LIST
[ DEFAULT_PHYSICAL_PROPERTIES ]
[ INTERVAL ]
[ STORE IN ]
[ ( HASH_SUBPARTITIONING |
LIST_SUBPARTITIONING |
RANGE_SUBPARTITIONING ) ]
PARTITION_LIST - list of PARTITION_LIST_ITEM
******************************************************************** -->
</xsd:complexType>
<xsd:complexType name="DEFAULT_PHYSICAL_PROPERTIESType">
<xsd:sequence>
<xsd:choice maxOccurs="2">
<xsd:element name="INMEMORY" type="ku:INMEMORYType" minOccurs="0"/>
<xsd:element name="HEAP_TABLE" type="ku:HEAP_TABLEType"/>
<xsd:element name="INDEX_ORGANIZED_TABLE" type="ku:INDEX_ORGANIZED_TABLEType"/>
</xsd:choice>
</xsd:sequence>
<!-- *******************************************************************
complexType for DEFAULT_PHYSICAL_PROPERTIES
choice of
IOT Physical Properties
Heap Physical Properties
******************************************************************** -->
</xsd:complexType>
<xsd:complexType name="TableRangeListPartitionClauseType">
<xsd:sequence>
<xsd:element name="NAME" type="ku:char30ElementWithValue1" minOccurs="0"/>
<xsd:element name="INDEXING" type="ku:OnOffTypeWithValue1" minOccurs="0"/>
<xsd:element name="VALUES" type="ku:char4000ElementWithValue1"/>
<xsd:element name="PHYSICAL_PROPERTIES" type="ku:DEFAULT_PHYSICAL_PROPERTIESType" minOccurs="0"/>
<!-- TBS: Only VARRAY or LOB are allowed by SQL, but this schema
allows all column properties -->
<xsd:element name="COLUMN_PROPERTIES" type="ku:COLUMN_PROPERTIESType" minOccurs="0"/>
<xsd:element name="SUBPARTITION_LIST" type="ku:SUBPARTITION_LISTType" minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="src" type="ku:srcType"/>
<!-- *******************************************************************
complexType for PARTITION_LIST_ITEM (for range and list partitions)
NAME
VALUES
[ SEGMENT_ATTRIBUTES ]
[ PHYSICAL_PROPERTIES ]
[ COLUMN_PROPERTIES ]
[ SUBPARTITION_LIST ]
******************************************************************** -->
</xsd:complexType>
<xsd:complexType name="SUBPARTITION_LISTType">
<xsd:sequence>
<xsd:element name="SUBPARTITION_LIST_ITEM" maxOccurs="unbounded">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="NAME" type="ku:char30ElementWithValue1"/>
<xsd:element name="VALUES" type="ku:char4000ElementWithValue1" minOccurs="0"/>
<xsd:element name="INMEMORY" type="ku:INMEMORYType" minOccurs="0"/>
<xsd:element name="STORAGE" type="ku:STORAGEType" minOccurs="0"/>
<xsd:element name="TABLESPACE" type="ku:char30ElementWithValue1" minOccurs="0"/>
<xsd:element name="NO_CELLMEMORY" type="ku:EmptyType" minOccurs="0"/>
<xsd:element name="CELLMEMORY" type="ku:CellMemoryTypeWithValue1" minOccurs="0"/>
<xsd:element name="COMPRESS" type="ku:TableCompressTypeWithValue1" minOccurs="0"/>
<xsd:element name="COMPRESS_LEVEL" type="ku:TableCompressLevelWithValue1" minOccurs="0"/>
<xsd:element name="ILM_POLICIES" type="ku:ILM_POLICIESType" minOccurs="0"/>
<xsd:element name="INDEXING" type="ku:OnOffTypeWithValue1" minOccurs="0"/>
<!-- TBS: Only VARRAY or LOB -->
<xsd:element name="COLUMN_PROPERTIES" type="ku:COLUMN_PROPERTIESType" minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="src" type="ku:srcType"/>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="src" type="ku:srcType"/>
<!-- *******************************************************************
complexType for SUBPARTITION_LIST
unbounded list of
SUBPARTITION_LIST_ITEM
NAME
[ VALUES ]
[ TABLESPACE ]
[ COLUMN_PROPERTIES ]
******************************************************************** -->
</xsd:complexType>
<xsd:complexType name="HASH_PARTITIONINGType">
<xsd:sequence>
<xsd:element name="COL_LIST" type="ku:SimpleCOL_LISTType"/>
<xsd:element name="DEFAULT_PHYSICAL_PROPERTIES" type="ku:DEFAULT_PHYSICAL_PROPERTIESType" minOccurs="0"/>
<!-- for composite partitioning -->
<xsd:choice minOccurs="0">
<xsd:element name="HASH_SUBPARTITIONING" type="ku:SUBPARTITIONINGType"/>
<xsd:element name="LIST_SUBPARTITIONING" type="ku:SUBPARTITIONINGType"/>
<xsd:element name="RANGE_SUBPARTITIONING" type="ku:SUBPARTITIONINGType"/>
</xsd:choice>
<xsd:choice>
<xsd:element name="PARTITIONS_BY_QUANTITY" type="ku:partitionByQuantityType"/>
<xsd:element name="PARTITION_LIST" type="ku:partitionListType"/>
</xsd:choice>
</xsd:sequence>
<!-- *******************************************************************
complexType for HASH_PARTITIONING
COL_LIST
[ DEFAULT_PHYSICAL_PROPERTIES]
[PARTITION_LIST] - list of PARTITION_LIST_ITEM
[PARTITION_BY_QUANTITY]
******************************************************************** -->
</xsd:complexType>
<xsd:complexType name="partitionListType">
<xsd:sequence>
<xsd:element name="PARTITION_LIST_ITEM" type="ku:TableHashPartitionClauseType" maxOccurs="unbounded"/>
</xsd:sequence>
<!-- *******************************************************************
complexType for PARTITIONLISTTYPE
List of Partitions
******************************************************************** -->
</xsd:complexType>
<xsd:complexType name="TableHashPartitionClauseType">
<xsd:sequence>
<xsd:element name="NAME" type="ku:char30ElementWithValue1" minOccurs="0"/>
<xsd:element name="SEGMENT_ATTRIBUTES" type="ku:HashPartitionSEGMENT_ATTRIBUTESType" minOccurs="0"/>
<!-- TBS: Only VARRAY or LOB -->
<xsd:element name="COLUMN_PROPERTIES" type="ku:COLUMN_PROPERTIESType" minOccurs="0"/>
<xsd:element name="COMPRESS" type="ku:TableCompressTypeWithValue1" minOccurs="0"/>
<xsd:element name="INMEMORY" type="ku:INMEMORYType" minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="src" type="ku:srcType"/>
<!-- *******************************************************************
complexType for PARTITION_LIST_ITEM (for hash partitions)
NAME
[ SEGMENT_ATTRIBUTES ]
[ COLUMN_PROPERTIES ]
******************************************************************** -->
</xsd:complexType>
<xsd:complexType name="HashPartitionSEGMENT_ATTRIBUTESType">
<xsd:sequence>
<xsd:choice minOccurs="0" maxOccurs="2">
<xsd:element name="SEGMENT_CREATION_DEFERRED" type="ku:EmptyType" minOccurs="0"/>
<xsd:element name="SEGMENT_CREATION_IMMEDIATE" type="ku:EmptyType" minOccurs="0"/>
</xsd:choice>
<xsd:element name="TABLESPACE" type="ku:char30ElementWithValue1" minOccurs="0"/>
<xsd:element name="OVERFLOW" minOccurs="0">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="TABLESPACE" type="ku:char30ElementWithValue1"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
<!-- *******************************************************************
complexType for SEGMENT_ATTRIBUTES for hash partitions
[ TABLESPACE ]
[ OVERFLOW
TABLESPACE
]
******************************************************************** -->
</xsd:complexType>
<xsd:complexType name="LIST_PARTITIONINGType">
<xsd:sequence>
<xsd:element name="COL_LIST" type="ku:SimpleCOL_LISTType"/>
<xsd:element name="DEFAULT_PHYSICAL_PROPERTIES" type="ku:DEFAULT_PHYSICAL_PROPERTIESType" minOccurs="0"/>
<xsd:element name="AUTOMATIC" minOccurs="0" maxOccurs="1"/>
<xsd:element name="STORE_IN" type="ku:STORE_INType" minOccurs="0"/>
<!-- for composite partitioning -->
<xsd:choice minOccurs="0">
<xsd:element name="HASH_SUBPARTITIONING" type="ku:SUBPARTITIONINGType"/>
<xsd:element name="LIST_SUBPARTITIONING" type="ku:SUBPARTITIONINGType"/>
<xsd:element name="RANGE_SUBPARTITIONING" type="ku:SUBPARTITIONINGType"/>
</xsd:choice>
<xsd:element name="PARTITION_LIST">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="PARTITION_LIST_ITEM" type="ku:TableRangeListPartitionClauseType" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
<!-- *******************************************************************
complexType for LIST_PARTITIONING
COL_LIST
[ DEFAULT_PHYSICAL_PROPERTIES]
[ AUTOMATIC ]
[ STORE IN ]
[ ( HASH_SUBPARTITIONING |
LIST_SUBPARTITIONING |
RANGE_SUBPARTITIONING ) ]
PARTITION_LIST - list of PARTITION_LIST_ITEM
******************************************************************** -->
</xsd:complexType>
<xsd:complexType name="REFERENCE_PARTITIONINGType">
<xsd:sequence>
<xsd:element name="CONSTRAINT" type="ku:char30ElementWithValue1" minOccurs="0"/>
<xsd:element name="DEFAULT_PHYSICAL_PROPERTIES" type="ku:DEFAULT_PHYSICAL_PROPERTIESType" minOccurs="0"/>
<xsd:element name="PARTITION_LIST">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="PARTITION_LIST_ITEM" type="ku:ReferencePartitionListItemType" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
<!-- *******************************************************************
complexType for REFERENCE_PARTITIONING
CONSTRAINT
[ DEFAULT_PHYSICAL_PROPERTIES]
PARTITION_LIST
******************************************************************** -->
</xsd:complexType>
<xsd:complexType name="ReferencePartitionListItemType">
<xsd:sequence>
<xsd:element name="NAME" type="ku:char30ElementWithValue1" minOccurs="0"/>
<xsd:element name="PHYSICAL_PROPERTIES" type="ku:DEFAULT_PHYSICAL_PROPERTIESType" minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="src" type="ku:srcType"/>
<!-- *******************************************************************
complexType for PARTITION_LIST_ITEM (for reference and system partitions)
NAME
[ PHYSICAL_PROPERTIES ]
******************************************************************** -->
</xsd:complexType>
<xsd:complexType name="SYSTEM_PARTITIONINGType">
<xsd:sequence>
<xsd:element name="DEFAULT_PHYSICAL_PROPERTIES" type="ku:DEFAULT_PHYSICAL_PROPERTIESType" minOccurs="0"/>
<xsd:element name="PARTITION_LIST">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="PARTITION_LIST_ITEM" type="ku:ReferencePartitionListItemType" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
<!-- *******************************************************************
complexType for SYSTEM_PARTITIONING
[ DEFAULT_PHYSICAL_PROPERTIES]
PARTITION_LIST
******************************************************************** -->
</xsd:complexType>
<xsd:complexType name="SUBPARTITIONINGType">
<xsd:sequence>
<xsd:element name="COL_LIST" type="ku:SimpleCOL_LISTType"/>
<!-- The following atrributes only apply to one type of subpartition:
AUTOMATIC for list subpartitions and INTERVAL for range
subpartitions. Conceivably this common subpartitioning type
should get broken up into three separate ones so each
subpartition type has its own attributes.-->
<xsd:choice minOccurs="0" maxOccurs="1">
<xsd:element name="AUTOMATIC"/>
<xsd:element name="INTERVAL" type="ku:char4000ElementWithValue1"/>
</xsd:choice>
<xsd:choice>
<xsd:element name="SUBPARTITION_COUNT" type="ku:int32766ElementWithValue1" minOccurs="0"/>
<xsd:element name="SUBPARTITION_TEMPLATE" minOccurs="0">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="SUBPARTITION_LIST" type="ku:SUBPARTITION_LISTType"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:sequence>
<!-- *******************************************************************
complexType for HASH_SUBPARTITIONING and LIST_SUBPARTITIONING
COL_LIST
[ SUBPARTITION_COUNT ]
[ SUBPARTITION_TEMPLATE ]
SUBPARTITION_LIST - list of SUBPARTITION_LIST_ITEM
******************************************************************** -->
</xsd:complexType>
<xsd:complexType name="ObjectTableClause">
<xsd:sequence>
<xsd:element name="OF_TYPE" type="ku:optSCHEMA_NAMEType"/>
<xsd:element name="SUBSTITUTABLE" type="ku:YNElementWithValue1" minOccurs="0"/>
<xsd:element name="OBJECT_COLUMN_PROPERTIES" type="ku:ObjectColumnPropertiesType" minOccurs="0"/>
<xsd:group ref="ku:TableConstraintsGroup"/>
<xsd:element name="SUPPLEMENTAL_LOGGING" type="ku:SUPPLEMENTAL_LOGGINGType" minOccurs="0"/>
<xsd:element name="ON_COMMIT" type="ku:ON_COMMITTypeWithValue1" minOccurs="0"/>
<xsd:element name="OID" type="ku:OIDTypeWithValue1" minOccurs="0"/>
<xsd:element name="OIDINDEX" type="ku:OIDINDEXType" minOccurs="0"/>
<xsd:element name="PHYSICAL_PROPERTIES" type="ku:PhysicalPropertiesType" minOccurs="0"/>
<xsd:element name="TABLE_PROPERTIES" type="ku:TablePropertiesType" minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="src" type="ku:srcType"/>
<!-- *******************************************************************
complex type for OBJECT_TABLE
OF_TYPE
[ SCHEMA ]
NAME
SUBSTITUTABLE - Y, N
[ OBJECT_COLUMN_PROPERTIES ]
[ table constraints ]
[ SUPPLEMENTAL_LOGGING ]
[ ON_COMMIT ]
[ OID ]
[ OID_INDEX ]
[ PHYSICAL_PROPERTIES ]
[ TABLE_PROPERTIES ]
******************************************************************** -->
</xsd:complexType>
<xsd:complexType name="XMLTypeTableClause">
<xsd:sequence>
<xsd:element name="OF_TYPE" type="ku:optSCHEMA_NAMEType"/>
<xsd:element name="COL_LIST" minOccurs="0">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="COL_LIST_ITEM" type="ku:TableCOL_LIST_ITEMType" maxOccurs="1000"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="OBJECT_COLUMN_PROPERTIES" type="ku:ObjectColumnPropertiesType" minOccurs="0"/>
<xsd:group ref="ku:TableConstraintsGroup"/>
<xsd:group ref="ku:XMLTypeColProperties1" minOccurs="0"/>
<xsd:element name="XMLTYPE_VIRTUAL_COLUMNS" type="ku:XMLTYPE_VIRTUAL_COLUMNSType" minOccurs="0"/>
<xsd:element name="ON_COMMIT" type="ku:ON_COMMITTypeWithValue1" minOccurs="0"/>
<xsd:element name="OID" type="ku:OIDTypeWithValue1" minOccurs="0"/>
<xsd:element name="OIDINDEX" type="ku:OIDINDEXType" minOccurs="0"/>
<xsd:element name="PHYSICAL_PROPERTIES" type="ku:PhysicalPropertiesType" minOccurs="0"/>
<xsd:element name="TABLE_PROPERTIES" type="ku:TablePropertiesType" minOccurs="0"/>
</xsd:sequence>
<!-- *******************************************************************
complex type for XMLTYPE_TABLE
OF_TYPE
[ SCHEMA ]
NAME
[ OBJECT_COLUMN_PROPERTIES ]
[ table constraints ]
[ XMLType Col Properties ]
[ XMLTYPE_VIRTUAL_COLUMNS ]
[ ON_COMMIT ]
[ OID ]
[ OID_INDEX ]
[ PHYSICAL_PROPERTIES ]
[ TABLE_PROPERTIES ]
******************************************************************** -->
</xsd:complexType>
<xsd:complexType name="ObjectColumnPropertiesType">
<xsd:sequence>
<xsd:element name="COL_LIST">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="COL_LIST_ITEM" type="ku:ObjTableColumnDefaultType" maxOccurs="1000"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="src" type="ku:srcType"/>
<!-- *******************************************************************
complex type for OBJECT_COLUMN_PROPERTIES
COL_LIST - list of up to 1000 COL_LIST_ITEM
******************************************************************** -->
</xsd:complexType>
<xsd:complexType name="ObjTableColumnDefaultType">
<xsd:sequence>
<xsd:element name="NAME" type="ku:char4000ElementWithValue1"/>
<xsd:element name="DEFAULT" type="ku:char4000ElementWithValue1" minOccurs="0"/>
<xsd:element name="DATATYPE" type="ku:TypeNameElementWithValue1" minOccurs="0"/>
<xsd:element name="LENGTH" type="ku:intElementWithValue1" minOccurs="0"/>
<xsd:element name="CHAR_SEMANTICS" type="ku:EmptyType" minOccurs="0"/>
<xsd:element name="PRECISION" type="ku:intElementWithValue1" minOccurs="0"/>
<xsd:element name="SCALE" type="ku:intElementWithValue1" minOccurs="0"/>
<xsd:element name="NOT_NULL" type="ku:NOT_NULLType" minOccurs="0"/>
<xsd:element name="SEGCOL_NUM" type="ku:intElementWithValue1" minOccurs="0"/>
<xsd:element name="INTCOL_NUM" type="ku:intElementWithValue1" minOccurs="0"/>
<xsd:element name="INTERNAL_NAME" type="ku:char30ElementWithValue1" minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="src" type="ku:srcType"/>
<!-- *******************************************************************
complex type for COL_LIST_ITEM (in OBJECT_COLUMN_PROPERTIES)
NAME - up to 4000 bytes (can be attribute name)
[ DEFAULT ]
[ NOT_NULL ]
******************************************************************** -->
</xsd:complexType>
<xsd:complexType name="OIDINDEXType">
<xsd:sequence>
<xsd:element name="NAME" type="ku:char30ElementWithValue1" minOccurs="0"/>
<xsd:group ref="ku:PhysicalAttributesClause"/>
<xsd:element name="TABLESPACE" type="ku:char30ElementWithValue1" minOccurs="0"/>
</xsd:sequence>
<!-- *******************************************************************
complexType for OIDINDEX
NAME
Physical Attributes
[ TABLESPACE ]
******************************************************************** -->
</xsd:complexType>
<xsd:complexType name="XMLTYPE_VIRTUAL_COLUMNSType">
<xsd:sequence>
<xsd:element name="COL_LIST">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="COL_LIST_ITEM" maxOccurs="1000">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="NAME" type="ku:char30ElementWithValue1" minOccurs="0"/>
<xsd:element name="VIRTUAL" type="ku:char4000ElementWithValue1" minOccurs="0"/>
<xsd:element name="CUSTOMER_AREA" minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="src" type="ku:srcType"/>
<!-- *******************************************************************
complexType for XMLTYPE_VIRTUAL_COLUMNS
NAME
Physical Attributes
[ TABLESPACE ]
******************************************************************** -->
</xsd:complexType>
<xsd:simpleType name="LobretentionType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="AUTO"/>
<xsd:enumeration value="MIN"/>
<xsd:enumeration value="MAX"/>
<xsd:enumeration value="NONE"/>
<xsd:enumeration value="Y"/>
<xsd:enumeration value="N"/>
<xsd:enumeration value=""/>
</xsd:restriction>
<!-- *************************************************************************
simpleType for "LobretentionType
VALUE is one of NONE, AUTO, MAX, MIN with number
*************************************************************************** -->
</xsd:simpleType>
<xsd:complexType name="LobretentionTypeWithValue1">
<xsd:simpleContent>
<xsd:extension base="ku:LobretentionType">
<xsd:attribute name="value1" type="ku:LobretentionType"/>
<xsd:attribute name="src" type="ku:srcType"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<xsd:complexType name="ILM_POLICIESType">
<xsd:sequence>
<xsd:element name="ILM_POLICIES_ITEM" type="ku:ILM_POLICIES_ITEMType" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="src" type="ku:srcType"/>
<!-- *******************************************************************
complexType for ILM_POLICIES
******************************************************************** -->
</xsd:complexType>
<xsd:simpleType name="ILMPolicyInheritType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="TABLESPACE"/>
<xsd:enumeration value="TABLE"/>
<xsd:enumeration value="PARTITION"/>
<xsd:enumeration value="NONE"/>
<xsd:enumeration value=""/>
</xsd:restriction>
<!-- *******************************************************************
simpleType for "ILMPolicyInheritType
VALUE is one of NONE, AUTO, MAX, MIN with number
******************************************************************** -->
</xsd:simpleType>
<xsd:complexType name="ILMPolicyIMCType">
<xsd:choice maxOccurs="2">
<xsd:element name="NO_INMEMORY" type="ku:EmptyType"/>
<xsd:element name="SET" type="ku:char4000ElementWithValue1"/>
<xsd:element name="MODIFY" type="ku:char4000ElementWithValue1"/>
</xsd:choice>
<xsd:attribute name="src" type="ku:srcType"/>
<!-- *******************************************************************
complex type for INMEMORY (in ILM_POLICIES_ITEM)
[ NO_INMEMORY ]
[ MODIFY ]
[ SET ]
******************************************************************** -->
</xsd:complexType>
<xsd:complexType name="ILM_POLICIES_ITEMType">
<xsd:sequence>
<xsd:element name="INHERITED_FROM" type="ku:ILMPolicyInheritType" minOccurs="0"/>
<xsd:element name="DISABLED_NAME" type="ku:char30ElementWithValue1" minOccurs="0"/>
<xsd:choice maxOccurs="2">
<xsd:sequence>
<xsd:element name="COMPRESS" type="ku:TableCompressTypeWithValue1"/>
<xsd:element name="COMPRESS_LEVEL" type="ku:TableCompressLevelWithValue1" minOccurs="0"/>
</xsd:sequence>
<xsd:element name="TIER" type="ku:TIERType"/>
<xsd:element name="INMEMORY" type="ku:ILMPolicyIMCType"/>
</xsd:choice>
<xsd:choice minOccurs="0" maxOccurs="2">
<xsd:element name="SEGMENT" type="ku:EmptyType"/>
<xsd:element name="GROUP" type="ku:EmptyType"/>
<xsd:element name="ROW" type="ku:EmptyType"/>
</xsd:choice>
<xsd:choice maxOccurs="2">
<xsd:element name="ON" type="ku:char30ElementWithValue1"/>
<xsd:element name="AFTER" type="ku:AFTERType"/>
</xsd:choice>
</xsd:sequence>
<!-- *******************************************************************
complexType for ILM_POLICIES_ITEM
******************************************************************** -->
</xsd:complexType>
<xsd:complexType name="TIERType">
<xsd:sequence>
<xsd:element name="TABLESPACE" type="ku:char30ElementWithValue1"/>
<xsd:element name="READ_ONLY" type="ku:EmptyType" minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="src" type="ku:srcType"/>
<!-- *******************************************************************
complexType for TIER
******************************************************************** -->
</xsd:complexType>
<xsd:complexType name="AFTERType">
<xsd:sequence>
<xsd:element name="DAYS" type="ku:intElementWithValue1"/>
<xsd:choice maxOccurs="2">
<xsd:element name="ACCESS" type="ku:LowNoTypeWithValue1"/>
<xsd:element name="CREATION" type="ku:EmptyType"/>
<xsd:element name="MODIFICATION" type="ku:LowNoTypeWithValue1"/>
</xsd:choice>
</xsd:sequence>
<xsd:attribute name="src" type="ku:srcType"/>
<!-- *******************************************************************
complexType for AFTER
******************************************************************** -->
</xsd:complexType>
</xsd:schema>
OHA YOOOO