Package org.elasticsearch.ingest
Class PipelineProcessor.Factory
- java.lang.Object
-
- org.elasticsearch.ingest.PipelineProcessor.Factory
-
- All Implemented Interfaces:
Processor.Factory
- Enclosing class:
- PipelineProcessor
public static final class PipelineProcessor.Factory extends java.lang.Object implements Processor.Factory
-
-
Constructor Summary
Constructors Constructor Description Factory(IngestService ingestService)
-
Method Summary
Modifier and Type Method Description PipelineProcessorcreate(java.util.Map<java.lang.String,Processor.Factory> registry, java.lang.String processorTag, java.util.Map<java.lang.String,java.lang.Object> config)Creates a processor based on the specified map of maps config.
-
-
-
Constructor Detail
-
Factory
public Factory(IngestService ingestService)
-
-
Method Detail
-
create
public PipelineProcessor create(java.util.Map<java.lang.String,Processor.Factory> registry, java.lang.String processorTag, java.util.Map<java.lang.String,java.lang.Object> config) throws java.lang.Exception
Description copied from interface:Processor.FactoryCreates a processor based on the specified map of maps config.- Specified by:
createin interfaceProcessor.Factory- Parameters:
registry- Other processors which may be created inside this processorprocessorTag- 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:
java.lang.Exception
-
-