SDKs & Connectors
Couchbase provides several SDKs to allow applications to access a Couchbase cluster (Capella or self-managed), as well as Couchbase Lite — an embedded, NoSQL JSON Document Style database for your mobile apps. To exchange data with other platforms, we offer various Big Data Connectors.
val json = JsonObject("foo" -> "bar", "baz" -> "qux")
collection.reactive.upsert("document-key", json)
.doOnError(err => println(s"Error during upsert: ${err}"))
.doOnNext(_ => println("Success"))
.subscribe()
Columnar SDKs
SDKs for Capella Columnar — Couchbase’s analytical database (RT-OLAP) for real time apps and operational intelligence — are available for the Java, Node.js, and Python platforms. |
Server SDKs
The Couchbase SDKs allow applications to access a Couchbase cluster. They offer traditional synchronous APIs as well as scalable asynchronous APIs to maximize performance.
SDK | Documentation | Hello World Example | API Reference |
---|---|---|---|
.NET SDK |
|||
C SDK |
|||
C++ SDK |
|||
Go SDK |
|||
Java SDK |
|||
Kotlin SDK |
|||
Node.js SDK |
|||
PHP SDK |
|||
Python SDK |
|||
Ruby SDK |
|||
Scala SDK |
SDK Extension Libraries
The SDK Extension Libraries are shipped as separate libraries.
Fields within a JSON document can be securely encrypted by the SDK to support FIPS 140-2 compliance. This is a client-side implementation, with encryption and decryption handled by the Couchbase client SDK.
Health indicators can tell you a lot about the performance of an application. Monitoring them is vital both during its development and production lifecycle. For a database, performance is best encapsulated via per-request performance.
Previously, distributed ACID transactions were available as separate libraries for some of the SDKs. Please note that this feature, available now in most of the SDKs, is incorporated directly into these SDKs.
Capella columnar SDKs
Capella Columnar is an analytical database (RT-OLAP) for real time apps and operational intelligence. Columnar SDKs are tailored to the APIs offered by this service.
Columnar SDK | Documentation | Hello World Example | API Reference |
---|---|---|---|
Java Columnar SDK |
|||
Node.js Columnar SDK |
|||
Python Columnar SDK |
SDK doctor
SDK doctor is a tool to diagnose application-server-side connectivity issues with your Couchbase Cluster. SDK doctor
Mobile Development with Couchbase Lite
Mobile Platform | Documentation | API Reference |
---|---|---|
Couchbase Lite Java Android |
||
Couchbase Lite C# |
||
Couchbase Lite Java |
||
Couchbase Lite Objective-C |
||
Couchbase Lite Swift |
||
Couchbase Lite JavaScript |
Big Data Connectors
ODBC and JDBC drivers enable any application based on the ODBC/JDBC standards, for example Microsoft Excel, QlikView, SAP Lumira, or Tableau, to connect to a Couchbase Server or cluster. ODBC and JDBC Drivers
Couchbase Community
In addition to the Couchbase Support Team, help can be found from the community in our forums, and on our official Couchbase Discord server.
Information on some 3rd-party SDK integrations, such as Spring Data, can be found in the SDK docs.
The developer bootstrap exercises and other tutorials highlight the use of Couchbase SDKs in the stacks you are most likely to use in development, such as Spring Data, Node Ottoman, and Python Flask.