Couchbase Java SDK 3.7

Scope scope = bucket.scope("inventory");
Collection collection = scope.collection("airport");
MutationResult result = collection.mutateIn(
        "airport_1254",
        Collections.singletonList(MutateInSpec.upsert("foo", "bar")),
        mutateInOptions().durability(DurabilityLevel.MAJORITY)
);

The Couchbase Java SDK allows applications to access a Couchbase cluster. It offers synchronous APIs as well as reactive and asynchronous equivalents to maximize flexibility and performance.

The Couchbase Java SDK integrates into the Java ecosystem through a number of extensions and connectors, including:


Learn

Take a deep-dive into the SDK concept material and learn more about Couchbase.

Resources

Useful resources to help support your development experience with Couchbase and the Java SDK.

This page covers using our operational Java SDK to connect to the Analytics Service of a Capella Operational or self-managed Couchbase Server cluster. As well as this row-based analytics service, a speedy, column-based analytics database is available for real-time analytics.

Operational Insights SDKs

SDKs for Operational Insights Enterprise — Couchbase’s analytical database for real time apps and operational intelligence (RT-OLAP) — are available for the .NET, Go, Java, Node.js, and Python platforms. See the Operational Insights Enterprise SDK pages for more information.

Currently, different SDKs are needed to connect to Operational Insights Capella — as this service does not have Operational Insights Enterprise’s load balancer, and uses a different connection protocol. Operational Insights Capella SDKs (also known as Columnar SDKs) are available for the Go, Java, Node.js, and Python platforms. See the Operational Insights Capella SDK pages for more information.