@InterfaceStability.Experimental @InterfaceAudience.Public public class SubMultiLookupRequest extends AbstractKeyValueRequest implements BinarySubdocMultiLookupRequest
Concrete implementation of a BinarySubdocMultiLookupRequest.
DEFAULT_PARTITION| Constructor and Description |
|---|
SubMultiLookupRequest(String key,
String bucket,
LookupCommand... commands)
Creates a new
SubMultiLookupRequest. |
| Modifier and Type | Method and Description |
|---|---|
List<LookupCommand> |
commands() |
ByteBuf |
content()
The
ByteBuf representing the whole list of BinarySubdocMultiLookupRequest.commands(). |
key, 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 SubMultiLookupRequest(String key, String bucket, LookupCommand... commands)
Creates a new SubMultiLookupRequest.
key - the key of the document to look into.bucket - the bucket of the document.public List<LookupCommand> commands()
commands in interface BinarySubdocMultiLookupRequestLookupCommand describing the multiple operations to apply.public ByteBuf content()
BinarySubdocMultiLookupRequestThe ByteBuf representing the whole list of BinarySubdocMultiLookupRequest.commands().
This buffer is to be automatically released once the message has been written on the wire.
content in interface BinarySubdocMultiLookupRequestCopyright © 2016 Couchbase, Inc.. All rights reserved.