Enabling Routing in the Space Definition

To enable routing for a specified space, connect to a metaspace, create a SpaceDef object, and then call the tibasSpaceDef_SetRouted() function (C API) or the setRouted method (Java API).

The tibasSpaceDef_SetRouted() function is defined as follows:

tibas_status tibasSpaceDef_SetRouted(
    tibasSpaceDef spaceDef,
    tibas_boolean routed);

where:

spaceDef
 Specifies the SpaceDef object returned to your application by the tibasSpaceDef_Create() function.
routed
 Specifies whether the node data is routed. To route data, specify TIBAS_TRUE; otherwise, specify TIBAS_FALSE.