Native APIs for Querying Couchbase Server with N1QL
This talk was given by Jeff Morris and me on the next generation Couchbase SDKs and how they integrate with N1QL (query language) at our Couchbase Connect 2014 conference in San Francisco.
next generation query language for Couchbase Server § Designed to be similar to SQL § First-Class JSON support § Currently in Developer Preview § See http://query.couchbase.com § Supports SELECT, DML, DDL § SDKs focus is on SELECT for now
Asynchronous (Reactive) using Rx Observables § Synchronous Utilizes a JSON streaming parser and pushes chunks as they arrive Works on a per-bucket basis
with a N1QL DSL § syntax aware (based on the EBNF) § strongly typed § Should be used in favor of the raw string § Makes developing N1QL queries a breeze § Built-in IDE autocomplete awareness § Heavily inspired by jOOQ (http://www.jooq.org/)