Package org.elasticsearch.ingest
Class Processor.Parameters
- java.lang.Object
-
- org.elasticsearch.ingest.Processor.Parameters
-
- Enclosing interface:
- Processor
public static class Processor.Parameters extends java.lang.ObjectInfrastructure class that holds services that can be used by processor factories to create processor instances and that gets passed around to allIngestPlugins.
-
-
Field Summary
Fields Modifier and Type Field Description AnalysisRegistryanalysisRegistryProvide analyzer supportEnvironmentenvUseful to provide access to the node's environment like config directory to processor factories.IngestServiceingestServicejava.util.function.LongSupplierrelativeTimeSupplierjava.util.function.BiFunction<java.lang.Long,java.lang.Runnable,java.util.concurrent.ScheduledFuture<?>>schedulerProvides scheduler supportScriptServicescriptServiceProvides processors script support.ThreadContextthreadContextAllows processors to read headers set byActionFilterinstances that have run prior to in ingest.
-
Constructor Summary
Constructors Constructor Description Parameters(Environment env, ScriptService scriptService, AnalysisRegistry analysisRegistry, ThreadContext threadContext, java.util.function.LongSupplier relativeTimeSupplier, java.util.function.BiFunction<java.lang.Long,java.lang.Runnable,java.util.concurrent.ScheduledFuture<?>> scheduler, IngestService ingestService)
-
-
-
Field Detail
-
env
public final Environment env
Useful to provide access to the node's environment like config directory to processor factories.
-
scriptService
public final ScriptService scriptService
Provides processors script support.
-
analysisRegistry
public final AnalysisRegistry analysisRegistry
Provide analyzer support
-
threadContext
public final ThreadContext threadContext
Allows processors to read headers set byActionFilterinstances that have run prior to in ingest.
-
relativeTimeSupplier
public final java.util.function.LongSupplier relativeTimeSupplier
-
ingestService
public final IngestService ingestService
-
scheduler
public final java.util.function.BiFunction<java.lang.Long,java.lang.Runnable,java.util.concurrent.ScheduledFuture<?>> scheduler
Provides scheduler support
-
-
Constructor Detail
-
Parameters
public Parameters(Environment env, ScriptService scriptService, AnalysisRegistry analysisRegistry, ThreadContext threadContext, java.util.function.LongSupplier relativeTimeSupplier, java.util.function.BiFunction<java.lang.Long,java.lang.Runnable,java.util.concurrent.ScheduledFuture<?>> scheduler, IngestService ingestService)
-
-