Package com.couchbase.client.java.kv
Class Remove
java.lang.Object
com.couchbase.client.java.kv.MutateInSpec
com.couchbase.client.java.kv.Remove
public class Remove extends MutateInSpec
An intention to perform a SubDocument remove operation.
- Since:
- 1.0.0
- Author:
- Graham Pople
-
Method Summary
Modifier and Type Method Description SubdocMutateRequest.Command
encode(JsonSerializer defaultSerializer, int originalIndex)
Internal operation called from the encoding side that encodes the spec into its internal representation.Remove
xattr()
Sets that this is an extended attribute (xattr) field.Methods inherited from class com.couchbase.client.java.kv.MutateInSpec
arrayAddUnique, arrayAppend, arrayInsert, arrayPrepend, decrement, increment, insert, remove, replace, upsert
-
Method Details
-
xattr
Sets that this is an extended attribute (xattr) field.- Returns:
- this, for chaining
-
encode
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:
defaultSerializer
- the serializer that should be used.originalIndex
- the original index of the command.- Returns:
- the encoded command.
-