Package | Description |
---|---|
com.couchbase.client.java.subdoc |
Modifier and Type | Method and Description |
---|---|
static <OPERATION> |
SubdocOperationResult.createError(String path,
OPERATION operation,
ResponseStatus status,
CouchbaseException exception)
Create a
SubdocOperationResult that correspond to a subdoc-level error, to be thrown by the enclosing DocumentFragment when calling content methods . |
static <OPERATION> |
SubdocOperationResult.createFatal(String path,
OPERATION operation,
RuntimeException fatal)
Create a
SubdocOperationResult that denotes that a fatal Exception occurred when parsing server-side result. |
static <OPERATION> |
SubdocOperationResult.createResult(String path,
OPERATION operation,
ResponseStatus status,
Object value)
Create a
SubdocOperationResult that corresponds to an operation that should return a content (including null) instead of throwing when calling DocumentFragment.content(String) . |
Constructor and Description |
---|
DocumentFragment(String id,
long cas,
MutationToken mutationToken,
List<SubdocOperationResult<OPERATION>> resultList) |
Copyright © 2015 Couchbase, Inc.