@InterfaceStability.Committed @InterfaceAudience.Public public class MutationCommand extends Object
BinarySubdocMultiMutationRequest
.Modifier | Constructor and Description |
---|---|
protected |
MutationCommand(MutationCommandBuilder builder)
Create a multi-mutation command.
|
|
MutationCommand(Mutation mutation,
String path)
Deprecated.
|
|
MutationCommand(Mutation mutation,
String path,
ByteBuf fragment)
Deprecated.
|
|
MutationCommand(Mutation mutation,
String path,
ByteBuf fragment,
boolean createIntermediaryPath)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
createIntermediaryPath() |
boolean |
expandMacros() |
Mutation |
mutation() |
byte |
opCode() |
String |
path() |
boolean |
xattr() |
@Deprecated public MutationCommand(Mutation mutation, String path, ByteBuf fragment, boolean createIntermediaryPath)
mutation
- the mutation type.path
- the path to mutate inside the document.fragment
- the target value for the mutation. This will be released when the request is sent.createIntermediaryPath
- true if missing parts of the path should be created if possible, false otherwise.@Deprecated public MutationCommand(Mutation mutation, String path, ByteBuf fragment)
mutation
- the mutation type.path
- the path to mutate inside the document.fragment
- the target value for the mutation. This will be released when the request is sent.@Deprecated public MutationCommand(Mutation mutation, String path)
""
", or the null fragment where
ByteBuf contains "NULL
").path
- the path to delete inside the document.protected MutationCommand(MutationCommandBuilder builder)
builder
- MutationCommandBuilder
Copyright © 2021 Couchbase, Inc.. All rights reserved.