Uses of Class
com.couchbase.client.java.subdoc.DocumentFragment
-
-
Uses of DocumentFragment in com.couchbase.client.java
Methods in com.couchbase.client.java with parameters of type DocumentFragment Modifier and Type Method Description MutationState
MutationState. add(DocumentFragment... documentFragments)
Add one or moreDocumentFragments
to thisMutationState
.static MutationState
MutationState. from(DocumentFragment... documentFragments)
Create aMutationState
from one or moreDocumentFragments
. -
Uses of DocumentFragment in com.couchbase.client.java.datastructures
Methods in com.couchbase.client.java.datastructures that return DocumentFragment Modifier and Type Method 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 resultMethods in com.couchbase.client.java.datastructures that return types with arguments of type DocumentFragment Modifier and Type Method Description static rx.functions.Func1<JsonArrayDocument,DocumentFragment<Mutation>>
ResultMappingUtils. getMapFullArrayDocResultToSubDocFn(Mutation mutation)
Creates anonymous function for mapping full JsonArrayDocument insert result to document fragment resultstatic rx.functions.Func1<JsonDocument,DocumentFragment<Mutation>>
ResultMappingUtils. getMapFullDocResultToSubDocFn(Mutation mutation)
Creates anonymous function for mapping full JsonDocument insert result to document fragment resultstatic rx.functions.Func1<DocumentFragment<Mutation>,Boolean>
ResultMappingUtils. getMapResultFnForSubdocMutationToBoolean()
Creates anonymous function for mapping document fragment result to boolean -
Uses of DocumentFragment in com.couchbase.client.java.query
Methods in com.couchbase.client.java.query with parameters of type DocumentFragment Modifier and Type Method Description N1qlParams
N1qlParams. consistentWith(DocumentFragment... fragments)
Sets theDocumentFragment
s resulting of a mutation this query should be consistent with. -
Uses of DocumentFragment in com.couchbase.client.java.search
Methods in com.couchbase.client.java.search with parameters of type DocumentFragment Modifier and Type Method 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. -
Uses of DocumentFragment in com.couchbase.client.java.subdoc
Methods in com.couchbase.client.java.subdoc that return DocumentFragment Modifier and Type Method Description DocumentFragment<Lookup>
LookupInBuilder. execute()
Perform severallookup
operations inside a single existingJSON document
, using the default key/value timeout.DocumentFragment<Lookup>
LookupInBuilder. execute(long timeout, TimeUnit timeUnit)
Perform severallookup
operations inside a single existingJSON document
, using a specific timeout.DocumentFragment<Mutation>
MutateInBuilder. execute()
Perform severalmutation
operations inside a single existingJSON document
, with the default key/value timeout.DocumentFragment<Mutation>
MutateInBuilder. execute(long timeout, TimeUnit timeUnit)
Perform severalmutation
operations inside a single existingJSON document
, with a specific timeout.DocumentFragment<Mutation>
MutateInBuilder. execute(PersistTo persistTo)
Perform severalmutation
operations inside a single existingJSON document
, with the default key/value timeout and durability requirements.DocumentFragment<Mutation>
MutateInBuilder. execute(PersistTo persistTo, long timeout, TimeUnit timeUnit)
Perform severalmutation
operations inside a single existingJSON document
, with a specific timeout and durability requirements.DocumentFragment<Mutation>
MutateInBuilder. execute(PersistTo persistTo, ReplicateTo replicateTo)
Perform severalmutation
operations inside a single existingJSON document
, with the default key/value timeout and durability requirements.DocumentFragment<Mutation>
MutateInBuilder. execute(PersistTo persistTo, ReplicateTo replicateTo, long timeout, TimeUnit timeUnit)
Perform severalmutation
operations inside a single existingJSON document
, with a specific timeout and durability requirements.DocumentFragment<Mutation>
MutateInBuilder. execute(ReplicateTo replicateTo)
Perform severalmutation
operations inside a single existingJSON document
, with the default key/value timeout and durability requirements.DocumentFragment<Mutation>
MutateInBuilder. execute(ReplicateTo replicateTo, long timeout, TimeUnit timeUnit)
Perform severalmutation
operations inside a single existingJSON document
, with a specific timeout and durability requirements.Methods in com.couchbase.client.java.subdoc that return types with arguments of type DocumentFragment Modifier and Type Method Description protected rx.Observable<DocumentFragment<Lookup>>
AsyncLookupInBuilder. doMultiLookup(long timeout, TimeUnit timeUnit)
Helper method to perform a multi path lookup.protected rx.Observable<DocumentFragment<Mutation>>
AsyncMutateInBuilder. doMultiMutate(long timeout, TimeUnit timeUnit)
protected rx.Observable<DocumentFragment<Lookup>>
AsyncLookupInBuilder. doSingleLookup(LookupSpec spec, long timeout, TimeUnit timeUnit)
protected rx.Observable<DocumentFragment<Mutation>>
AsyncMutateInBuilder. doSingleMutate(MutationSpec spec, long timeout, TimeUnit timeUnit)
rx.Observable<DocumentFragment<Lookup>>
AsyncLookupInBuilder. execute()
Perform severallookup
operations inside a single existingJSON document
.rx.Observable<DocumentFragment<Lookup>>
AsyncLookupInBuilder. execute(long timeout, TimeUnit timeUnit)
Perform severallookup
operations inside a single existingJSON document
.rx.Observable<DocumentFragment<Mutation>>
AsyncMutateInBuilder. execute()
Perform severalmutation
operations inside a single existingJSON document
.rx.Observable<DocumentFragment<Mutation>>
AsyncMutateInBuilder. execute(long timeout, TimeUnit timeUnit)
Perform severalmutation
operations inside a single existingJSON document
.rx.Observable<DocumentFragment<Mutation>>
AsyncMutateInBuilder. execute(PersistTo persistTo)
Perform severalmutation
operations inside a single existingJSON document
and watch for durability requirements.rx.Observable<DocumentFragment<Mutation>>
AsyncMutateInBuilder. execute(PersistTo persistTo, long timeout, TimeUnit timeUnit)
Perform severalmutation
operations inside a single existingJSON document
and watch for durability requirements.rx.Observable<DocumentFragment<Mutation>>
AsyncMutateInBuilder. execute(PersistTo persistTo, ReplicateTo replicateTo)
Perform severalmutation
operations inside a single existingJSON document
and watch for durability requirements.rx.Observable<DocumentFragment<Mutation>>
AsyncMutateInBuilder. execute(PersistTo persistTo, ReplicateTo replicateTo, long timeout, TimeUnit timeUnit)
Perform severalmutation
operations inside a single existingJSON document
and watch for durability requirements.rx.Observable<DocumentFragment<Mutation>>
AsyncMutateInBuilder. execute(ReplicateTo replicateTo)
Perform severalmutation
operations inside a single existingJSON document
and watch for durability requirements.rx.Observable<DocumentFragment<Mutation>>
AsyncMutateInBuilder. execute(ReplicateTo replicateTo, long timeout, TimeUnit timeUnit)
Perform severalmutation
operations inside a single existingJSON document
and watch for durability requirements.
-