tibasIndexDef_GetIndexType()

Returns the index type that is set for a specified index.

Declaration

tibas_status tibasIndexDef_GetIndexType(
    tibasIndexDef    indexDef,
    tibas_indexType* indexType)

Parameters

Parameter Description
indexDef The IndexDef for the index for which you want to return the index type.
indexType Returns the index type for the index.

Remarks

Use the tibasIndexDef_GetIndexType() 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.