Package | Description |
---|---|
com.couchbase.client.core.error.context | |
com.couchbase.client.core.io.netty.kv | |
com.couchbase.client.core.msg.kv |
Constructor and Description |
---|
SubDocumentErrorContext(KeyValueErrorContext kvContext,
int index,
String path,
SubDocumentOpResponseStatus status) |
Modifier and Type | Method and Description |
---|---|
static SubDocumentOpResponseStatus |
MemcacheProtocol.decodeSubDocumentStatus(short status)
Converts a KeyValue protocol status into its generic format.
|
Modifier and Type | Method and Description |
---|---|
static CouchbaseException |
MemcacheProtocol.mapSubDocumentError(KeyValueRequest<?> request,
SubDocumentOpResponseStatus status,
String path,
int index)
For any response that can be returned by a SubDocument command - path, document, or execution-based - map it to
an appropriate SubDocumentException.
|
Modifier and Type | Method and Description |
---|---|
SubDocumentOpResponseStatus |
SubDocumentField.status() |
static SubDocumentOpResponseStatus |
SubDocumentOpResponseStatus.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SubDocumentOpResponseStatus[] |
SubDocumentOpResponseStatus.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
SubDocumentField(SubDocumentOpResponseStatus status,
Optional<CouchbaseException> error,
byte[] value,
String path,
SubdocCommandType type) |
Copyright © 2020 Couchbase, Inc.. All rights reserved.