IndexDef
The IndexDef operations allow you to create secondary indexes, set and retrieve the fields in the indexes, and specify the type of index that is used.
Secondary indexes provide additional search capabilities for browsers, and are useful in querying data that is stored in the persistent database that is created if you implement shared-all persistence.
For additional information on the use of keys and indexes in TIBCO ActiveSpaces data grids, see the “Key Fields” and “Indexes” sections in the TIBCO ActiveSpaces Developer’s Guide, “Performing Basic ActiveSpaces Tasks.”
- tibasIndexDef_Create()
Creates a secondary index definition. - tibasIndexDef_GetName()
Returns the index name for a specified IndexDef. - tibasIndexDef_SetName()
Specifies a new name for a specified index. - tibasIndexDef_GetIndexType()
Returns the index type that is set for a specified index. - tibasIndexDef_SetIndexType()
Sets the index type for a specified index. - tibasIndexDef_GetFieldNames()
Retrieves the field names currently set for a specified secondary index. - tibasIndexDef_SetFieldNames()
Sets the field names used for a specified secondary index. - tibasIndexDef_Free()
Frees the memory used by a specified secondary index and deletes the index. - tibasIndexDefList_Size()
Returns the number of elements in a specified list of IndexDefs. - tibasIndexDefList_Get()
Returns the Index definition for an element at a specified position in an IndexDefList for a specified IndexDef element. - tibasIndexDefList_Free()
Frees the memory used by a specified IndexDefList and deletes the definition list.
Copyright © Cloud Software Group, Inc. All rights reserved.