Package com.couchbase.client.java.kv
Class Upsert
java.lang.Object
com.couchbase.client.java.kv.MutateInSpec
com.couchbase.client.java.kv.Upsert
An intention to perform a SubDocument upsert operation.
- Since:
- 1.0.0
- Author:
- Graham Pople
- 
Method SummaryModifier and TypeMethodDescriptionSets that this parent fields should be created automatically.toCore(JsonSerializer serializer) Internal operation called from the encoding side that encodes the spec into its internal representation.xattr()Sets that this is an extended attribute (xattr) field.Methods inherited from class com.couchbase.client.java.kv.MutateInSpecarrayAddUnique, arrayAppend, arrayInsert, arrayPrepend, decrement, increment, insert, remove, replace, upsert
- 
Method Details- 
xattrSets that this is an extended attribute (xattr) field.- Returns:
- this, for chaining
 
- 
createPathSets that this parent fields should be created automatically.- Returns:
- this, for chaining
 
- 
toCoreDescription copied from class:MutateInSpecInternal operation called from the encoding side that encodes the spec into its internal representation.- Specified by:
- toCorein class- MutateInSpec
- Parameters:
- serializer- the serializer that should be used.
- Returns:
- the encoded command.
 
 
-