Package org.elasticsearch.ingest
Class TestProcessor
java.lang.Object
org.elasticsearch.ingest.TestProcessor
- All Implemented Interfaces:
Processor
Processor used for testing, keeps track of how many times it is invoked and
accepts a
Consumer
of IngestDocument
to be called when executed.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.ingest.Processor
Processor.Parameters
-
Constructor Summary
ConstructorDescriptionTestProcessor
(String tag, String type, String description, RuntimeException e) TestProcessor
(String tag, String type, String description, Consumer<IngestDocument> ingestDocumentConsumer) TestProcessor
(String tag, String type, String description, Function<IngestDocument, IngestDocument> ingestDocumentMapper) TestProcessor
(Consumer<IngestDocument> ingestDocumentConsumer) -
Method Summary
-
Constructor Details
-
TestProcessor
-
TestProcessor
-
TestProcessor
-
TestProcessor
public TestProcessor(String tag, String type, String description, Consumer<IngestDocument> ingestDocumentConsumer) -
TestProcessor
public TestProcessor(String tag, String type, String description, Function<IngestDocument, IngestDocument> ingestDocumentMapper)
-
-
Method Details