@InterfaceStability.Committed @InterfaceAudience.Public public class SubMultiLookupRequest extends AbstractKeyValueRequest implements BinarySubdocMultiLookupRequest
BinarySubdocMultiLookupRequest
.DEFAULT_PARTITION
Constructor and Description |
---|
SubMultiLookupRequest(String key,
String bucket,
LookupCommand... commands)
Creates a new
SubMultiLookupRequest . |
SubMultiLookupRequest(String key,
String bucket,
SubMultiLookupDocOptionsBuilder docOptionsBuilder,
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() . |
byte |
docFlags() |
afterSpanSet, hasSeenNotMyVbucket, key, keyBytes, opaque, operationId, partition, partition, sawNotMyVbucket
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
hasSeenNotMyVbucket, key, keyBytes, opaque, partition, partition, sawNotMyVbucket
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 SubMultiLookupRequest(String key, String bucket, SubMultiLookupDocOptionsBuilder docOptionsBuilder, LookupCommand... commands)
SubMultiLookupRequest
.key
- the key of the document to look into.bucket
- the bucket of the document.docOptionsBuilder
- the document access optionscommands
- LookupCommand
commandspublic SubMultiLookupRequest(String key, String bucket, LookupCommand... commands)
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
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
public byte docFlags()
docFlags
in interface BinarySubdocMultiLookupRequest
Copyright © 2021 Couchbase, Inc.. All rights reserved.