@InterfaceStability.Committed @InterfaceAudience.Public public class SubGetRequest extends AbstractSubdocRequest
A sub-document get operation.
EXCEPTION_EMPTY_PATH, EXCEPTION_NULL_PATH
DEFAULT_PARTITION
Constructor and Description |
---|
SubGetRequest(String key,
String path,
String bucket)
Creates a new
SubGetRequest . |
Modifier and Type | Method and Description |
---|---|
boolean |
accessDeleted() |
void |
accessDeleted(boolean accessDeleted) |
byte |
opcode() |
boolean |
xattr() |
void |
xattr(boolean xattr) |
cleanUpAndThrow, content, createContent, path, pathLength
key, keyBytes, opaque, partition, partition
bucket, creationTime, dispatchHostname, dispatchHostname, incrementRetryCount, isActive, maxRetryDuration, maxRetryDuration, observable, password, retryAfter, retryAfter, retryCount, retryDelay, retryDelay, subscriber, toString, username
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
key, keyBytes, opaque, partition, partition
bucket, dispatchHostname, dispatchHostname, incrementRetryCount, isActive, maxRetryDuration, maxRetryDuration, observable, password, retryAfter, retryAfter, retryCount, retryDelay, retryDelay, subscriber, username
creationTime
public SubGetRequest(String key, String path, String bucket)
Creates a new SubGetRequest
.
key
- the key of the document.path
- the subdocument path to consider inside the document.bucket
- the bucket of the document.NullPointerException
- if the path is null (see AbstractSubdocRequest.EXCEPTION_NULL_PATH
)IllegalArgumentException
- if the path is empty (see AbstractSubdocRequest.EXCEPTION_EMPTY_PATH
)Copyright © 2017 Couchbase, Inc.. All rights reserved.