@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, partition
bucket, creationTime, incrementRetryCount, observable, password, retryCount, toString, username
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
key, keyBytes, opaque, partition, partition
bucket, incrementRetryCount, observable, password, retryCount, username
creationTime
public 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.commands
- LookupCommand
commandspublic List<LookupCommand> commands()
commands
in interface BinarySubdocMultiLookupRequest
LookupCommand
describing the multiple operations to apply.public ByteBuf content()
BinarySubdocMultiLookupRequest
The 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 BinarySubdocMultiLookupRequest
Copyright © 2017 Couchbase, Inc.. All rights reserved.