Uses of Class
com.couchbase.client.java.datastructures.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 byMutationOptionBuilderThis 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> booleanBucket. listAppend(String docId, E element, MutationOptionBuilder mutationOptionBuilder)Push an element to tail of CouchbaseList with additional mutation options provided byMutationOptionBuilder.<E> booleanBucket. listAppend(String docId, E element, MutationOptionBuilder mutationOptionBuilder, long timeout, TimeUnit timeUnit)Push an element to tail of CouchbaseList with additional mutation options provided byMutationOptionBuilderThis 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> booleanCouchbaseBucket. listAppend(String docId, E element, MutationOptionBuilder mutationOptionBuilder)<E> booleanCouchbaseBucket. 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 byMutationOptionBuilderThis 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> booleanBucket. listPrepend(String docId, E element, MutationOptionBuilder mutationOptionBuilder)Shift list head to element in CouchbaseList with additional mutation options provided byMutationOptionBuilderThis 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> booleanBucket. listPrepend(String docId, E element, MutationOptionBuilder mutationOptionBuilder, long timeout, TimeUnit timeUnit)Shift list head to element in CouchbaseList with additional mutation options provided byMutationOptionBuilderThis 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> booleanCouchbaseBucket. listPrepend(String docId, E element, MutationOptionBuilder mutationOptionBuilder)<E> booleanCouchbaseBucket. 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 byMutationOptionBuilderThis method throws under the following conditions: -IndexOutOfBoundsExceptionif 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.booleanBucket. listRemove(String docId, int index, MutationOptionBuilder mutationOptionBuilder)Remove an element from an index in CouchbaseList with additional mutation options provided byMutationOptionBuilderThis method throws under the following conditions: -IndexOutOfBoundsExceptionif 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.booleanBucket. listRemove(String docId, int index, MutationOptionBuilder mutationOptionBuilder, long timeout, TimeUnit timeUnit)Remove an element from an index in CouchbaseList with additional mutation options provided byMutationOptionBuilderThis method throws under the following conditions: -IndexOutOfBoundsExceptionif 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)booleanCouchbaseBucket. listRemove(String docId, int index, MutationOptionBuilder mutationOptionBuilder)booleanCouchbaseBucket. 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> booleanBucket. listSet(String docId, int index, E element, MutationOptionBuilder mutationOptionBuilder)Add an element at an index in CouchbaseList with additional mutation options provided byMutationOptionBuilderThis 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> booleanBucket. 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 byMutationOptionBuilderThis 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> booleanCouchbaseBucket. listSet(String docId, int index, E element, MutationOptionBuilder mutationOptionBuilder)<E> booleanCouchbaseBucket. 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 byMutationOptionBuilderThis method throws under the following conditions: -IllegalStateExceptionif 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> booleanBucket. mapAdd(String docId, String key, V value, MutationOptionBuilder mutationOptionBuilder)Add a key value pair into CouchbaseMap with additional mutation options provided byMutationOptionBuilderIf the underlying document for the map does not exist, this operation will create a new document to back the data structure.<V> booleanBucket. 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 byMutationOptionBuilderIf 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> booleanCouchbaseBucket. mapAdd(String docId, String key, V value, MutationOptionBuilder mutationOptionBuilder)<V> booleanCouchbaseBucket. 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 byMutationOptionBuilderThis 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.booleanBucket. mapRemove(String docId, String key, MutationOptionBuilder mutationOptionBuilder)Remove a key value pair from CouchbaseMap with additional mutation options provided byMutationOptionBuilder.booleanBucket. 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)booleanCouchbaseBucket. mapRemove(String docId, String key, MutationOptionBuilder mutationOptionBuilder)booleanCouchbaseBucket. 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 byMutationOptionBuilderThis 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> EBucket. queuePop(String docId, Class<E> elementType, MutationOptionBuilder mutationOptionBuilder)Removes the first element from CouchbaseQueue with additional mutation options provided byMutationOptionBuilderThis 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> EBucket. queuePop(String docId, Class<E> elementType, MutationOptionBuilder mutationOptionBuilder, long timeout, TimeUnit timeUnit)Removes the first element from CouchbaseQueue with additional mutation options provided byMutationOptionBuilderThis 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> ECouchbaseBucket. queuePop(String docId, Class<E> elementType, MutationOptionBuilder mutationOptionBuilder)<E> ECouchbaseBucket. 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 byMutationOptionBuilderThis 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> booleanBucket. queuePush(String docId, E element, MutationOptionBuilder mutationOptionBuilder)Add an element into CouchbaseQueue with additional mutation options provided byMutationOptionBuilderThis 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> booleanBucket. queuePush(String docId, E element, MutationOptionBuilder mutationOptionBuilder, long timeout, TimeUnit timeUnit)Add an element into CouchbaseQueue with additional mutation options provided byMutationOptionBuilderThis 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> booleanCouchbaseBucket. queuePush(String docId, E element, MutationOptionBuilder mutationOptionBuilder)<E> booleanCouchbaseBucket. 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 byMutationOptionBuilderThis 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> booleanBucket. setAdd(String docId, E element, MutationOptionBuilder mutationOptionBuilder)Add an element into CouchbaseSet with additional mutation options provided byMutationOptionBuilderThis 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> booleanBucket. setAdd(String docId, E element, MutationOptionBuilder mutationOptionBuilder, long timeout, TimeUnit timeUnit)Add an element into CouchbaseSet with additional mutation options provided byMutationOptionBuilderThis 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> booleanCouchbaseBucket. setAdd(String docId, E element, MutationOptionBuilder mutationOptionBuilder)<E> booleanCouchbaseBucket. 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 byMutationOptionBuilderThis 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> EBucket. setRemove(String docId, E element, MutationOptionBuilder mutationOptionBuilder)Removes an element from CouchbaseSet with additional mutation options provided byMutationOptionBuilderThis 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> EBucket. setRemove(String docId, E element, MutationOptionBuilder mutationOptionBuilder, long timeout, TimeUnit timeUnit)Removes an element from CouchbaseSet with additional mutation options provided byMutationOptionBuilderThis 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> ECouchbaseBucket. setRemove(String docId, E element, MutationOptionBuilder mutationOptionBuilder)<E> ECouchbaseBucket. 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 MutationOptionBuilderMutationOptionBuilder. builder()MutationOptionBuilderMutationOptionBuilder. cas(long cas)Set cas for optimistic locking on option builderMutationOptionBuilderMutationOptionBuilder. createDocument(boolean createDoc)createDocument On true, creates the document if it does not existMutationOptionBuilderMutationOptionBuilder. expiry(int expiry)Set expiration on option builderMutationOptionBuilderMutationOptionBuilder. persistTo(PersistTo persistTo)Set persistence durability constraints on option builderMutationOptionBuilderMutationOptionBuilder. replicateTo(ReplicateTo replicateTo)Set replication durability constraints on option builder