Package org.elasticsearch.ingest
Class PipelineProcessor
java.lang.Object
org.elasticsearch.ingest.AbstractProcessor
org.elasticsearch.ingest.PipelineProcessor
- All Implemented Interfaces:
Processor
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.elasticsearch.ingest.Processor
Processor.Parameters -
Field Summary
FieldsFields inherited from class org.elasticsearch.ingest.AbstractProcessor
description, tag -
Method Summary
Modifier and TypeMethodDescriptionexecute(IngestDocument ingestDocument)Introspect and potentially modify the incoming data.voidexecute(IngestDocument ingestDocument, BiConsumer<IngestDocument,Exception> handler)Introspect and potentially modify the incoming data.getType()Gets the type of a processorMethods inherited from class org.elasticsearch.ingest.AbstractProcessor
getDescription, getTag
-
Field Details
-
TYPE
- See Also:
- Constant Field Values
-
-
Method Details
-
execute
Description copied from interface:ProcessorIntrospect and potentially modify the incoming data. Expert method: only override this method if a processor implementation needs to make an asynchronous call, otherwise just overwriteProcessor.execute(IngestDocument). -
execute
Description copied from interface:ProcessorIntrospect and potentially modify the incoming data.- Returns:
- If
nullis returned then the current document will be dropped and not be indexed, otherwise this document will be kept and indexed - Throws:
Exception
-
getType
Description copied from interface:ProcessorGets the type of a processor
-