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
-
Method Summary
Modifier and TypeMethodDescriptionfinal BuilderT
dynamicTemplates
(String key, String value) A map from the full name of fields to the name of dynamic templates.final BuilderT
dynamicTemplates
(Map<String, String> map) A map from the full name of fields to the name of dynamic templates.final BuilderT
ID of the pipeline to use to preprocess incoming documents.final BuilderT
requireAlias
(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, versionType
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods 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_templates
Adds all entries of
map
todynamicTemplates
. -
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_templates
Adds 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_none
disables 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
-