创建 etx 索引时,必须指定为要建立索引的列的数据类型定义的运算符类。运算符类是一个函数集,GBase 8s 将该函数集与 etx 访问方法相关联,以优化查询并构建索引。
数据类型 | 运算符类 |
---|---|
BLOB | etx_blob_ops |
CLOB | etx_clob_ops |
LVARCHAR | etx_lvarc_ops |
CHAR | etx_char_ops |
VARCHAR | etx_varc_ops |
IfxDocDesc | etx_doc_ops |
IfxMRData | etx_mrd_ops |
下一部分显示了在创建 etx 索引时指定运算符类的示例。