15.3 SEM_APIS.ADD_SEM_INDEX

Format

SEM_APIS.ADD_SEM_INDEX(
    index_code          IN VARCHAR2,
    tablespace_name     IN VARCHAR2 DEFAULT NULL,
    compression_length  IN NUMBER(38) DEFAULT NULL,
    options             IN VARCHAR2 DEFAULT NULL,
    network_owner       IN VARCHAR2 DEFAULT NULL,
    network_name        IN VARCHAR2 DEFAULT NULL);

Note:

This subprogram will be deprecated in a future release. It is recommended that you use the SEM_APIS.ADD_NETWORK_INDEX subprogram instead.

Description

Creates a semantic network index that results in creation of a non-unique B-tree index in UNUSABLE status for each of the existing models and entailments of the semantic network.

Parameters

index_code

Index code string.

tablespace_name

Destination tablespace for the index.

compression_length

options

network_owner

Owner of the semantic network. (See Table 1-2.)

network_name

Name of the semantic network. (See Table 1-2.)

Usage Notes

You must have DBA privileges to call this procedure.

For an explanation of semantic network indexes, see Using Semantic Network Indexes.

For information about semantic network types and options, see RDF Networks.

Examples

The following example creates a semantic network index with the index code string CSPGM on the models and entailments of the semantic network.

EXECUTE SEM_APIS.ADD_SEM_INDEX('CSPGM');