This page describes an older version of the product. The latest stable version is 15.2.

Space Document

The XAP document API exposes the space as Document Store . A document, which is represented by the class SpaceDocument, is essentially collection of key-value pairs, where the keys are strings and the values are primitives, String, Date, other documents, or collections thereof. Most importantly, the Space is aware of the internal structure of a document, and thus can index document properties at any nesting level and expose rich query semantics for retrieving documents.

This section discusses the basic Document API, and also explains XAP support for extending the SpaceDocument class to provide a type-safe wrapper for documents that is much easier to code with, while maintaining the dynamic schema.

XAP also supports interoperability between documents and POJOs via the Space.

Additional Resources