Class CsvProcessor
java.lang.Object
co.elastic.clients.elasticsearch.ingest.ProcessorBase
co.elastic.clients.elasticsearch.ingest.CsvProcessor
- 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<CsvProcessor>Json deserializer forCsvProcessor
- 
Method SummaryModifier and TypeMethodDescriptionProcessor variant kind.final JsonDataValue used to fill empty fields.final Stringfield()Required - The field to extract data from.final BooleanIftrueandfielddoes not exist, the processor quietly exits without modifying the document.static CsvProcessorfinal Stringquote()Quote used in CSV, has to be single character string.final StringSeparator used in CSV, has to be single character string.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidRequired - The array of fields to assign extracted values to.final Booleantrim()Trim whitespaces in unquoted fields.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 forCsvProcessor
 
- 
- 
Method Details- 
of
- 
_processorKindProcessor variant kind.- Specified by:
- _processorKindin interface- ProcessorVariant
 
- 
emptyValueValue used to fill empty fields. Empty fields are skipped if this is not provided. An empty field is one with no value (2 consecutive separators) or empty quotes ("").API name: empty_value
- 
fieldRequired - The field to extract data from.API name: field
- 
ignoreMissingIftrueandfielddoes not exist, the processor quietly exits without modifying the document.API name: ignore_missing
- 
quoteQuote used in CSV, has to be single character string.API name: quote
- 
separatorSeparator used in CSV, has to be single character string.API name: separator
- 
targetFieldsRequired - The array of fields to assign extracted values to.API name: target_fields
- 
trimTrim whitespaces in unquoted fields.API name: trim
- 
serializeInternal- Overrides:
- serializeInternalin class- ProcessorBase
 
- 
setupCsvProcessorDeserializer
 
-