ctdbGetIndexKeyType
Retrieve the key type for this index.
Declaration
CTDBKEY ctdbGetIndexKeyType(CTHANDLE Handle)
Description
ctdbGetIndexKeyType() retrieves the key type for this index. Use ctdbAddIndex() to add an index to a table.
Use ctdbSetIndexKeyType() to set the Index key type.
Returns
ctdbGetIndexKeyType() returns the key type, or CTINDEX_ERROR on error. Allowed key types are listed in FairCom DB API definitions.
See also
ctdbAllocIndex(), ctdbAddIndex(), ctdbSetIndexKeyType()