The real-time document database that scales from gigabytes to petabytes. Support for JSON document models and Java programming models, including JSONPath query support to store, search, and to manage complex data sets and workloads.
Aerospike Document Database provides comprehensive JSON document database capabilities including the storage, processing, and querying of JSON document data in real time and at scales that have previously been unavailable in other databases and data platforms.
Aerospike Document Database enables developers to create and store JSON document data as an Aerospike Collection Data Type (CDT) object that can then be accessed, queried, and modified using a JSONPath syntax.
The CDT API facilitates list, map, and now document-oriented operations within objects thereby reducing network overhead and client-side computation. CDT operations are highly efficient and add little overhead to read or write calls.
Document Indexing and Aerospike Expressions
Developers wishing to take advantage of Aerospike Document Database will no doubt wish to take advantage of the unparalleled performance and scalability of the Aerospike platform. One of the most powerful technologies for achieving real-time performance and petabyte scaling is the use of set indexes and secondary indexes. Indexes are used to avoid unnecessary scanning of the entire database for your queries. All Aerospike index operations are available for Document Database operations including the enhanced fine-grained secondary indexes.
Aerospike Document Database also supports the powerful Aerospike Expressions functions. Expressions are a domain-specific language for querying and manipulating record metadata and data. Queries using Expressions can perform fast and efficient value-based searches on documents and other datasets in Aerospike.
Document Query Using JSONPath
The CDT API contains all the primitives required to build the Aerospike Document API using the well known JSONPath standard which is modeled on the W3C XPath standard for XML. Like XPath, JSONPath supports CRUD operations via filesystem-like navigation syntax.
JSONPath queries enable developers to query documents stored in Aerospike bins using JSONPath operators, functions and filters. Developers provide a JSONPath query to Aerospike, specifying the relevant record key and the bin name that stores the document, and they retrieve the data matching the query. For more information on JSONPath queries, please refer to this blog.