Package | Description |
---|---|
com.couchbase.client.java |
Holds all classes that are needed for the Couchbase Java SDK.
|
com.couchbase.client.java.kv |
Namespace for various kv-service related classes.
|
Modifier and Type | Method and Description |
---|---|
CounterResult |
BinaryCollection.decrement(String id)
Decrements the counter document by one.
|
CounterResult |
BinaryCollection.decrement(String id,
DecrementOptions options)
Decrements the counter document by one or the number defined in the options.
|
CounterResult |
BinaryCollection.increment(String id)
Increments the counter document by one.
|
CounterResult |
BinaryCollection.increment(String id,
IncrementOptions options)
Increments the counter document by one or the number defined in the options.
|
Modifier and Type | Method and Description |
---|---|
CompletableFuture<CounterResult> |
AsyncBinaryCollection.decrement(String id)
Decrements the counter document by one.
|
Mono<CounterResult> |
ReactiveBinaryCollection.decrement(String id)
Decrements the counter document by one.
|
CompletableFuture<CounterResult> |
AsyncBinaryCollection.decrement(String id,
DecrementOptions options)
Decrements the counter document by one or the number defined in the options.
|
Mono<CounterResult> |
ReactiveBinaryCollection.decrement(String id,
DecrementOptions options)
Decrements the counter document by one or the number defined in the options.
|
CompletableFuture<CounterResult> |
AsyncBinaryCollection.increment(String id)
Increments the counter document by one.
|
Mono<CounterResult> |
ReactiveBinaryCollection.increment(String id)
Increments the counter document by one.
|
CompletableFuture<CounterResult> |
AsyncBinaryCollection.increment(String id,
IncrementOptions options)
Increments the counter document by one or the number defined in the options.
|
Mono<CounterResult> |
ReactiveBinaryCollection.increment(String id,
IncrementOptions options)
Increments the counter document by one or the number defined in the options.
|
Modifier and Type | Method and Description |
---|---|
static CompletableFuture<CounterResult> |
CounterAccessor.decrement(Core core,
DecrementRequest request,
String key,
PersistTo persistTo,
ReplicateTo replicateTo) |
static CompletableFuture<CounterResult> |
CounterAccessor.increment(Core core,
IncrementRequest request,
String key,
PersistTo persistTo,
ReplicateTo replicateTo) |
Copyright © 2020 Couchbase, Inc.. All rights reserved.