15.4 SEM_APIS.ALTER_DATATYPE_INDEX
Format
SEM_APIS.ALTER_DATATYPE_INDEX( datatype IN VARCHAR2, command IN VARCHAR2, tablespace_name IN VARCHAR2 DEFAULT NULL, parallel IN PLS_INTEGER DEFAULT NULL, online IN BOOLEAN DEFAULT FALSE, network_owner IN VARCHAR2 DEFAULT NULL, network_name IN VARCHAR2 DEFAULT NULL);
Description
Alters a data type index.
Parameters
- datatype
-
URI of the data type to index.
- command
-
String specifying the command to be performed:
REBUILD
to rebuild the data type index, orUNUSABLE
to marks the data type index as unusable. The value for this parameter is not case-sensitive. - tablespace_name
-
Destination tablespace for the index.
- parallel
-
Degree of parallelism to use when rebuilding the index.
- online
-
TRUE
allows DML operations affecting the index during rebuilding of the index;FALSE
(the default) does not allow DML operations affecting the index during rebuilding of the index. - network_owner
-
Owner of the RDF network. (See Table 1-2.)
- network_name
-
Name of the RDF network. (See Table 1-2.)
Usage Notes
You must have DBA privileges to call this procedure.
For an explanation of data type indexes, see Using Data Type Indexes.
For information about RDF network types and options, see RDF Networks.
Examples
The following example rebuilds the index on xsd:string
typed literals and plain literals in the MY_TBS tablespace.
EXECUTE SEM_APIS.ALTER_DATATYPE_INDEX('http://www.w3.org/2001/XMLSchema#string', command=>'REBUILD', tablespace_name=>'MY_TBS', parallel=>4);
Parent topic: SEM_APIS Package Subprograms