Class WriteOperation
java.lang.Object
co.elastic.clients.elasticsearch.core.bulk.BulkOperationBase
co.elastic.clients.elasticsearch.core.bulk.WriteOperation
- All Implemented Interfaces:
- JsonpSerializable
- Direct Known Subclasses:
- CreateOperation,- IndexOperation
- See Also:
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic class
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedWriteOperation(WriteOperation.AbstractBuilder<?> builder) 
- 
Method SummaryModifier and TypeMethodDescriptionA map from the full name of fields to the name of dynamic templates.final Stringpipeline()The ID of the pipeline to use to preprocess incoming documents.final BooleanIftrue, the request's actions must target an index alias.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static <BuilderT extends WriteOperation.AbstractBuilder<BuilderT>>
 voidsetupWriteOperationDeserializer(ObjectDeserializer<BuilderT> op) Methods inherited from class co.elastic.clients.elasticsearch.core.bulk.BulkOperationBaseid, ifPrimaryTerm, ifSeqNo, index, routing, serialize, setupBulkOperationBaseDeserializer, toString, version, versionType
- 
Constructor Details- 
WriteOperation
 
- 
- 
Method Details- 
dynamicTemplatesA map from the full name of fields to the name of dynamic templates. It defaults to an empty map. If a name matches a dynamic template, that template will be applied regardless of other match predicates defined in the template. If a field is already defined in the mapping, then this parameter won't be used.API name: dynamic_templates
- 
pipelineThe ID of the pipeline to use to preprocess incoming documents. If the index has a default ingest pipeline specified, setting the value to_noneturns off the default ingest pipeline for this request. If a final pipeline is configured, it will always run regardless of the value of this parameter.API name: pipeline
- 
requireAliasIftrue, the request's actions must target an index alias.API name: require_alias
- 
serializeInternal- Overrides:
- serializeInternalin class- BulkOperationBase
 
- 
setupWriteOperationDeserializerprotected static <BuilderT extends WriteOperation.AbstractBuilder<BuilderT>> void setupWriteOperationDeserializer(ObjectDeserializer<BuilderT> op) 
 
-