Developing Client Apps (JSON Tables)

As part of its support for JSON tables, MapR-DB implements the OJAI API library. This section describes how to use MapR-DB's implementation to develop client applications that access MapR-DB JSON tables.

The following shows the general flow for developing client application that access MapR-DB JSON tables:
  1. Make a connection to MapR-DB using the OJAI Connection and Driver interfaces.
  2. Request a MapR-DB JSON table using the JSON DocumentStore.
  3. Specify the table, document, or column family operation.
  4. Perform the operation on the table.
  5. Return the results.
Note: Filters used with Scan operations support regular expressions. When you filter scans on MapR-DB tables, you can use regular expressions that comprise the Perl-Compatible Regular Expressions (PCRE) library as well as a subset of the regular expressions that are supported in java.util.regex.pattern. See HBase Java Regular Expressions Support for a list of supported regular expressions.

Javadocs