MapR-DB and Applications
This section contains information on developing client applications for binary and JSON tables.
Why use MapR-DB?
From a developer's point-of-view, MapR-DB provides the following capabilities:
- High performance: No memory copying. No need to retrieve the full document to make updates due the log-based database architecture.
- Easy application development: JSON constructs such as such as maps, arrays, and data types are supported natively.
- Extreme scale for CRUD operations: Enabled by the integration of MapR-DB with the MapR File System, CRUD operations are extremely fast and efficient.
- Flexible data model: MapR-DB can be used as both a document database and a wide-column database. So if the content structure changes, the applications do not need to be re-written.
- Rich query: Integration with Drill for MapR provides a low-latency distributed query engine for large-scale datasets, including structured and semi-structured/nested data.
- Strong data consistency: Consistently fast response with strong data consistency with row/document level ACID transactions and in-memory database options for faster speeds.
Note: MapR has a universal namespace which means that the same namespace is used for files, tables, and streams. A universal namespace streamlines application development for different operations.
How Do I Get Started?
The following diagram illustrates an end-to-end flow associated with getting started.
Note: This flow is not the only way to get started!
- You can go directly to an end-to-end tutorial for getting started with MapR-DB JSON tables. See Getting Started with JSON Tables. A link to this topic is provided in the "Use MapR Examples" section of the following graphic.
- You can skip the step where you add data to your table (via bulkloading or mapr dbshell) and, instead, create a table and add data to the table with an application. See CRUD Operations for JSON Tables.
Useful Developer Resources
|Getting Started and Examples||Tools, Utilities, and Applications||General (Blogs, etc)|
|API Examples for JSON Tables - Java application examples for JSON tables||maprcli and REST API Syntax||App development with OJAI|
|MapR-DB Sample C Application - C application example for binary tables||Utilities for MapR-DB JSON Tables||How to Build Applications on a NoSQL Document Database and Perform Analytics in Place|
|Utilities for MapR-DB Binary Tables||High Performance C APIS on MapR-DB|
|Drill on MapR||Secondary Indexing for MapR-DB using Elasticsearch|