FieldDef
Field definitions describe the format of the data that will be stored in the space.
A valid space definition must contain at least one field definition. Field definitions are created by the factory object and can be put (or taken) from space definitions.
Field definitions can also be re-used and put into as many space definitions as needed (for example when using some fields as foreign keys to correlate tuples stored in different spaces).
- tibasFieldDef_Create()
Returns a new FieldDef instance. The default value of the field is “not nullable.” - tibasFieldDef_CreateEx()
Returns a new fieldDef instance and allows you to specify fieldName, fieldType, and key attributes. - tibasFieldDef_GetName()
Returns the field name for a specified fieldDef object. - tibasFieldDef_GetType()
Returns the type that is set for a specified fieldDef. - tibasFieldDef_IsNullable()
Indicates whether a specified field is nullable. - tibasFieldDef_SetNullable()
Sets a specified field as nullable or not nullable. - tibasFieldDef_SetEncrypted()
Specifies whether the data in a specified tuple field is to be encrypted. - tibasFieldDef_IsEncrypted()
Indicates whether a specified field is set as an encrypted field. - tibasFieldDef_Free()
Destroys allocated resources and frees memory.
Copyright © Cloud Software Group, Inc. All rights reserved.