Class WriteOperation.AbstractBuilder<BuilderT extends WriteOperation.AbstractBuilder<BuilderT>>
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch.core.bulk.BulkOperationBase.AbstractBuilder<BuilderT>
co.elastic.clients.elasticsearch.core.bulk.WriteOperation.AbstractBuilder<BuilderT>
- All Implemented Interfaces:
WithJson<BuilderT>
- Direct Known Subclasses:
CreateOperation.Builder,IndexOperation.Builder
- Enclosing class:
- WriteOperation
public abstract static class WriteOperation.AbstractBuilder<BuilderT extends WriteOperation.AbstractBuilder<BuilderT>>
extends BulkOperationBase.AbstractBuilder<BuilderT>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal BuilderTdynamicTemplates(String key, String value) A map from the full name of fields to the name of dynamic templates.final BuilderTdynamicTemplates(Map<String, String> map) A map from the full name of fields to the name of dynamic templates.final BuilderTID of the pipeline to use to preprocess incoming documents.final BuilderTrequireAlias(Boolean value) Iftrue, the request’s actions must target an index alias.Methods inherited from class co.elastic.clients.elasticsearch.core.bulk.BulkOperationBase.AbstractBuilder
id, ifPrimaryTerm, ifSeqNo, index, routing, self, version, versionTypeMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
AbstractBuilder
public AbstractBuilder()
-
-
Method Details
-
dynamicTemplates
A map from the full name of fields to the name of dynamic templates. Defaults to an empty map. If a name matches a dynamic template, then 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_templatesAdds all entries of
maptodynamicTemplates. -
dynamicTemplates
A map from the full name of fields to the name of dynamic templates. Defaults to an empty map. If a name matches a dynamic template, then 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_templatesAdds an entry to
dynamicTemplates. -
pipeline
ID of the pipeline to use to preprocess incoming documents. If the index has a default ingest pipeline specified, then setting the value to_nonedisables 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 -
requireAlias
Iftrue, the request’s actions must target an index alias.API name:
require_alias
-