tibasIndexDef_SetIndexType()
Sets the index type for a specified index.
Declaration
tibas_status tibasIndexDef_SetIndexType( tibasIndexDef indexDef, tibas_indexType indexType)
Remarks
Use the tibasIndexDef_SetIndexType() function to return the index type for a specified index. The index type can be one of the following:
- TIBAS_INDEX_HASH
- Specifies that indexing is done by using a hash table.
- TIBAS_INDEX_TREE
- Specifies that indexing is done using a tree.
When you first create an index definition by calling the tibasIndexDef_Create() function, the index type is set to the default value—TIBAS_INDEX_HASH. If you want to change the index type to TIBAS_INDEX_TREE, you can use tibasIndexDefSetIndexType() to change it.
Copyright © Cloud Software Group, Inc. All rights reserved.