Package org.elasticsearch.ingest
Interface Processor.Factory
- All Known Implementing Classes:
DropProcessor.Factory
,PipelineProcessor.Factory
- Enclosing interface:
- Processor
public static interface Processor.Factory
A factory that knows how to construct a processor based on a map of maps.
-
Method Summary
-
Method Details
-
create
Processor create(Map<String,Processor.Factory> processorFactories, String tag, String description, Map<String,Object> config) throws ExceptionCreates a processor based on the specified map of maps config.- Parameters:
processorFactories
- Other processors which may be created inside this processortag
- The tag for the processordescription
- A short description of what this processor doesconfig
- The configuration for the processor Note: Implementations are responsible for removing the used configuration keys, so that after- Throws:
Exception
-