@InterfaceStability.Committed @InterfaceAudience.Public public class SubExistRequest extends AbstractSubdocRequest
A sub-document exist operation.
EXCEPTION_EMPTY_PATH, EXCEPTION_NULL_PATH
DEFAULT_PARTITION
Constructor and Description |
---|
SubExistRequest(String key,
String path,
String bucket)
Creates a new
SubExistRequest . |
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
afterSpanSet, key, keyBytes, opaque, operationId, partition, partition
bucket, complete, creationTime, dispatchHostname, dispatchHostname, emit, fail, incrementRetryCount, isActive, lastLocalId, lastLocalId, lastLocalSocket, lastLocalSocket, lastRemoteSocket, lastRemoteSocket, maxRetryDuration, maxRetryDuration, observable, password, retryAfter, retryAfter, retryCount, retryDelay, retryDelay, span, span, subscriber, succeed, toString, username
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
key, keyBytes, opaque, partition, partition
bucket, complete, dispatchHostname, dispatchHostname, emit, fail, incrementRetryCount, isActive, lastLocalId, lastLocalId, lastLocalSocket, lastLocalSocket, lastRemoteSocket, lastRemoteSocket, maxRetryDuration, maxRetryDuration, observable, operationId, password, retryAfter, retryAfter, retryCount, retryDelay, retryDelay, span, span, subscriber, succeed, username
creationTime
public SubExistRequest(String key, String path, String bucket)
Creates a new SubExistRequest
. The SimpleSubdocResponse
will only denote existence of the path through its AbstractCouchbaseResponse.status()
.
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 © 2018 Couchbase, Inc.. All rights reserved.