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
IngestPlugins.-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal AnalysisRegistryProvide analyzer supportfinal ClientProvides access to the node clientfinal EnvironmentUseful to provide access to the node's environment like config directory to processor factories.final IngestServicefinal MatcherWatchdogfinal LongSupplierProvides scheduler supportfinal ScriptServiceProvides processors script support.final ThreadContextAllows processors to read headers set byActionFilterinstances 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 byActionFilterinstances 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)
-