Uses of Class
com.couchbase.client.java.subdoc.SubdocOperationResult
Package | Description |
---|---|
com.couchbase.client.java.subdoc |
-
Uses of SubdocOperationResult in com.couchbase.client.java.subdoc
Methods in com.couchbase.client.java.subdoc that return SubdocOperationResult Modifier and Type Method Description static <OPERATION>
SubdocOperationResult<OPERATION>SubdocOperationResult. createError(String path, OPERATION operation, ResponseStatus status, CouchbaseException exception)
Create aSubdocOperationResult
that correspond to a subdoc-level error, to be thrown by the enclosingDocumentFragment when calling content methods
.static <OPERATION>
SubdocOperationResult<OPERATION>SubdocOperationResult. createFatal(String path, OPERATION operation, RuntimeException fatal)
Create aSubdocOperationResult
that denotes that a fatal Exception occurred when parsing server-side result.static <OPERATION>
SubdocOperationResult<OPERATION>SubdocOperationResult. createResult(String path, OPERATION operation, ResponseStatus status, Object value)
Create aSubdocOperationResult
that corresponds to an operation that should return a content (including null) instead of throwing when callingDocumentFragment.content(String)
.static <OPERATION>
SubdocOperationResult<OPERATION>SubdocOperationResult. createResult(String path, OPERATION operation, ResponseStatus status, Object value, byte[] rawValue)
Create aSubdocOperationResult
that corresponds to an operation that should return a content (including null) instead of throwing when callingDocumentFragment.content(String)
.Constructor parameters in com.couchbase.client.java.subdoc with type arguments of type SubdocOperationResult Constructor Description DocumentFragment(String id, long cas, MutationToken mutationToken, List<SubdocOperationResult<OPERATION>> resultList)