public class ArrayInsert extends MutateInSpec
| Modifier and Type | Method and Description |
|---|---|
ArrayInsert |
createPath()
Deprecated.
Couchbase Server does not support the "create path" option for `ArrayInsert`
sub-document operations. Calling this method causes `mutateIn` to throw
CouchbaseException. Please do not call this method.
If you want to create missing parent objects, please use |
com.couchbase.client.core.api.kv.CoreSubdocMutateCommand |
toCore(JsonSerializer serializer)
Internal operation called from the encoding side that encodes the spec into its internal representation.
|
ArrayInsert |
xattr()
Sets that this is an extended attribute (xattr) field.
|
arrayAddUnique, arrayAppend, arrayInsert, arrayPrepend, decrement, increment, insert, remove, replace, upsertpublic ArrayInsert xattr()
@Deprecated public ArrayInsert createPath()
CouchbaseException. Please do not call this method.
If you want to create missing parent objects, please use MutateInSpec.arrayPrepend(java.lang.String, java.util.List<?>)
or MutateInSpec.arrayAppend(java.lang.String, java.util.List<?>) instead of MutateInSpec.arrayInsert(java.lang.String, java.util.List<?>).
public com.couchbase.client.core.api.kv.CoreSubdocMutateCommand toCore(JsonSerializer serializer)
MutateInSpectoCore in class MutateInSpecserializer - the serializer that should be used.Copyright © 2024 Couchbase, Inc.. All rights reserved.