Class ConvertProcessor.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch.ingest.ProcessorBase.AbstractBuilder<ConvertProcessor.Builder>
co.elastic.clients.elasticsearch.ingest.ConvertProcessor.Builder
- All Implemented Interfaces:
- WithJson<ConvertProcessor.Builder>,- ObjectBuilder<ConvertProcessor>
- Enclosing class:
- ConvertProcessor
public static class ConvertProcessor.Builder
extends ProcessorBase.AbstractBuilder<ConvertProcessor.Builder>
implements ObjectBuilder<ConvertProcessor>
Builder for 
ConvertProcessor.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Builds aConvertProcessor.final ConvertProcessor.BuilderRequired - The field whose value is to be converted.final ConvertProcessor.BuilderignoreMissing(Boolean value) Iftrueandfielddoes not exist or isnull, the processor quietly exits without modifying the document.protected ConvertProcessor.Builderself()final ConvertProcessor.BuildertargetField(String value) The field to assign the converted value to.final ConvertProcessor.Buildertype(ConvertType value) Required - The type to convert the existing value to.Methods inherited from class co.elastic.clients.elasticsearch.ingest.ProcessorBase.AbstractBuilderdescription, if_, if_, ignoreFailure, onFailure, onFailure, onFailure, onFailure, tagMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBasewithJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
fieldRequired - The field whose value is to be converted.API name: field
- 
ignoreMissingIftrueandfielddoes not exist or isnull, the processor quietly exits without modifying the document.API name: ignore_missing
- 
targetFieldThe field to assign the converted value to. By default, thefieldis updated in-place.API name: target_field
- 
typeRequired - The type to convert the existing value to.API name: type
- 
self- Specified by:
- selfin class- ProcessorBase.AbstractBuilder<ConvertProcessor.Builder>
 
- 
buildBuilds aConvertProcessor.- Specified by:
- buildin interface- ObjectBuilder<ConvertProcessor>
- Throws:
- NullPointerException- if some of the required fields are null.
 
 
-