Package com.couchbase.client.java.kv
Class ArrayAppend
- java.lang.Object
-
- com.couchbase.client.java.kv.MutateInSpec
-
- com.couchbase.client.java.kv.ArrayAppend
-
public class ArrayAppend extends MutateInSpec
An intention to perform a SubDocument array append operation.- Since:
- 1.0.0
- Author:
- Graham Pople
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ArrayAppend
createPath()
Sets that this parent fields should be created automatically.SubdocMutateRequest.Command
encode()
ArrayAppend
encoder(Encoder encoder)
Sets a custom encoder, allowing any data type to be encoded.ArrayAppend
expandMacro()
Sets that this contains a macro that should be expanded on the server.ArrayAppend
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, fullDocument, increment, insert, remove, replace, upsert
-
-
-
-
Method Detail
-
xattr
public ArrayAppend xattr()
Sets that this is an extended attribute (xattr) field.- Returns:
- this, for chaining
-
createPath
public ArrayAppend createPath()
Sets that this parent fields should be created automatically.- Returns:
- this, for chaining
-
encoder
public ArrayAppend encoder(Encoder encoder)
Sets a custom encoder, allowing any data type to be encoded.- Parameters:
encoder
- the custom Encoder- Returns:
- this, for chaining
-
expandMacro
@Internal public ArrayAppend expandMacro()
Sets that this contains a macro that should be expanded on the server. For internal use.- Returns:
- this, for chaining
-
encode
public SubdocMutateRequest.Command encode()
- Specified by:
encode
in classMutateInSpec
-
-