@InterfaceStability.Experimental @InterfaceAudience.Public public class SubExistRequest extends AbstractSubdocRequest
A sub-document exist operation.
EXCEPTION_EMPTY_PATH, EXCEPTION_NULL_PATHDEFAULT_PARTITION| Constructor and Description |
|---|
SubExistRequest(String key,
String path,
String bucket)
Creates a new
SubExistRequest. |
| Modifier and Type | Method and Description |
|---|---|
byte |
opcode() |
cleanUpAndThrow, content, createContent, path, pathLengthkey, keyBytes, opaque, partition, partitionbucket, creationTime, incrementRetryCount, observable, password, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitkey, keyBytes, opaque, partition, partitionbucket, incrementRetryCount, observable, passwordcreationTimepublic 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 © 2016 Couchbase, Inc.. All rights reserved.