Uses of Class
com.couchbase.client.java.datastructures.MutationOptionBuilder
-
Packages that use MutationOptionBuilder Package Description com.couchbase.client.java com.couchbase.client.java.datastructures -
-
Uses of MutationOptionBuilder in com.couchbase.client.java
Methods in com.couchbase.client.java with parameters of type MutationOptionBuilder Modifier and Type Method Description <E> rx.Observable<Boolean>
AsyncBucket. listAppend(String docId, E element, MutationOptionBuilder mutationOptionBuilder)
Push an element to tail of CouchbaseList with additional mutation options provided byMutationOptionBuilder
This method throws under the following conditions: - The producer outpaces the SDK:BackpressureException
- The operation had to be cancelled while on the wire or the retry strategy cancelled it instead of retrying:RequestCancelledException
- If the underlying couchbase document does not exist:DocumentDoesNotExistException
- The durability constraint could not be fulfilled because of a temporary or persistent problem:DurabilityException
.<E> boolean
Bucket. listAppend(String docId, E element, MutationOptionBuilder mutationOptionBuilder)
Push an element to tail of CouchbaseList with additional mutation options provided byMutationOptionBuilder
.<E> boolean
Bucket. listAppend(String docId, E element, MutationOptionBuilder mutationOptionBuilder, long timeout, TimeUnit timeUnit)
Push an element to tail of CouchbaseList with additional mutation options provided byMutationOptionBuilder
This method throws under the following conditions: - The producer outpaces the SDK:BackpressureException
- The operation had to be cancelled while on the wire or the retry strategy cancelled it instead of retrying:RequestCancelledException
- The durability constraint could not be fulfilled because of a temporary or persistent problem:DurabilityException
.<E> rx.Observable<Boolean>
CouchbaseAsyncBucket. listAppend(String docId, E element, MutationOptionBuilder mutationOptionBuilder)
<E> boolean
CouchbaseBucket. listAppend(String docId, E element, MutationOptionBuilder mutationOptionBuilder)
<E> boolean
CouchbaseBucket. listAppend(String docId, E element, MutationOptionBuilder mutationOptionBuilder, long timeout, TimeUnit timeUnit)
<E> rx.Observable<Boolean>
AsyncBucket. listPrepend(String docId, E element, MutationOptionBuilder mutationOptionBuilder)
Shift list head to element in CouchbaseList with additional mutation options provided byMutationOptionBuilder
This method throws under the following conditions: - The producer outpaces the SDK:BackpressureException
- The operation had to be cancelled while on the wire or the retry strategy cancelled it instead of retrying:RequestCancelledException
- The durability constraint could not be fulfilled because of a temporary or persistent problem:DurabilityException
.<E> boolean
Bucket. listPrepend(String docId, E element, MutationOptionBuilder mutationOptionBuilder)
Shift list head to element in CouchbaseList with additional mutation options provided byMutationOptionBuilder
This method throws under the following conditions: - The producer outpaces the SDK:BackpressureException
- The operation had to be cancelled while on the wire or the retry strategy cancelled it instead of retrying:RequestCancelledException
- The durability constraint could not be fulfilled because of a temporary or persistent problem:DurabilityException
.<E> boolean
Bucket. listPrepend(String docId, E element, MutationOptionBuilder mutationOptionBuilder, long timeout, TimeUnit timeUnit)
Shift list head to element in CouchbaseList with additional mutation options provided byMutationOptionBuilder
This method throws under the following conditions: - The producer outpaces the SDK:BackpressureException
- The operation had to be cancelled while on the wire or the retry strategy cancelled it instead of retrying:RequestCancelledException
- The durability constraint could not be fulfilled because of a temporary or persistent problem:DurabilityException
.<E> rx.Observable<Boolean>
CouchbaseAsyncBucket. listPrepend(String docId, E element, MutationOptionBuilder mutationOptionBuilder)
<E> boolean
CouchbaseBucket. listPrepend(String docId, E element, MutationOptionBuilder mutationOptionBuilder)
<E> boolean
CouchbaseBucket. listPrepend(String docId, E element, MutationOptionBuilder mutationOptionBuilder, long timeout, TimeUnit timeUnit)
rx.Observable<Boolean>
AsyncBucket. listRemove(String docId, int index, MutationOptionBuilder mutationOptionBuilder)
Remove an element from an index in CouchbaseList with additional mutation options provided byMutationOptionBuilder
This method throws under the following conditions: -IndexOutOfBoundsException
if index is not found - The producer outpaces the SDK:BackpressureException
- The operation had to be cancelled while on the wire or the retry strategy cancelled it instead of retrying:RequestCancelledException
- If the underlying couchbase document does not exist:DocumentDoesNotExistException
- The durability constraint could not be fulfilled because of a temporary or persistent problem:DurabilityException
.boolean
Bucket. listRemove(String docId, int index, MutationOptionBuilder mutationOptionBuilder)
Remove an element from an index in CouchbaseList with additional mutation options provided byMutationOptionBuilder
This method throws under the following conditions: -IndexOutOfBoundsException
if index is not found - The producer outpaces the SDK:BackpressureException
- The operation had to be cancelled while on the wire or the retry strategy cancelled it instead of retrying:RequestCancelledException
- If the underlying couchbase document does not exist:DocumentDoesNotExistException
- The durability constraint could not be fulfilled because of a temporary or persistent problem:DurabilityException
.boolean
Bucket. listRemove(String docId, int index, MutationOptionBuilder mutationOptionBuilder, long timeout, TimeUnit timeUnit)
Remove an element from an index in CouchbaseList with additional mutation options provided byMutationOptionBuilder
This method throws under the following conditions: -IndexOutOfBoundsException
if index is not found - The producer outpaces the SDK:BackpressureException
- The operation had to be cancelled while on the wire or the retry strategy cancelled it instead of retrying:RequestCancelledException
- If the underlying couchbase document does not exist:DocumentDoesNotExistException
- The durability constraint could not be fulfilled because of a temporary or persistent problem:DurabilityException
.rx.Observable<Boolean>
CouchbaseAsyncBucket. listRemove(String docId, int index, MutationOptionBuilder mutationOptionBuilder)
boolean
CouchbaseBucket. listRemove(String docId, int index, MutationOptionBuilder mutationOptionBuilder)
boolean
CouchbaseBucket. listRemove(String docId, int index, MutationOptionBuilder mutationOptionBuilder, long timeout, TimeUnit timeUnit)
<E> rx.Observable<Boolean>
AsyncBucket. listSet(String docId, int index, E element, MutationOptionBuilder mutationOptionBuilder)
Add an element at an index in CouchbaseList with additional mutation options provided byMutationOptionBuilder
.<E> boolean
Bucket. listSet(String docId, int index, E element, MutationOptionBuilder mutationOptionBuilder)
Add an element at an index in CouchbaseList with additional mutation options provided byMutationOptionBuilder
This method throws under the following conditions: - The producer outpaces the SDK:BackpressureException
- The operation had to be cancelled while on the wire or the retry strategy cancelled it instead of retrying:RequestCancelledException
- The durability constraint could not be fulfilled because of a temporary or persistent problem:DurabilityException
.<E> boolean
Bucket. listSet(String docId, int index, E element, MutationOptionBuilder mutationOptionBuilder, long timeout, TimeUnit timeUnit)
Add an element at an index in CouchbaseList with additional mutation options provided byMutationOptionBuilder
This method throws under the following conditions: - The producer outpaces the SDK:BackpressureException
- The operation had to be cancelled while on the wire or the retry strategy cancelled it instead of retrying:RequestCancelledException
- The durability constraint could not be fulfilled because of a temporary or persistent problem:DurabilityException
.<E> rx.Observable<Boolean>
CouchbaseAsyncBucket. listSet(String docId, int index, E element, MutationOptionBuilder mutationOptionBuilder)
<E> boolean
CouchbaseBucket. listSet(String docId, int index, E element, MutationOptionBuilder mutationOptionBuilder)
<E> boolean
CouchbaseBucket. listSet(String docId, int index, E element, MutationOptionBuilder mutationOptionBuilder, long timeout, TimeUnit timeUnit)
<V> rx.Observable<Boolean>
AsyncBucket. mapAdd(String docId, String key, V value, MutationOptionBuilder mutationOptionBuilder)
Add a key value pair into CouchbaseMap with additional mutation options provided byMutationOptionBuilder
This method throws under the following conditions: -IllegalStateException
if the map is full (limited by couchbase document size) - The producer outpaces the SDK:BackpressureException
- The operation had to be cancelled while on the wire or the retry strategy cancelled it instead of retrying:RequestCancelledException
- If the underlying couchbase document does not exist:DocumentDoesNotExistException
- The durability constraint could not be fulfilled because of a temporary or persistent problem:DurabilityException
.<V> boolean
Bucket. mapAdd(String docId, String key, V value, MutationOptionBuilder mutationOptionBuilder)
Add a key value pair into CouchbaseMap with additional mutation options provided byMutationOptionBuilder
If the underlying document for the map does not exist, this operation will create a new document to back the data structure.<V> boolean
Bucket. mapAdd(String docId, String key, V value, MutationOptionBuilder mutationOptionBuilder, long timeout, TimeUnit timeUnit)
Add a key value pair into CouchbaseMap with additional mutation options provided byMutationOptionBuilder
If the underlying document for the map does not exist, this operation will create a new document to back the data structure.<V> rx.Observable<Boolean>
CouchbaseAsyncBucket. mapAdd(String docId, String key, V value, MutationOptionBuilder mutationOptionBuilder)
<V> boolean
CouchbaseBucket. mapAdd(String docId, String key, V value, MutationOptionBuilder mutationOptionBuilder)
<V> boolean
CouchbaseBucket. mapAdd(String docId, String key, V value, MutationOptionBuilder mutationOptionBuilder, long timeout, TimeUnit timeUnit)
rx.Observable<Boolean>
AsyncBucket. mapRemove(String docId, String key, MutationOptionBuilder mutationOptionBuilder)
Remove a key value pair from CouchbaseMap with additional mutation options provided byMutationOptionBuilder
This method throws under the following conditions: - The producer outpaces the SDK:BackpressureException
- The operation had to be cancelled while on the wire or the retry strategy cancelled it instead of retrying:RequestCancelledException
- If the underlying couchbase document does not exist:DocumentDoesNotExistException
- The durability constraint could not be fulfilled because of a temporary or persistent problem:DurabilityException
.boolean
Bucket. mapRemove(String docId, String key, MutationOptionBuilder mutationOptionBuilder)
Remove a key value pair from CouchbaseMap with additional mutation options provided byMutationOptionBuilder
.boolean
Bucket. mapRemove(String docId, String key, MutationOptionBuilder mutationOptionBuilder, long timeout, TimeUnit timeUnit)
Remove a key value pair from CouchbaseMap with additional mutation options provided byMutationOptionBuilder
.rx.Observable<Boolean>
CouchbaseAsyncBucket. mapRemove(String docId, String key, MutationOptionBuilder mutationOptionBuilder)
boolean
CouchbaseBucket. mapRemove(String docId, String key, MutationOptionBuilder mutationOptionBuilder)
boolean
CouchbaseBucket. mapRemove(String docId, String key, MutationOptionBuilder mutationOptionBuilder, long timeout, TimeUnit timeUnit)
<E> rx.Observable<E>
AsyncBucket. queuePop(String docId, Class<E> elementType, MutationOptionBuilder mutationOptionBuilder)
Removes the first element from CouchbaseQueue with additional mutation options provided byMutationOptionBuilder
This method throws under the following conditions: - The producer outpaces the SDK:BackpressureException
- The operation had to be cancelled while on the wire or the retry strategy cancelled it instead of retrying:RequestCancelledException
- If the underlying couchbase document does not exist:DocumentDoesNotExistException
- The durability constraint could not be fulfilled because of a temporary or persistent problem:DurabilityException
.<E> E
Bucket. queuePop(String docId, Class<E> elementType, MutationOptionBuilder mutationOptionBuilder)
Removes the first element from CouchbaseQueue with additional mutation options provided byMutationOptionBuilder
This method throws under the following conditions: - The producer outpaces the SDK:BackpressureException
- The operation had to be cancelled while on the wire or the retry strategy cancelled it instead of retrying:RequestCancelledException
- If the underlying couchbase document does not exist:DocumentDoesNotExistException
- The durability constraint could not be fulfilled because of a temporary or persistent problem:DurabilityException
.<E> E
Bucket. queuePop(String docId, Class<E> elementType, MutationOptionBuilder mutationOptionBuilder, long timeout, TimeUnit timeUnit)
Removes the first element from CouchbaseQueue with additional mutation options provided byMutationOptionBuilder
This method throws under the following conditions: - The producer outpaces the SDK:BackpressureException
- The operation had to be cancelled while on the wire or the retry strategy cancelled it instead of retrying:RequestCancelledException
- If the underlying couchbase document does not exist:DocumentDoesNotExistException
- The durability constraint could not be fulfilled because of a temporary or persistent problem:DurabilityException
.<E> rx.Observable<E>
CouchbaseAsyncBucket. queuePop(String docId, Class<E> elementType, MutationOptionBuilder mutationOptionBuilder)
<E> E
CouchbaseBucket. queuePop(String docId, Class<E> elementType, MutationOptionBuilder mutationOptionBuilder)
<E> E
CouchbaseBucket. queuePop(String docId, Class<E> elementType, MutationOptionBuilder mutationOptionBuilder, long timeout, TimeUnit timeUnit)
<E> rx.Observable<Boolean>
AsyncBucket. queuePush(String docId, E element, MutationOptionBuilder mutationOptionBuilder)
Add an element into CouchbaseQueue with additional mutation options provided byMutationOptionBuilder
This method throws under the following conditions: - The producer outpaces the SDK:BackpressureException
- The operation had to be cancelled while on the wire or the retry strategy cancelled it instead of retrying:RequestCancelledException
- If the underlying couchbase document does not exist:DocumentDoesNotExistException
- The durability constraint could not be fulfilled because of a temporary or persistent problem:DurabilityException
.<E> boolean
Bucket. queuePush(String docId, E element, MutationOptionBuilder mutationOptionBuilder)
Add an element into CouchbaseQueue with additional mutation options provided byMutationOptionBuilder
This method throws under the following conditions: - The producer outpaces the SDK:BackpressureException
- The operation had to be cancelled while on the wire or the retry strategy cancelled it instead of retrying:RequestCancelledException
- If the underlying couchbase document does not exist:DocumentDoesNotExistException
- The durability constraint could not be fulfilled because of a temporary or persistent problem:DurabilityException
.<E> boolean
Bucket. queuePush(String docId, E element, MutationOptionBuilder mutationOptionBuilder, long timeout, TimeUnit timeUnit)
Add an element into CouchbaseQueue with additional mutation options provided byMutationOptionBuilder
This method throws under the following conditions: - The producer outpaces the SDK:BackpressureException
- The operation had to be cancelled while on the wire or the retry strategy cancelled it instead of retrying:RequestCancelledException
- If the underlying couchbase document does not exist:DocumentDoesNotExistException
- The durability constraint could not be fulfilled because of a temporary or persistent problem:DurabilityException
.<E> rx.Observable<Boolean>
CouchbaseAsyncBucket. queuePush(String docId, E element, MutationOptionBuilder mutationOptionBuilder)
<E> boolean
CouchbaseBucket. queuePush(String docId, E element, MutationOptionBuilder mutationOptionBuilder)
<E> boolean
CouchbaseBucket. queuePush(String docId, E element, MutationOptionBuilder mutationOptionBuilder, long timeout, TimeUnit timeUnit)
<E> rx.Observable<Boolean>
AsyncBucket. setAdd(String docId, E element, MutationOptionBuilder mutationOptionBuilder)
Add an element into CouchbaseSet with additional mutation options provided byMutationOptionBuilder
This method throws under the following conditions: - The producer outpaces the SDK:BackpressureException
- The operation had to be cancelled while on the wire or the retry strategy cancelled it instead of retrying:RequestCancelledException
- If the underlying couchbase document does not exist:DocumentDoesNotExistException
- The server is currently not able to process the request, retrying may help:TemporaryFailureException
- The server is out of memory:CouchbaseOutOfMemoryException
- Unexpected errors are caught and contained in a genericCouchbaseException
.<E> boolean
Bucket. setAdd(String docId, E element, MutationOptionBuilder mutationOptionBuilder)
Add an element into CouchbaseSet with additional mutation options provided byMutationOptionBuilder
This method throws under the following conditions: - The producer outpaces the SDK:BackpressureException
- The operation had to be cancelled while on the wire or the retry strategy cancelled it instead of retrying:RequestCancelledException
- If the underlying couchbase document does not exist:DocumentDoesNotExistException
- The server is currently not able to process the request, retrying may help:TemporaryFailureException
- The server is out of memory:CouchbaseOutOfMemoryException
- Unexpected errors are caught and contained in a genericCouchbaseException
.<E> boolean
Bucket. setAdd(String docId, E element, MutationOptionBuilder mutationOptionBuilder, long timeout, TimeUnit timeUnit)
Add an element into CouchbaseSet with additional mutation options provided byMutationOptionBuilder
This method throws under the following conditions: - The producer outpaces the SDK:BackpressureException
- The operation had to be cancelled while on the wire or the retry strategy cancelled it instead of retrying:RequestCancelledException
- If the underlying couchbase document does not exist:DocumentDoesNotExistException
- The server is currently not able to process the request, retrying may help:TemporaryFailureException
- The server is out of memory:CouchbaseOutOfMemoryException
- Unexpected errors are caught and contained in a genericCouchbaseException
.<E> rx.Observable<Boolean>
CouchbaseAsyncBucket. setAdd(String docId, E element, MutationOptionBuilder mutationOptionBuilder)
<E> boolean
CouchbaseBucket. setAdd(String docId, E element, MutationOptionBuilder mutationOptionBuilder)
<E> boolean
CouchbaseBucket. setAdd(String docId, E element, MutationOptionBuilder mutationOptionBuilder, long timeout, TimeUnit timeUnit)
<E> rx.Observable<E>
AsyncBucket. setRemove(String docId, E element, MutationOptionBuilder mutationOptionBuilder)
Removes an element from CouchbaseSet with additional mutation options provided byMutationOptionBuilder
This method throws under the following conditions: - The producer outpaces the SDK:BackpressureException
- The operation had to be cancelled while on the wire or the retry strategy cancelled it instead of retrying:RequestCancelledException
- If the underlying couchbase document does not exist:DocumentDoesNotExistException
- The durability constraint could not be fulfilled because of a temporary or persistent problem:DurabilityException
.<E> E
Bucket. setRemove(String docId, E element, MutationOptionBuilder mutationOptionBuilder)
Removes an element from CouchbaseSet with additional mutation options provided byMutationOptionBuilder
This method throws under the following conditions: - The producer outpaces the SDK:BackpressureException
- The operation had to be cancelled while on the wire or the retry strategy cancelled it instead of retrying:RequestCancelledException
- If the underlying couchbase document does not exist:DocumentDoesNotExistException
- The durability constraint could not be fulfilled because of a temporary or persistent problem:DurabilityException
.<E> E
Bucket. setRemove(String docId, E element, MutationOptionBuilder mutationOptionBuilder, long timeout, TimeUnit timeUnit)
Removes an element from CouchbaseSet with additional mutation options provided byMutationOptionBuilder
This method throws under the following conditions: - The producer outpaces the SDK:BackpressureException
- The operation had to be cancelled while on the wire or the retry strategy cancelled it instead of retrying:RequestCancelledException
- If the underlying couchbase document does not exist:DocumentDoesNotExistException
- The durability constraint could not be fulfilled because of a temporary or persistent problem:DurabilityException
.<E> rx.Observable<E>
CouchbaseAsyncBucket. setRemove(String docId, E element, MutationOptionBuilder mutationOptionBuilder)
<E> E
CouchbaseBucket. setRemove(String docId, E element, MutationOptionBuilder mutationOptionBuilder)
<E> E
CouchbaseBucket. setRemove(String docId, E element, MutationOptionBuilder mutationOptionBuilder, long timeout, TimeUnit timeUnit)
-
Uses of MutationOptionBuilder in com.couchbase.client.java.datastructures
Methods in com.couchbase.client.java.datastructures that return MutationOptionBuilder Modifier and Type Method Description static MutationOptionBuilder
MutationOptionBuilder. builder()
MutationOptionBuilder
MutationOptionBuilder. cas(long cas)
Set cas for optimistic locking on option builderMutationOptionBuilder
MutationOptionBuilder. createDocument(boolean createDoc)
createDocument On true, creates the document if it does not existMutationOptionBuilder
MutationOptionBuilder. expiry(int expiry)
Set expiration on option builderMutationOptionBuilder
MutationOptionBuilder. persistTo(PersistTo persistTo)
Set persistence durability constraints on option builderMutationOptionBuilder
MutationOptionBuilder. replicateTo(ReplicateTo replicateTo)
Set replication durability constraints on option builder
-