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:
The database server implements the operator-class functions for this operator class and registers it as btree_ops in the system catalog tables of a database.
The database server registers this operator class as rtree_ops in the system catalog tables. The database server does not implement the operator-class functions for the default R-tree operator class.
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 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.