Package | Description |
---|---|
com.couchbase.client.java | |
com.couchbase.client.java.document.subdoc |
Modifier and Type | Method and Description |
---|---|
<T> DocumentFragment<T> |
CouchbaseBucket.addUniqueIn(DocumentFragment<T> fragment,
boolean createParents,
PersistTo persistTo,
ReplicateTo replicateTo) |
<T> DocumentFragment<T> |
Bucket.addUniqueIn(DocumentFragment<T> fragment,
boolean createParents,
PersistTo persistTo,
ReplicateTo replicateTo)
Adds a value in an existing array inside a
JSON document , with the default timeout. |
<T> DocumentFragment<T> |
CouchbaseBucket.addUniqueIn(DocumentFragment<T> fragment,
boolean createParents,
PersistTo persistTo,
ReplicateTo replicateTo,
long timeout,
TimeUnit timeUnit) |
<T> DocumentFragment<T> |
Bucket.addUniqueIn(DocumentFragment<T> fragment,
boolean createParents,
PersistTo persistTo,
ReplicateTo replicateTo,
long timeout,
TimeUnit timeUnit)
Adds a value in an existing array inside a
JSON document , with a custom timeout. |
<T> DocumentFragment<T> |
CouchbaseBucket.arrayInsertIn(DocumentFragment<T> fragment,
PersistTo persistTo,
ReplicateTo replicateTo) |
<T> DocumentFragment<T> |
Bucket.arrayInsertIn(DocumentFragment<T> fragment,
PersistTo persistTo,
ReplicateTo replicateTo)
Insert a value in an existing array inside a
JSON document , at a specific index as denoted by the path (eg. |
<T> DocumentFragment<T> |
CouchbaseBucket.arrayInsertIn(DocumentFragment<T> fragment,
PersistTo persistTo,
ReplicateTo replicateTo,
long timeout,
TimeUnit timeUnit) |
<T> DocumentFragment<T> |
Bucket.arrayInsertIn(DocumentFragment<T> fragment,
PersistTo persistTo,
ReplicateTo replicateTo,
long timeout,
TimeUnit timeUnit)
Insert a value in an existing array inside a
JSON document , at a specific index as denoted by the path (eg. |
DocumentFragment<Long> |
CouchbaseBucket.counterIn(DocumentFragment<Long> fragment,
boolean createParents,
PersistTo persistTo,
ReplicateTo replicateTo) |
DocumentFragment<Long> |
Bucket.counterIn(DocumentFragment<Long> fragment,
boolean createParents,
PersistTo persistTo,
ReplicateTo replicateTo)
Increment or decrement a numerical value inside an existing
JSON document with the default timeout. |
DocumentFragment<Long> |
CouchbaseBucket.counterIn(DocumentFragment<Long> fragment,
boolean createParents,
PersistTo persistTo,
ReplicateTo replicateTo,
long timeout,
TimeUnit timeUnit) |
DocumentFragment<Long> |
Bucket.counterIn(DocumentFragment<Long> fragment,
boolean createParents,
PersistTo persistTo,
ReplicateTo replicateTo,
long timeout,
TimeUnit timeUnit)
Increment or decrement a numerical value inside an existing
JSON document with a custom timeout. |
<T> DocumentFragment<T> |
CouchbaseBucket.extendIn(DocumentFragment<T> fragment,
ExtendDirection direction,
boolean createParents,
PersistTo persistTo,
ReplicateTo replicateTo) |
<T> DocumentFragment<T> |
Bucket.extendIn(DocumentFragment<T> fragment,
ExtendDirection direction,
boolean createParents,
PersistTo persistTo,
ReplicateTo replicateTo)
Extend an array inside a
JSON document , either pushing the new value at the front or at the back , with the default timeout. |
<T> DocumentFragment<T> |
CouchbaseBucket.extendIn(DocumentFragment<T> fragment,
ExtendDirection direction,
boolean createParents,
PersistTo persistTo,
ReplicateTo replicateTo,
long timeout,
TimeUnit timeUnit) |
<T> DocumentFragment<T> |
Bucket.extendIn(DocumentFragment<T> fragment,
ExtendDirection direction,
boolean createParents,
PersistTo persistTo,
ReplicateTo replicateTo,
long timeout,
TimeUnit timeUnit)
Extend an array inside a
JSON document , either pushing the new value at the front or at the back , with a custom timeout. |
<T> DocumentFragment<T> |
CouchbaseBucket.getIn(String id,
String path,
Class<T> fragmentType) |
<T> DocumentFragment<T> |
Bucket.getIn(String id,
String path,
Class<T> fragmentType)
Retrieve a fragment of an existing
JSON document , as denoted by the given path, with the default timeout. |
<T> DocumentFragment<T> |
CouchbaseBucket.getIn(String id,
String path,
Class<T> fragmentType,
long timeout,
TimeUnit timeUnit) |
<T> DocumentFragment<T> |
Bucket.getIn(String id,
String path,
Class<T> fragmentType,
long timeout,
TimeUnit timeUnit)
Retrieve a fragment of an existing
JSON document , as denoted by the given path, with a custom timeout. |
<T> DocumentFragment<T> |
CouchbaseBucket.insertIn(DocumentFragment<T> fragment,
boolean createParents,
PersistTo persistTo,
ReplicateTo replicateTo) |
<T> DocumentFragment<T> |
Bucket.insertIn(DocumentFragment<T> fragment,
boolean createParents,
PersistTo persistTo,
ReplicateTo replicateTo)
Insert a fragment of JSON into an existing
JSON document , on the condition that no value already exist at this location, with a custom timeout. |
<T> DocumentFragment<T> |
CouchbaseBucket.insertIn(DocumentFragment<T> fragment,
boolean createParents,
PersistTo persistTo,
ReplicateTo replicateTo,
long timeout,
TimeUnit timeUnit) |
<T> DocumentFragment<T> |
Bucket.insertIn(DocumentFragment<T> fragment,
boolean createParents,
PersistTo persistTo,
ReplicateTo replicateTo,
long timeout,
TimeUnit timeUnit)
Insert a fragment of JSON into an existing
JSON document , on the condition that no value already exist at this location, with a custom timeout. |
<T> DocumentFragment<T> |
CouchbaseBucket.removeIn(DocumentFragment<T> fragment,
PersistTo persistTo,
ReplicateTo replicateTo) |
<T> DocumentFragment<T> |
Bucket.removeIn(DocumentFragment<T> fragment,
PersistTo persistTo,
ReplicateTo replicateTo)
Removes an entry from an existing
JSON document , with the default timeout. |
<T> DocumentFragment<T> |
CouchbaseBucket.removeIn(DocumentFragment<T> fragment,
PersistTo persistTo,
ReplicateTo replicateTo,
long timeout,
TimeUnit timeUnit) |
<T> DocumentFragment<T> |
Bucket.removeIn(DocumentFragment<T> fragment,
PersistTo persistTo,
ReplicateTo replicateTo,
long timeout,
TimeUnit timeUnit)
Removes an entry from an existing
JSON document , with a custom timeout. |
<T> DocumentFragment<T> |
CouchbaseBucket.replaceIn(DocumentFragment<T> fragment,
PersistTo persistTo,
ReplicateTo replicateTo) |
<T> DocumentFragment<T> |
Bucket.replaceIn(DocumentFragment<T> fragment,
PersistTo persistTo,
ReplicateTo replicateTo)
Replace a fragment of JSON with another one inside an existing
JSON document , with the default timeout. |
<T> DocumentFragment<T> |
CouchbaseBucket.replaceIn(DocumentFragment<T> fragment,
PersistTo persistTo,
ReplicateTo replicateTo,
long timeout,
TimeUnit timeUnit) |
<T> DocumentFragment<T> |
Bucket.replaceIn(DocumentFragment<T> fragment,
PersistTo persistTo,
ReplicateTo replicateTo,
long timeout,
TimeUnit timeUnit)
Replace a fragment of JSON with another one inside an existing
JSON document , with a custom timeout. |
<T> DocumentFragment<T> |
CouchbaseBucket.upsertIn(DocumentFragment<T> fragment,
boolean createParents,
PersistTo persistTo,
ReplicateTo replicateTo) |
<T> DocumentFragment<T> |
Bucket.upsertIn(DocumentFragment<T> fragment,
boolean createParents,
PersistTo persistTo,
ReplicateTo replicateTo)
Upsert a fragment of JSON into an existing
JSON document , with the default timeout. |
<T> DocumentFragment<T> |
CouchbaseBucket.upsertIn(DocumentFragment<T> fragment,
boolean createParents,
PersistTo persistTo,
ReplicateTo replicateTo,
long timeout,
TimeUnit timeUnit) |
<T> DocumentFragment<T> |
Bucket.upsertIn(DocumentFragment<T> fragment,
boolean createParents,
PersistTo persistTo,
ReplicateTo replicateTo,
long timeout,
TimeUnit timeUnit)
Upsert a fragment of JSON into an existing
JSON document , with a custom timeout. |
Modifier and Type | Method and Description |
---|---|
<T> Observable<DocumentFragment<T>> |
CouchbaseAsyncBucket.addUniqueIn(DocumentFragment<T> fragment,
boolean createParents,
PersistTo persistTo,
ReplicateTo replicateTo) |
<T> Observable<DocumentFragment<T>> |
AsyncBucket.addUniqueIn(DocumentFragment<T> fragment,
boolean createParents,
PersistTo persistTo,
ReplicateTo replicateTo)
Adds a value in an existing array inside a
JSON document provided said value isn’t already present in the array (as checked using string comparison). |
<T> Observable<DocumentFragment<T>> |
CouchbaseAsyncBucket.arrayInsertIn(DocumentFragment<T> fragment,
PersistTo persistTo,
ReplicateTo replicateTo) |
<T> Observable<DocumentFragment<T>> |
AsyncBucket.arrayInsertIn(DocumentFragment<T> fragment,
PersistTo persistTo,
ReplicateTo replicateTo)
Insert a value in an existing array inside a
JSON document , at a specific index as denoted by the path (eg. |
Observable<DocumentFragment<Long>> |
CouchbaseAsyncBucket.counterIn(DocumentFragment<Long> fragment,
boolean createParents,
PersistTo persistTo,
ReplicateTo replicateTo) |
Observable<DocumentFragment<Long>> |
AsyncBucket.counterIn(DocumentFragment<Long> fragment,
boolean createParents,
PersistTo persistTo,
ReplicateTo replicateTo)
Increment or decrement a numerical value inside an existing
JSON document . |
<T> Observable<DocumentFragment<T>> |
CouchbaseAsyncBucket.extendIn(DocumentFragment<T> fragment,
ExtendDirection direction,
boolean createParents,
PersistTo persistTo,
ReplicateTo replicateTo) |
<T> Observable<DocumentFragment<T>> |
AsyncBucket.extendIn(DocumentFragment<T> fragment,
ExtendDirection direction,
boolean createParents,
PersistTo persistTo,
ReplicateTo replicateTo)
|
<T> Observable<DocumentFragment<T>> |
CouchbaseAsyncBucket.getIn(String id,
String path,
Class<T> fragmentType) |
<T> Observable<DocumentFragment<T>> |
AsyncBucket.getIn(String id,
String path,
Class<T> fragmentType)
Retrieve a fragment of an existing
JSON document , as denoted by the given path. |
<T> Observable<DocumentFragment<T>> |
CouchbaseAsyncBucket.insertIn(DocumentFragment<T> fragment,
boolean createParents,
PersistTo persistTo,
ReplicateTo replicateTo) |
<T> Observable<DocumentFragment<T>> |
AsyncBucket.insertIn(DocumentFragment<T> fragment,
boolean createParents,
PersistTo persistTo,
ReplicateTo replicateTo)
Insert a fragment of JSON into an existing
JSON document , on the condition that no value already exist at this location. |
<T> Observable<DocumentFragment<T>> |
CouchbaseAsyncBucket.removeIn(DocumentFragment<T> fragment,
PersistTo persistTo,
ReplicateTo replicateTo) |
<T> Observable<DocumentFragment<T>> |
AsyncBucket.removeIn(DocumentFragment<T> fragment,
PersistTo persistTo,
ReplicateTo replicateTo)
Removes an entry from an existing
JSON document . |
<T> Observable<DocumentFragment<T>> |
CouchbaseAsyncBucket.replaceIn(DocumentFragment<T> fragment,
PersistTo persistTo,
ReplicateTo replicateTo) |
<T> Observable<DocumentFragment<T>> |
AsyncBucket.replaceIn(DocumentFragment<T> fragment,
PersistTo persistTo,
ReplicateTo replicateTo)
Replace a fragment of JSON with another one inside an existing
JSON document . |
<T> Observable<DocumentFragment<T>> |
CouchbaseAsyncBucket.upsertIn(DocumentFragment<T> fragment,
boolean createParents,
PersistTo persistTo,
ReplicateTo replicateTo) |
<T> Observable<DocumentFragment<T>> |
AsyncBucket.upsertIn(DocumentFragment<T> fragment,
boolean createParents,
PersistTo persistTo,
ReplicateTo replicateTo)
Upsert a fragment of JSON into an existing
JSON document . |
Modifier and Type | Method and Description |
---|---|
<T> DocumentFragment<T> |
CouchbaseBucket.addUniqueIn(DocumentFragment<T> fragment,
boolean createParents,
PersistTo persistTo,
ReplicateTo replicateTo) |
<T> Observable<DocumentFragment<T>> |
CouchbaseAsyncBucket.addUniqueIn(DocumentFragment<T> fragment,
boolean createParents,
PersistTo persistTo,
ReplicateTo replicateTo) |
<T> DocumentFragment<T> |
Bucket.addUniqueIn(DocumentFragment<T> fragment,
boolean createParents,
PersistTo persistTo,
ReplicateTo replicateTo)
Adds a value in an existing array inside a
JSON document , with the default timeout. |
<T> Observable<DocumentFragment<T>> |
AsyncBucket.addUniqueIn(DocumentFragment<T> fragment,
boolean createParents,
PersistTo persistTo,
ReplicateTo replicateTo)
Adds a value in an existing array inside a
JSON document provided said value isn’t already present in the array (as checked using string comparison). |
<T> DocumentFragment<T> |
CouchbaseBucket.addUniqueIn(DocumentFragment<T> fragment,
boolean createParents,
PersistTo persistTo,
ReplicateTo replicateTo,
long timeout,
TimeUnit timeUnit) |
<T> DocumentFragment<T> |
Bucket.addUniqueIn(DocumentFragment<T> fragment,
boolean createParents,
PersistTo persistTo,
ReplicateTo replicateTo,
long timeout,
TimeUnit timeUnit)
Adds a value in an existing array inside a
JSON document , with a custom timeout. |
<T> DocumentFragment<T> |
CouchbaseBucket.arrayInsertIn(DocumentFragment<T> fragment,
PersistTo persistTo,
ReplicateTo replicateTo) |
<T> Observable<DocumentFragment<T>> |
CouchbaseAsyncBucket.arrayInsertIn(DocumentFragment<T> fragment,
PersistTo persistTo,
ReplicateTo replicateTo) |
<T> DocumentFragment<T> |
Bucket.arrayInsertIn(DocumentFragment<T> fragment,
PersistTo persistTo,
ReplicateTo replicateTo)
Insert a value in an existing array inside a
JSON document , at a specific index as denoted by the path (eg. |
<T> Observable<DocumentFragment<T>> |
AsyncBucket.arrayInsertIn(DocumentFragment<T> fragment,
PersistTo persistTo,
ReplicateTo replicateTo)
Insert a value in an existing array inside a
JSON document , at a specific index as denoted by the path (eg. |
<T> DocumentFragment<T> |
CouchbaseBucket.arrayInsertIn(DocumentFragment<T> fragment,
PersistTo persistTo,
ReplicateTo replicateTo,
long timeout,
TimeUnit timeUnit) |
<T> DocumentFragment<T> |
Bucket.arrayInsertIn(DocumentFragment<T> fragment,
PersistTo persistTo,
ReplicateTo replicateTo,
long timeout,
TimeUnit timeUnit)
Insert a value in an existing array inside a
JSON document , at a specific index as denoted by the path (eg. |
DocumentFragment<Long> |
CouchbaseBucket.counterIn(DocumentFragment<Long> fragment,
boolean createParents,
PersistTo persistTo,
ReplicateTo replicateTo) |
Observable<DocumentFragment<Long>> |
CouchbaseAsyncBucket.counterIn(DocumentFragment<Long> fragment,
boolean createParents,
PersistTo persistTo,
ReplicateTo replicateTo) |
DocumentFragment<Long> |
Bucket.counterIn(DocumentFragment<Long> fragment,
boolean createParents,
PersistTo persistTo,
ReplicateTo replicateTo)
Increment or decrement a numerical value inside an existing
JSON document with the default timeout. |
Observable<DocumentFragment<Long>> |
AsyncBucket.counterIn(DocumentFragment<Long> fragment,
boolean createParents,
PersistTo persistTo,
ReplicateTo replicateTo)
Increment or decrement a numerical value inside an existing
JSON document . |
DocumentFragment<Long> |
CouchbaseBucket.counterIn(DocumentFragment<Long> fragment,
boolean createParents,
PersistTo persistTo,
ReplicateTo replicateTo,
long timeout,
TimeUnit timeUnit) |
DocumentFragment<Long> |
Bucket.counterIn(DocumentFragment<Long> fragment,
boolean createParents,
PersistTo persistTo,
ReplicateTo replicateTo,
long timeout,
TimeUnit timeUnit)
Increment or decrement a numerical value inside an existing
JSON document with a custom timeout. |
<T> DocumentFragment<T> |
CouchbaseBucket.extendIn(DocumentFragment<T> fragment,
ExtendDirection direction,
boolean createParents,
PersistTo persistTo,
ReplicateTo replicateTo) |
<T> Observable<DocumentFragment<T>> |
CouchbaseAsyncBucket.extendIn(DocumentFragment<T> fragment,
ExtendDirection direction,
boolean createParents,
PersistTo persistTo,
ReplicateTo replicateTo) |
<T> DocumentFragment<T> |
Bucket.extendIn(DocumentFragment<T> fragment,
ExtendDirection direction,
boolean createParents,
PersistTo persistTo,
ReplicateTo replicateTo)
Extend an array inside a
JSON document , either pushing the new value at the front or at the back , with the default timeout. |
<T> Observable<DocumentFragment<T>> |
AsyncBucket.extendIn(DocumentFragment<T> fragment,
ExtendDirection direction,
boolean createParents,
PersistTo persistTo,
ReplicateTo replicateTo)
|
<T> DocumentFragment<T> |
CouchbaseBucket.extendIn(DocumentFragment<T> fragment,
ExtendDirection direction,
boolean createParents,
PersistTo persistTo,
ReplicateTo replicateTo,
long timeout,
TimeUnit timeUnit) |
<T> DocumentFragment<T> |
Bucket.extendIn(DocumentFragment<T> fragment,
ExtendDirection direction,
boolean createParents,
PersistTo persistTo,
ReplicateTo replicateTo,
long timeout,
TimeUnit timeUnit)
Extend an array inside a
JSON document , either pushing the new value at the front or at the back , with a custom timeout. |
<T> DocumentFragment<T> |
CouchbaseBucket.insertIn(DocumentFragment<T> fragment,
boolean createParents,
PersistTo persistTo,
ReplicateTo replicateTo) |
<T> Observable<DocumentFragment<T>> |
CouchbaseAsyncBucket.insertIn(DocumentFragment<T> fragment,
boolean createParents,
PersistTo persistTo,
ReplicateTo replicateTo) |
<T> DocumentFragment<T> |
Bucket.insertIn(DocumentFragment<T> fragment,
boolean createParents,
PersistTo persistTo,
ReplicateTo replicateTo)
Insert a fragment of JSON into an existing
JSON document , on the condition that no value already exist at this location, with a custom timeout. |
<T> Observable<DocumentFragment<T>> |
AsyncBucket.insertIn(DocumentFragment<T> fragment,
boolean createParents,
PersistTo persistTo,
ReplicateTo replicateTo)
Insert a fragment of JSON into an existing
JSON document , on the condition that no value already exist at this location. |
<T> DocumentFragment<T> |
CouchbaseBucket.insertIn(DocumentFragment<T> fragment,
boolean createParents,
PersistTo persistTo,
ReplicateTo replicateTo,
long timeout,
TimeUnit timeUnit) |
<T> DocumentFragment<T> |
Bucket.insertIn(DocumentFragment<T> fragment,
boolean createParents,
PersistTo persistTo,
ReplicateTo replicateTo,
long timeout,
TimeUnit timeUnit)
Insert a fragment of JSON into an existing
JSON document , on the condition that no value already exist at this location, with a custom timeout. |
<T> DocumentFragment<T> |
CouchbaseBucket.removeIn(DocumentFragment<T> fragment,
PersistTo persistTo,
ReplicateTo replicateTo) |
<T> Observable<DocumentFragment<T>> |
CouchbaseAsyncBucket.removeIn(DocumentFragment<T> fragment,
PersistTo persistTo,
ReplicateTo replicateTo) |
<T> DocumentFragment<T> |
Bucket.removeIn(DocumentFragment<T> fragment,
PersistTo persistTo,
ReplicateTo replicateTo)
Removes an entry from an existing
JSON document , with the default timeout. |
<T> Observable<DocumentFragment<T>> |
AsyncBucket.removeIn(DocumentFragment<T> fragment,
PersistTo persistTo,
ReplicateTo replicateTo)
Removes an entry from an existing
JSON document . |
<T> DocumentFragment<T> |
CouchbaseBucket.removeIn(DocumentFragment<T> fragment,
PersistTo persistTo,
ReplicateTo replicateTo,
long timeout,
TimeUnit timeUnit) |
<T> DocumentFragment<T> |
Bucket.removeIn(DocumentFragment<T> fragment,
PersistTo persistTo,
ReplicateTo replicateTo,
long timeout,
TimeUnit timeUnit)
Removes an entry from an existing
JSON document , with a custom timeout. |
<T> DocumentFragment<T> |
CouchbaseBucket.replaceIn(DocumentFragment<T> fragment,
PersistTo persistTo,
ReplicateTo replicateTo) |
<T> Observable<DocumentFragment<T>> |
CouchbaseAsyncBucket.replaceIn(DocumentFragment<T> fragment,
PersistTo persistTo,
ReplicateTo replicateTo) |
<T> DocumentFragment<T> |
Bucket.replaceIn(DocumentFragment<T> fragment,
PersistTo persistTo,
ReplicateTo replicateTo)
Replace a fragment of JSON with another one inside an existing
JSON document , with the default timeout. |
<T> Observable<DocumentFragment<T>> |
AsyncBucket.replaceIn(DocumentFragment<T> fragment,
PersistTo persistTo,
ReplicateTo replicateTo)
Replace a fragment of JSON with another one inside an existing
JSON document . |
<T> DocumentFragment<T> |
CouchbaseBucket.replaceIn(DocumentFragment<T> fragment,
PersistTo persistTo,
ReplicateTo replicateTo,
long timeout,
TimeUnit timeUnit) |
<T> DocumentFragment<T> |
Bucket.replaceIn(DocumentFragment<T> fragment,
PersistTo persistTo,
ReplicateTo replicateTo,
long timeout,
TimeUnit timeUnit)
Replace a fragment of JSON with another one inside an existing
JSON document , with a custom timeout. |
<T> DocumentFragment<T> |
CouchbaseBucket.upsertIn(DocumentFragment<T> fragment,
boolean createParents,
PersistTo persistTo,
ReplicateTo replicateTo) |
<T> Observable<DocumentFragment<T>> |
CouchbaseAsyncBucket.upsertIn(DocumentFragment<T> fragment,
boolean createParents,
PersistTo persistTo,
ReplicateTo replicateTo) |
<T> DocumentFragment<T> |
Bucket.upsertIn(DocumentFragment<T> fragment,
boolean createParents,
PersistTo persistTo,
ReplicateTo replicateTo)
Upsert a fragment of JSON into an existing
JSON document , with the default timeout. |
<T> Observable<DocumentFragment<T>> |
AsyncBucket.upsertIn(DocumentFragment<T> fragment,
boolean createParents,
PersistTo persistTo,
ReplicateTo replicateTo)
Upsert a fragment of JSON into an existing
JSON document . |
<T> DocumentFragment<T> |
CouchbaseBucket.upsertIn(DocumentFragment<T> fragment,
boolean createParents,
PersistTo persistTo,
ReplicateTo replicateTo,
long timeout,
TimeUnit timeUnit) |
<T> DocumentFragment<T> |
Bucket.upsertIn(DocumentFragment<T> fragment,
boolean createParents,
PersistTo persistTo,
ReplicateTo replicateTo,
long timeout,
TimeUnit timeUnit)
Upsert a fragment of JSON into an existing
JSON document , with a custom timeout. |
Modifier and Type | Method and Description |
---|---|
static <T> DocumentFragment<T> |
DocumentFragment.create(String id,
String path,
int expiry,
T fragment)
Creates a new
DocumentFragment (id, path and fragment) to represent a mutation input (with expiry). |
static <T> DocumentFragment<T> |
DocumentFragment.create(String id,
String path,
int expiry,
T fragment,
long cas)
Creates a new
DocumentFragment (id, path and fragment) to represent a mutation input using optimistic locking (CAS). |
static <T> DocumentFragment<T> |
DocumentFragment.create(String id,
String path,
int expiry,
T fragment,
long cas,
MutationToken mutationToken)
Creates a new
DocumentFragment (id, path and fragment) to represent a mutation result (with expiry, cas and mutationToken). |
static <T> DocumentFragment<T> |
DocumentFragment.create(String id,
String path,
T fragment)
Creates a new
DocumentFragment (id, path and fragment) to represent a simple mutation input. |
static <T> DocumentFragment<T> |
DocumentFragment.create(String id,
String path,
T fragment,
long cas)
Creates a new
DocumentFragment (id, path and fragment) to represent a mutation input using optimistic locking (CAS). |
Copyright © 2015 Couchbase, Inc.