Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 10 IndexDef : IndexDef Operations : tibasIndexDef_SetIndexType()

tibasIndexDef_SetIndexType()
Function
Declaration
tibas_status tibasIndexDef_SetIndexType(
tibasIndexDef   indexDef,
tibas_indexType indexType)
Purpose
Sets the index type for a specified index.
Parameters
 
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.
See Also
tibasIndexDef_GetIndexType()
 

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved