Enterprise Edition Home | Express Edition Home | Previous Page | Next Page   SQL Statements > CREATE OPCLASS >

Default Operator Classes

Each secondary-access method has a default operator class that is associated with it. By default, the CREATE INDEX statement associates the default operator class with an index. For example, the following CREATE INDEX statement creates a B-tree index on the zipcode column and automatically associates the default B-tree operator class with this column:

CREATE INDEX zip_ix ON customer(zipcode)

For each of the secondary-access methods that Dynamic Server provides, it provides a default operator class, as follows:

Important:
To use an R-tree index, you must install a spatial DataBlade module such as the Geodetic DataBlade module or any other third-party DataBlade module that implements the R-tree index. These implement the R-tree operator-class functions.

DataBlade modules can provide other types of secondary-access methods. If a DataBlade module provides a secondary-access method, it might also provide a default operator class. For more information, refer to your DataBlade module user's guide.

Related Information

Related statements: CREATE FUNCTION, CREATE INDEX, and DROP OPCLASS

For information on support functions and how to create and extend an operator class, see IBM Informix User-Defined Routines and Data Types Developer's Guide.

For more about R-tree indexes, see the IBM Informix R-Tree Index User's Guide.

For information about the GLS aspects of the CREATE OPCLASS statement, refer to the IBM Informix GLS User's Guide.

Enterprise Edition Home | Express Edition Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]