Class DotExpanderProcessor.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch.ingest.ProcessorBase.AbstractBuilder<DotExpanderProcessor.Builder>
co.elastic.clients.elasticsearch.ingest.DotExpanderProcessor.Builder
- All Implemented Interfaces:
WithJson<DotExpanderProcessor.Builder>
,ObjectBuilder<DotExpanderProcessor>
- Enclosing class:
- DotExpanderProcessor
public static class DotExpanderProcessor.Builder
extends ProcessorBase.AbstractBuilder<DotExpanderProcessor.Builder>
implements ObjectBuilder<DotExpanderProcessor>
Builder for
DotExpanderProcessor
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aDotExpanderProcessor
.Required - The field to expand into an object field.Controls the behavior when there is already an existing nested object that conflicts with the expanded field.The field that contains the field to expand.protected DotExpanderProcessor.Builder
self()
Methods inherited from class co.elastic.clients.elasticsearch.ingest.ProcessorBase.AbstractBuilder
description, if_, if_, ignoreFailure, onFailure, onFailure, onFailure, onFailure, tag
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
-
Builder
public Builder()
-
-
Method Details
-
field
Required - The field to expand into an object field. If set to*
, all top-level fields will be expanded.API name:
field
-
override
Controls the behavior when there is already an existing nested object that conflicts with the expanded field. Whenfalse
, the processor will merge conflicts by combining the old and the new values into an array. Whentrue
, the value from the expanded field will overwrite the existing value.API name:
override
-
path
The field that contains the field to expand. Only required if the field to expand is part another object field, because thefield
option can only understand leaf fields.API name:
path
-
self
- Specified by:
self
in classProcessorBase.AbstractBuilder<DotExpanderProcessor.Builder>
-
build
Builds aDotExpanderProcessor
.- Specified by:
build
in interfaceObjectBuilder<DotExpanderProcessor>
- Throws:
NullPointerException
- if some of the required fields are null.
-