Couchbase Java SDK 3.4
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 client allows applications to access a Couchbase database.
It offers synchronous APIs as well as reactive and asynchronous equivalents to maximize flexibility and performance.
Using Your Database
How-to guides to help you start your development journey with Couchbase and the Java SDK.
Getting Started
Transactions
Working with Data
Managing Couchbase
Errors & Diagnostics
Learn
Take a deep-dive into the SDK concept material and learn more about Couchbase.
Data Concepts
Errors & Diagnostics Concepts
Resources
Useful resources to help support your development experience with Couchbase and the Java SDK.