Uses of Class
com.couchbase.client.java.kv.DecrementOptions
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.
|
-
Uses of DecrementOptions in com.couchbase.client.java
Methods in com.couchbase.client.java with parameters of type DecrementOptions Modifier and Type Method Description CompletableFuture<CounterResult>
AsyncBinaryCollection. decrement(String id, DecrementOptions options)
Decrements the counter document by one or the number defined in the options.CounterResult
BinaryCollection. 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. -
Uses of DecrementOptions in com.couchbase.client.java.kv
Methods in com.couchbase.client.java.kv that return DecrementOptions Modifier and Type Method Description static DecrementOptions
DecrementOptions. decrementOptions()
Creates a newDecrementOptions
.DecrementOptions
DecrementOptions. delta(long delta)
The amount of which the document value should be decremented.DecrementOptions
DecrementOptions. expiry(Duration expiry)
Set a relative expiration time for the document (by default no expiry is set).DecrementOptions
DecrementOptions. expiry(Instant expiry)
Set an absolute expiration time for the document (by default no expiry is set).DecrementOptions
DecrementOptions. initial(long initial)
The initial value that should be used if the document has not been created yet.