Modifier and Type | Method and Description |
---|---|
MutationState |
MutationState.add(DocumentFragment... documentFragments)
Add one or more
DocumentFragments to this MutationState . |
static MutationState |
MutationState.from(DocumentFragment... documentFragments)
Create a
MutationState from one or more DocumentFragments . |
Modifier and Type | Method and Description |
---|---|
static <E> DocumentFragment<Mutation> |
ResultMappingUtils.convertToSubDocumentResult(ResponseStatus status,
Mutation mutation,
E element)
Useful for mapping exceptions of Multimutation or to be silent by mapping success to a valid subdocument result
|
Modifier and Type | Method and Description |
---|---|
static rx.functions.Func1<JsonArrayDocument,DocumentFragment<Mutation>> |
ResultMappingUtils.getMapFullArrayDocResultToSubDocFn(Mutation mutation)
Creates anonymous function for mapping full JsonArrayDocument insert result to document fragment result
|
static rx.functions.Func1<JsonDocument,DocumentFragment<Mutation>> |
ResultMappingUtils.getMapFullDocResultToSubDocFn(Mutation mutation)
Creates anonymous function for mapping full JsonDocument insert result to document fragment result
|
static rx.functions.Func1<DocumentFragment<Mutation>,Boolean> |
ResultMappingUtils.getMapResultFnForSubdocMutationToBoolean()
Creates anonymous function for mapping document fragment result to boolean
|
Modifier and Type | Method and Description |
---|---|
N1qlParams |
N1qlParams.consistentWith(DocumentFragment... fragments)
Sets the
DocumentFragment s resulting of a mutation this query should be consistent with. |
Modifier and Type | Method and Description |
---|---|
SearchQuery |
SearchQuery.consistentWith(DocumentFragment... fragments)
Sets the consistency to consider for this FTS query to AT_PLUS and uses the mutation information from the given document fragments to parameterize the consistency.
|
Modifier and Type | Method and Description |
---|---|
DocumentFragment<Mutation> |
MutateInBuilder.execute()
Perform several
mutation operations inside a single existing JSON document , with the default key/value timeout. |
DocumentFragment<Lookup> |
LookupInBuilder.execute()
Perform several
lookup operations inside a single existing JSON document , using the default key/value timeout. |
DocumentFragment<Mutation> |
MutateInBuilder.execute(long timeout,
TimeUnit timeUnit)
Perform several
mutation operations inside a single existing JSON document , with a specific timeout. |
DocumentFragment<Lookup> |
LookupInBuilder.execute(long timeout,
TimeUnit timeUnit)
Perform several
lookup operations inside a single existing JSON document , using a specific timeout. |
DocumentFragment<Mutation> |
MutateInBuilder.execute(PersistTo persistTo)
Perform several
mutation operations inside a single existing JSON document , with the default key/value timeout and durability requirements. |
DocumentFragment<Mutation> |
MutateInBuilder.execute(PersistTo persistTo,
long timeout,
TimeUnit timeUnit)
Perform several
mutation operations inside a single existing JSON document , with a specific timeout and durability requirements. |
DocumentFragment<Mutation> |
MutateInBuilder.execute(PersistTo persistTo,
ReplicateTo replicateTo)
Perform several
mutation operations inside a single existing JSON document , with the default key/value timeout and durability requirements. |
DocumentFragment<Mutation> |
MutateInBuilder.execute(PersistTo persistTo,
ReplicateTo replicateTo,
long timeout,
TimeUnit timeUnit)
Perform several
mutation operations inside a single existing JSON document , with a specific timeout and durability requirements. |
DocumentFragment<Mutation> |
MutateInBuilder.execute(ReplicateTo replicateTo)
Perform several
mutation operations inside a single existing JSON document , with the default key/value timeout and durability requirements. |
DocumentFragment<Mutation> |
MutateInBuilder.execute(ReplicateTo replicateTo,
long timeout,
TimeUnit timeUnit)
Perform several
mutation operations inside a single existing JSON document , with a specific timeout and durability requirements. |
Modifier and Type | Method and Description |
---|---|
protected rx.Observable<DocumentFragment<Lookup>> |
AsyncLookupInBuilder.doMultiLookup() |
protected rx.Observable<DocumentFragment<Mutation>> |
AsyncMutateInBuilder.doMultiMutate() |
protected rx.Observable<DocumentFragment<Lookup>> |
AsyncLookupInBuilder.doSingleLookup(LookupSpec spec) |
protected rx.Observable<DocumentFragment<Mutation>> |
AsyncMutateInBuilder.doSingleMutate(MutationSpec spec) |
rx.Observable<DocumentFragment<Mutation>> |
AsyncMutateInBuilder.execute()
Perform several
mutation operations inside a single existing JSON document . |
rx.Observable<DocumentFragment<Lookup>> |
AsyncLookupInBuilder.execute()
Perform several
lookup operations inside a single existing JSON document . |
rx.Observable<DocumentFragment<Mutation>> |
AsyncMutateInBuilder.execute(PersistTo persistTo)
Perform several
mutation operations inside a single existing JSON document and watch for durability requirements. |
rx.Observable<DocumentFragment<Mutation>> |
AsyncMutateInBuilder.execute(PersistTo persistTo,
ReplicateTo replicateTo)
Perform several
mutation operations inside a single existing JSON document and watch for durability requirements. |
rx.Observable<DocumentFragment<Mutation>> |
AsyncMutateInBuilder.execute(ReplicateTo replicateTo)
Perform several
mutation operations inside a single existing JSON document and watch for durability requirements. |
Copyright © 2015 Couchbase, Inc.