Support functions
Support functions are user-defined functions that the HCL Informix® database server uses to construct and maintain an R-tree index. They are never explicitly executed by end users.
The R-tree access method uses support functions to determine the leaf page on which an index key belongs and to create the special bounding-box-only keys used internally by the R-tree index. For more information on bounding boxes, refer to Bounding boxes.
- Union
- Size
- Inter
You must list the Union, Size, and Inter support functions in the order shown when you execute the CREATE OPCLASS statement to register the operator class with the database server. In other words, you must list the Union, Size, and Inter support functions as the first, second, and third support functions, respectively, in the CREATE OPCLASS statement. This SQL statement is described in Syntax for creating a new operator class.
- SFCbits
- ObjectLength
- SFCvalue
- SetUnion
You are not required to include these support functions in your operator class. However, since these functions are specifically designed to improve the performance of the creation of R-tree indexes, it is highly recommended that you include them in your operator class.
If you decide to include these optional support functions in your operator class, you must list them after the required support functions, in the order shown, when you execute the CREATE OPCLASS statement to register the operator class with the database server. In other words, you must list the SFCbits, ObjectLength, SFCvalue, and SetUnion support functions as the fourth, fifth, sixth, and seventh support functions, respectively, in the CREATE OPCLASS statement. This SQL statement is described in Syntax for creating a new operator class.
You must list the RtreeInfo support function in the eighth position, after Union, Size, and Inter, and the four optional bulk-loading support functions. If you do not provide the four optional bulk-loading support functions in your DataBlade® module, specify NULL in the fourth, fifth, sixth, and seventh positions in the CREATE OPCLASS statement.