java.lang.Object
org.elasticsearch.ingest.CompoundProcessor
org.elasticsearch.ingest.OnFailureProcessor
- All Implemented Interfaces:
Processor,WrappingProcessor
A wrapping processor that adds failure handling 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.CompoundProcessor
ON_FAILURE_MESSAGE_FIELD, ON_FAILURE_PIPELINE_FIELD, ON_FAILURE_PROCESSOR_TAG_FIELD, ON_FAILURE_PROCESSOR_TYPE_FIELD, PIPELINE_ORIGIN_EXCEPTION_HEADER, PROCESSOR_TAG_EXCEPTION_HEADER, PROCESSOR_TYPE_EXCEPTION_HEADER -
Constructor Summary
ConstructorsConstructorDescriptionOnFailureProcessor(boolean ignoreFailure, Processor processor, List<Processor> onFailureProcessors) -
Method Summary
Modifier and TypeMethodDescriptionMethod for retrieving the inner processor from a wrapped processor.getType()Gets the type of a processorMethods inherited from class org.elasticsearch.ingest.CompoundProcessor
execute, execute, flattenProcessors, getDescription, getOnFailureProcessors, getProcessors, getTag, isAsync, isIgnoreFailureMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.ingest.Processor
execute, execute, extraValidation, getDescription, getTagMethods inherited from interface org.elasticsearch.ingest.WrappingProcessor
isAsync
-
Constructor Details
-
OnFailureProcessor
-
-
Method Details
-
getInnerProcessor
Description copied from interface:WrappingProcessorMethod for retrieving the inner processor from a wrapped processor.- Specified by:
getInnerProcessorin interfaceWrappingProcessor- Returns:
- the inner processor
-
getType
Description copied from interface:ProcessorGets the type of a processor- Specified by:
getTypein interfaceProcessor- Overrides:
getTypein classCompoundProcessor
-