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
FieldsModifier and TypeFieldDescriptionfinal AnalysisRegistry
Provide analyzer supportfinal Client
Provides access to the node clientfinal Environment
Useful to provide access to the node's environment like config directory to processor factories.final IngestService
final MatcherWatchdog
final LongSupplier
Provides scheduler supportfinal ScriptService
Provides processors script support.final ThreadContext
Allows processors to read headers set byActionFilter
instances that have run prior to in ingest. -
Constructor Summary
ConstructorsConstructorDescriptionParameters
(Environment env, ScriptService scriptService, AnalysisRegistry analysisRegistry, ThreadContext threadContext, LongSupplier relativeTimeSupplier, BiFunction<Long, Runnable, Scheduler.ScheduledCancellable> scheduler, IngestService ingestService, Client client, Consumer<Runnable> genericExecutor, MatcherWatchdog matcherWatchdog) -
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 -
matcherWatchdog
-
-
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, MatcherWatchdog matcherWatchdog)
-