Class BytesProcessor.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch.ingest.ProcessorBase.AbstractBuilder<BytesProcessor.Builder>
co.elastic.clients.elasticsearch.ingest.BytesProcessor.Builder
- All Implemented Interfaces:
WithJson<BytesProcessor.Builder>,ObjectBuilder<BytesProcessor>
- Enclosing class:
- BytesProcessor
public static class BytesProcessor.Builder
extends ProcessorBase.AbstractBuilder<BytesProcessor.Builder>
implements ObjectBuilder<BytesProcessor>
Builder for
BytesProcessor.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aBytesProcessor.final BytesProcessor.BuilderRequired - The field to convert.final BytesProcessor.BuilderignoreMissing(Boolean value) Iftrueandfielddoes not exist or isnull, the processor quietly exits without modifying the document.protected BytesProcessor.Builderself()final BytesProcessor.BuildertargetField(String value) The field to assign the converted value to.Methods inherited from class co.elastic.clients.elasticsearch.ingest.ProcessorBase.AbstractBuilder
description, if_, if_, ignoreFailure, onFailure, onFailure, onFailure, onFailure, tagMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods 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 convert.API name:
field -
ignoreMissing
Iftrueandfielddoes not exist or isnull, the processor quietly exits without modifying the document.API name:
ignore_missing -
targetField
The field to assign the converted value to. By default, the field is updated in-place.API name:
target_field -
self
- Specified by:
selfin classProcessorBase.AbstractBuilder<BytesProcessor.Builder>
-
build
Builds aBytesProcessor.- Specified by:
buildin interfaceObjectBuilder<BytesProcessor>- Throws:
NullPointerException- if some of the required fields are null.
-