Uses of Class
com.couchbase.client.java.kv.IncrementOptions
Package
Description
Holds all classes that are needed for the Couchbase Java SDK.
Namespace for various kv-service related classes.
-
Uses of IncrementOptions in com.couchbase.client.java
Modifier and TypeMethodDescriptionAsyncBinaryCollection.increment
(String id, IncrementOptions options) Increments the counter document by one or the number defined in the options.BinaryCollection.increment
(String id, IncrementOptions options) Increments the counter document by one or the number defined in the options.ReactiveBinaryCollection.increment
(String id, IncrementOptions options) Increments the counter document by one or the number defined in the options. -
Uses of IncrementOptions in com.couchbase.client.java.kv
Modifier and TypeMethodDescriptionIncrementOptions.delta
(long delta) The amount of which the document value should be incremented.Sets the expiry for the document.Sets the expiry for the document.static IncrementOptions
IncrementOptions.incrementOptions()
Creates a newIncrementOptions
.IncrementOptions.initial
(long initial) The initial value that should be used if the document has not been created yet.