@InterfaceStability.Experimental @InterfaceAudience.Public public interface BinarySubdocMultiMutationRequest extends BinaryRequest
A 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(). |
int |
expiration() |
key, keyBytes, opaque, partition, partitionbucket, incrementRetryCount, observable, passwordcreationTimeint expiration()
long cas()
List<MutationCommand> commands()
MutationCommand describing the multiple mutations to apply.ByteBuf content()
The ByteBuf representing the whole list of commands().
This buffer is to be automatically released once the message has been written on the wire.
Copyright © 2016 Couchbase, Inc.. All rights reserved.