Guidelines to Define Key Fields

You must define at least one of the fields in the space definition as a key field. ActiveSpaces uses key fields to build a key-value index for the space.

In the Java API, you can specify a set of fields to be used as key fields by using the SpaceDef's setKey method and passing it a number of strings containing the space names.

For detailed information on defining key fields, see Key Fields.

Related concepts