Package org.elasticsearch.ingest
Class ConditionalProcessor
- java.lang.Object
-
- org.elasticsearch.ingest.AbstractProcessor
-
- org.elasticsearch.ingest.ConditionalProcessor
-
- All Implemented Interfaces:
Processor,WrappingProcessor
public class ConditionalProcessor extends AbstractProcessor implements WrappingProcessor
-
-
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
tag
-
-
Method Summary
Modifier and Type Method Description IngestDocumentexecute(IngestDocument ingestDocument)Introspect and potentially modify the incoming data.ProcessorgetInnerProcessor()Method for retrieving the inner processor from a wrapped processor.java.lang.StringgetType()Gets the type of a processor-
Methods inherited from class org.elasticsearch.ingest.AbstractProcessor
getTag
-
-
-
-
Method Detail
-
execute
public IngestDocument execute(IngestDocument ingestDocument) throws java.lang.Exception
Description copied from interface:ProcessorIntrospect and potentially modify the incoming data.
-
getInnerProcessor
public Processor getInnerProcessor()
Description copied from interface:WrappingProcessorMethod for retrieving the inner processor from a wrapped processor.- Specified by:
getInnerProcessorin interfaceWrappingProcessor- Returns:
- the inner processor
-
-