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