Uses of Class
com.couchbase.client.java.kv.DecrementOptions
-
Packages that use 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.CounterResultBinaryCollection. 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 DecrementOptionsDecrementOptions. decrementOptions()Creates a newDecrementOptions.DecrementOptionsDecrementOptions. delta(long delta)The amount of which the document value should be decremented.DecrementOptionsDecrementOptions. expiry(Duration expiry)Sets the expiry for the document.DecrementOptionsDecrementOptions. expiry(Instant expiry)Sets the expiry for the document.DecrementOptionsDecrementOptions. initial(long initial)The initial value that should be used if the document has not been created yet.
-