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.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

  • Method Details

    • 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.Factory
      Creates a processor based on the specified map of maps config.
      Specified by:
      create in interface Processor.Factory
      Parameters:
      registry - Other processors which may be created inside this processor
      processorTag - The tag for the processor
      config - 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