Class TrimProcessor
java.lang.Object
co.elastic.clients.elasticsearch.ingest.ProcessorBase
co.elastic.clients.elasticsearch.ingest.TrimProcessor
- All Implemented Interfaces:
- ProcessorVariant,- JsonpSerializable
- See Also:
- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch.ingest.ProcessorBaseProcessorBase.AbstractBuilder<BuilderT extends ProcessorBase.AbstractBuilder<BuilderT>>
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<TrimProcessor>Json deserializer forTrimProcessor
- 
Method SummaryModifier and TypeMethodDescriptionProcessor variant kind.final Stringfield()Required - The string-valued field to trim whitespace from.final BooleanIftrueandfielddoes not exist, the processor quietly exits without modifying the document.static TrimProcessorprotected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal StringThe field to assign the trimmed value to.Methods inherited from class co.elastic.clients.elasticsearch.ingest.ProcessorBasedescription, if_, ignoreFailure, onFailure, serialize, setupProcessorBaseDeserializer, tag, toStringMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface co.elastic.clients.elasticsearch.ingest.ProcessorVariant_toProcessor
- 
Field Details- 
_DESERIALIZERJson deserializer forTrimProcessor
 
- 
- 
Method Details- 
of
- 
_processorKindProcessor variant kind.- Specified by:
- _processorKindin interface- ProcessorVariant
 
- 
fieldRequired - The string-valued field to trim whitespace from.API name: field
- 
ignoreMissingIftrueandfielddoes not exist, the processor quietly exits without modifying the document.API name: ignore_missing
- 
targetFieldThe field to assign the trimmed value to. By default, the field is updated in-place.API name: target_field
- 
serializeInternal- Overrides:
- serializeInternalin class- ProcessorBase
 
- 
setupTrimProcessorDeserializer
 
-