tibasIndexDef_SetFieldNames()

Sets the field names used for a specified secondary index.

Declaration

tibas_status tibasIndexDef_SetFieldNames(
    tibasIndexDef indexDef,
    char*         fieldNames)

Parameters

Parameter Description
indexDef Specifies the IndexDef for the index for which you want to set field names.
fieldNames Pointer to a list of comma-separated values that specify the field names to assign to the index.

Remarks

Use the tibasIndexDef_SetFieldNames() function to change the field names that are currently set for a specified secondary index.

When you create an index definition by calling the tibasIndexDef_Create() function, you define the fields used for the secondary index. You can call the tibasIndexDef_SetFieldNames() function to change the field names.