Package com.couchbase.client.java.kv
Class ReplaceBodyWithXattr
- java.lang.Object
-
- com.couchbase.client.java.kv.MutateInSpec
-
- com.couchbase.client.java.kv.ReplaceBodyWithXattr
-
@Internal public class ReplaceBodyWithXattr extends MutateInSpec
-
-
Constructor Summary
Constructors Constructor Description ReplaceBodyWithXattr(String src)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SubdocMutateRequest.Command
encode(JsonSerializer serializer, int originalIndex)
Internal operation called from the encoding side that encodes the spec into its internal representation.-
Methods inherited from class com.couchbase.client.java.kv.MutateInSpec
arrayAddUnique, arrayAppend, arrayInsert, arrayPrepend, decrement, increment, insert, remove, replace, upsert
-
-
-
-
Constructor Detail
-
ReplaceBodyWithXattr
public ReplaceBodyWithXattr(String src)
-
-
Method Detail
-
encode
public SubdocMutateRequest.Command encode(JsonSerializer serializer, int originalIndex)
Description copied from class:MutateInSpec
Internal operation called from the encoding side that encodes the spec into its internal representation.- Specified by:
encode
in classMutateInSpec
- Parameters:
serializer
- the serializer that should be used.originalIndex
- the original index of the command.- Returns:
- the encoded command.
-
-