Package org.elasticsearch.ingest
Class Processor.Parameters
java.lang.Object
org.elasticsearch.ingest.Processor.Parameters
- Enclosing interface:
- Processor
Infrastructure class that holds services that can be used by processor factories to create processor instances
and that gets passed around to all
IngestPlugin
s.-
Field Summary
Modifier and TypeFieldDescriptionProvide analyzer supportProvides access to the node clientUseful to provide access to the node's environment like config directory to processor factories.Provides scheduler supportProvides processors script support.Allows processors to read headers set byActionFilter
instances that have run prior to in ingest. -
Constructor Summary
ConstructorDescriptionParameters(Environment env, ScriptService scriptService, AnalysisRegistry analysisRegistry, ThreadContext threadContext, LongSupplier relativeTimeSupplier, BiFunction<Long,Runnable,Scheduler.ScheduledCancellable> scheduler, IngestService ingestService, Client client, Consumer<Runnable> genericExecutor)
-
Method Summary
-
Field Details
-
env
Useful to provide access to the node's environment like config directory to processor factories. -
scriptService
Provides processors script support. -
analysisRegistry
Provide analyzer support -
threadContext
Allows processors to read headers set byActionFilter
instances that have run prior to in ingest. -
relativeTimeSupplier
-
ingestService
-
genericExecutor
-
scheduler
Provides scheduler support -
client
Provides access to the node client
-
-
Constructor Details
-
Parameters
public Parameters(Environment env, ScriptService scriptService, AnalysisRegistry analysisRegistry, ThreadContext threadContext, LongSupplier relativeTimeSupplier, BiFunction<Long,Runnable,Scheduler.ScheduledCancellable> scheduler, IngestService ingestService, Client client, Consumer<Runnable> genericExecutor)
-