Class UpdateOperation<TDocument,TPartialDocument>
java.lang.Object
co.elastic.clients.elasticsearch.core.bulk.BulkOperationBase
co.elastic.clients.elasticsearch.core.bulk.UpdateOperation<TDocument,TPartialDocument>
- All Implemented Interfaces:
BulkOperationVariant,JsonpSerializable,NdJsonpSerializable
public class UpdateOperation<TDocument,TPartialDocument>
extends BulkOperationBase
implements NdJsonpSerializable, BulkOperationVariant
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch.core.bulk.BulkOperationBase
BulkOperationBase.AbstractBuilder<BuilderT extends BulkOperationBase.AbstractBuilder<BuilderT>> -
Method Summary
Modifier and TypeMethodDescriptionBulkOperation variant kind.Iterator<?>action()Update actionfinal BinaryDataSerialized representation of the update action.static <TDocument,TPartialDocument>
UpdateOperation<TDocument,TPartialDocument> of(Function<UpdateOperation.Builder<TDocument, TPartialDocument>, ObjectBuilder<UpdateOperation<TDocument, TPartialDocument>>> fn) final BooleanAPI name:require_aliasfinal IntegerAPI name:retry_on_conflictprotected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Methods inherited from class co.elastic.clients.elasticsearch.core.bulk.BulkOperationBase
id, ifPrimaryTerm, ifSeqNo, index, routing, serialize, setupBulkOperationBaseDeserializer, toString, version, versionTypeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface co.elastic.clients.elasticsearch.core.bulk.BulkOperationVariant
_toBulkOperation
-
Method Details
-
of
public static <TDocument,TPartialDocument> UpdateOperation<TDocument,TPartialDocument> of(Function<UpdateOperation.Builder<TDocument, TPartialDocument>, ObjectBuilder<UpdateOperation<TDocument, TPartialDocument>>> fn) -
_bulkOperationKind
BulkOperation variant kind.- Specified by:
_bulkOperationKindin interfaceBulkOperationVariant
-
action
Update actionAPI name:
action -
binaryAction
Serialized representation of the update action. You should useactioninstead. This binary representation is used by theBulkIngesterhelper to compute the binary size of bulk requests.API name:
binary_action -
_serializables
- Specified by:
_serializablesin interfaceNdJsonpSerializable
-
requireAlias
API name:require_alias -
retryOnConflict
API name:retry_on_conflict -
serializeInternal
- Overrides:
serializeInternalin classBulkOperationBase
-