public class Replace extends MutateInSpec
Modifier and Type | Method and Description |
---|---|
SubdocMutateRequest.Command |
encode(JsonSerializer serializer,
int originalIndex)
Internal operation called from the encoding side that encodes the spec into its internal representation.
|
Replace |
xattr()
Sets that this is an extended attribute (xattr) field.
|
arrayAddUnique, arrayAppend, arrayInsert, arrayPrepend, decrement, increment, insert, remove, replace, upsert
public Replace xattr()
public SubdocMutateRequest.Command encode(JsonSerializer serializer, int originalIndex)
MutateInSpec
encode
in class MutateInSpec
serializer
- the serializer that should be used.originalIndex
- the original index of the command.Copyright © 2020 Couchbase, Inc.. All rights reserved.