java.lang.Object
org.elasticsearch.index.codec.tsdb.pipeline.numeric.StageFactory

public final class StageFactory extends Object
Maps between StageSpec records and concrete stage instances, and between persisted StageId bytes and StageSpec records.

The encode path uses newTransformStage(org.elasticsearch.index.codec.tsdb.pipeline.StageSpec) and newPayloadStage(org.elasticsearch.index.codec.tsdb.pipeline.StageSpec, int) to create stages from a PipelineConfig. The decode path uses specFromStageId(org.elasticsearch.index.codec.tsdb.pipeline.StageId) to reconstruct specs from the persisted stage IDs in a PipelineDescriptor.