Uses of Class
com.couchbase.client.java.kv.DecrementOptions
Package
Description
Holds all classes that are needed for the Couchbase Java SDK.
Namespace for various kv-service related classes.
-
Uses of DecrementOptions in com.couchbase.client.java
Modifier and TypeMethodDescriptionAsyncBinaryCollection.decrement
(String id, DecrementOptions options) Decrements the counter document by one or the number defined in the options.BinaryCollection.decrement
(String id, DecrementOptions options) Decrements the counter document by one or the number defined in the options.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
Modifier and TypeMethodDescriptionstatic DecrementOptions
DecrementOptions.decrementOptions()
Creates a newDecrementOptions
.DecrementOptions.delta
(long delta) The amount of which the document value should be decremented.Sets the expiry for the document.Sets the expiry for the document.DecrementOptions.initial
(long initial) The initial value that should be used if the document has not been created yet.