Package org.elasticsearch.ingest
Interface Processor.Factory
-
- All Known Implementing Classes:
PipelineProcessor.Factory
- Enclosing interface:
- Processor
public static interface Processor.FactoryA factory that knows how to construct a processor based on a map of maps.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Processorcreate(Map<String,Processor.Factory> processorFactories, String tag, Map<String,Object> config)Creates a processor based on the specified map of maps config.
-
-
-
Method Detail
-
create
Processor create(Map<String,Processor.Factory> processorFactories, String tag, Map<String,Object> config) throws Exception
Creates 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 processorconfig- The configuration for the processor Note: Implementations are responsible for removing the used configuration keys, so that after creating a pipeline ingest can verify if all configurations settings have been used.- Throws:
Exception
-
-