Class PipelineProcessor

java.lang.Object
org.elasticsearch.ingest.AbstractProcessor
org.elasticsearch.ingest.PipelineProcessor
All Implemented Interfaces:
Processor

public class PipelineProcessor extends AbstractProcessor
  • Field Details

  • Method Details

    • execute

      public void execute(IngestDocument ingestDocument, BiConsumer<IngestDocument,Exception> handler)
      Description copied from interface: Processor
      Introspect and potentially modify the incoming data. Expert method: only override this method if a processor implementation needs to make an asynchronous call, otherwise just overwrite Processor.execute(IngestDocument).
    • execute

      public IngestDocument execute(IngestDocument ingestDocument) throws Exception
      Description copied from interface: Processor
      Introspect and potentially modify the incoming data.
      Returns:
      If null is returned then the current document will be dropped and not be indexed, otherwise this document will be kept and indexed
      Throws:
      Exception
    • getType

      public String getType()
      Description copied from interface: Processor
      Gets the type of a processor