Package | Description |
---|---|
com.couchbase.client.java | |
com.couchbase.client.java.document.subdoc |
Modifier and Type | Method and Description |
---|---|
<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. |
Modifier and Type | Method and Description |
---|---|
static ExtendDirection |
ExtendDirection.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExtendDirection[] |
ExtendDirection.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static <T> MutationSpec |
MutationSpec.extend(String path,
T value,
ExtendDirection direction,
boolean createParents)
Creates a
MutationSpec to extend an existing array, prepending or appending the value depending on the given direction. |
Copyright © 2015 Couchbase, Inc.