java.lang.Object
org.elasticsearch.ingest.AbstractProcessor
org.elasticsearch.ingest.ConditionalProcessor
- All Implemented Interfaces:
Processor
,WrappingProcessor
A wrapping processor that adds 'if' logic around the wrapped processor.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.ingest.Processor
Processor.Factory, Processor.Parameters
-
Field Summary
Fields inherited from class org.elasticsearch.ingest.AbstractProcessor
description, tag
-
Method Summary
Modifier and TypeMethodDescriptionexecute
(IngestDocument ingestDocument) Introspect and potentially modify the incoming data.void
execute
(IngestDocument ingestDocument, BiConsumer<IngestDocument, Exception> handler) Introspect and potentially modify the incoming data.Method for retrieving the inner processor from a wrapped processor.getType()
Gets the type of a processorMethods inherited from class org.elasticsearch.ingest.AbstractProcessor
getDescription, getTag, logAndBuildException
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.elasticsearch.ingest.Processor
extraValidation, getDescription, getTag
Methods inherited from interface org.elasticsearch.ingest.WrappingProcessor
isAsync
-
Method Details
-
execute
Description copied from interface:Processor
Introspect and potentially modify the incoming data. -
execute
Description copied from interface:Processor
Introspect 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)
. -
getInnerProcessor
Description copied from interface:WrappingProcessor
Method for retrieving the inner processor from a wrapped processor.- Specified by:
getInnerProcessor
in interfaceWrappingProcessor
- Returns:
- the inner processor
-
getType
Description copied from interface:Processor
Gets the type of a processor -
getCondition
-