@InterfaceStability.Committed @InterfaceAudience.Public public interface BinarySubdocMultiMutationRequest extends BinaryRequest
BinarySubdocRequest
that describes multiple mutations on a single document.
The mutations are applied atomically, so they either all succeed or none is applied.
Each MutationCommand
can act on a different path inside the document and be of a different nature.
A multi-mutation request can also alter the enclosing document's expiry and flags.Modifier and Type | Method and Description |
---|---|
long |
cas() |
List<MutationCommand> |
commands() |
ByteBuf |
content()
The
ByteBuf representing the whole list of commands() . |
byte |
docFlags() |
int |
expiration() |
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
int expiration()
long cas()
byte docFlags()
List<MutationCommand> commands()
MutationCommand
describing the multiple mutations to apply.ByteBuf content()
ByteBuf
representing the whole list of commands()
.
This buffer is to be automatically released once the message has been written on the wire.Copyright © 2021 Couchbase, Inc.. All rights reserved.