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 PipelineProcessor
create(java.util.Map<java.lang.String,Processor.Factory> registry, java.lang.String processorTag, java.lang.String description, java.util.Map<java.lang.String,java.lang.Object> config)
Creates a processor based on the specified map of maps config.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Factory
-
-
Method Details
-
create
public PipelineProcessor create(java.util.Map<java.lang.String,Processor.Factory> registry, java.lang.String processorTag, java.lang.String description, java.util.Map<java.lang.String,java.lang.Object> config) throws java.lang.ExceptionDescription copied from interface:Processor.Factory
Creates a processor based on the specified map of maps config.- Specified by:
create
in interfaceProcessor.Factory
- Parameters:
registry
- Other processors which may be created inside this processorprocessorTag
- 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:
java.lang.Exception
-