Methods to Define Fields
ActiveSpaces provides the FieldDef API to handle field definitions. Using the API you can create, field definitions and perform basic operations to Get and Put field definitions.
- Types of Field Definitions
Field definitions describe the format of the data that will be stored in the space. - Key Fields
For the space definition to be valid, at least one of the defined fields must to be used as a key field. - Key Fields for Distribution (Affinity)
When you define key fields for a tuple, ActiveSpaces allows you to define the key fields in a way that controls their distribution over seeders. This feature of ActiveSpaces is called “affinity.” - Adding Fields to a Previously Defined Space
ActiveSpaces allows you to alter the fields in a space that is already defined by using the as-admin utility or by calling Metaspace.alterspace(). The C API and the .NET API provide equivalent operations. There is no disruption in service when you alter the space.
Related concepts
Related reference
Copyright © Cloud Software Group, Inc. All rights reserved.