Package org.elasticsearch.ingest
Class TrackingResultProcessor
java.lang.Object
org.elasticsearch.ingest.TrackingResultProcessor
- All Implemented Interfaces:
Processor
Processor to be used within Simulate API to keep track of processors executed in pipeline.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.ingest.Processor
Processor.Factory, Processor.Parameters -
Method Summary
Modifier and TypeMethodDescriptionstatic CompoundProcessordecorate(CompoundProcessor compoundProcessor, ConditionalProcessor parentCondition, List<SimulateProcessorResult> processorResultList)execute(IngestDocument ingestDocument)Introspect and potentially modify the incoming data.voidexecute(IngestDocument ingestDocument, BiConsumer<IngestDocument,Exception> handler)Introspect and potentially modify the incoming data.Gets the description of a processor.getTag()Gets the tag of a processor.getType()Gets the type of a processor
-
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. -
getType
Description copied from interface:ProcessorGets the type of a processor -
getTag
Description copied from interface:ProcessorGets the tag of a processor. -
getDescription
Description copied from interface:ProcessorGets the description of a processor.- Specified by:
getDescriptionin interfaceProcessor
-
decorate
public static CompoundProcessor decorate(CompoundProcessor compoundProcessor, ConditionalProcessor parentCondition, List<SimulateProcessorResult> processorResultList)
-