tibasSpaceDef_Create()
Returns a new SpaceDef instance.
Remarks
Use the tibasSpaceDef_Create() function to create a new SpaceDef instance. Once you have created the SpaceDef, you can assign the attributes of the space definition by calling additional tibasSpaceDef functions. For example, you can assign:
- A space name, by calling the tibasSpaceDef_SetName() function.
- The replication count for the space, by calling the tibasSpaceDef_SetReplicationCount() function.
- A distribution role for the space, by calling tibasSpaceDef_SetDistributionPolicy().
After you have set up the attributes of the space, you pass the SpaceDef object to the tibasMetaspace_DefineSpace() function to define the space and then join the space by calling the tibasMetaspace_GetSpace() function or the tibasMetaspace_GetSpaceEx() function.
See Also
See the following function reference topics for more information about defining the space and joining the space.
tibasSpaceDef Functions
tibasSpaceDef_SetCapacity(), tibasSpaceDef_SetEvictionPolicy(), tibasSpaceDef_SetReplicationCount(), tibasSpaceDef_SetKeyDef(), tibasSpaceDef_SetMinSeederCount(), tibasSpaceDef_SetUpdateTransport(), tibasSpaceDef_PutFieldDef(),tibasSpaceDef_AddIndexDef(), tibasSpaceDef_SetSyncReplicated(), tibasSpaceDef_SetDistributionPolicy(), tibasSpaceDef_SetTTL(), tibasSpaceDef_GetLockWait(), tibasSpaceDef_SetPersisted(), tibasSpaceDef_SetPersistenceType(), tibasSpaceDef_SetName()