@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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
key, keyBytes, opaque, partition, partition
bucket, incrementRetryCount, observable, password, retryCount
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.public 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 © 2016 Couchbase, Inc.. All rights reserved.