Module org.elasticsearch.server
Package org.elasticsearch.index.codec.tsdb.pipeline.numeric
package org.elasticsearch.index.codec.tsdb.pipeline.numeric
Encoder/decoder contracts and pipeline orchestration for numeric pipeline stages.
This package defines two families of stage contracts:
- Transform stages:
TransformEncoderandTransformDecoder(combined asNumericCodecStage) modifylong[]values in-place and exchange metadata through the encoding/decoding context. Concrete implementations live in theorg.elasticsearch.index.codec.tsdb.pipeline.numeric.stagessubpackage. - Payload stages:
PayloadEncoderandPayloadDecoder(combined asPayloadCodecStage) serialize transformed values to bytes and read them back as the terminal pipeline step.
Pipeline orchestration is provided by NumericEncodePipeline
(write path) and NumericDecodePipeline (read path).
The high-level API is exposed via NumericEncoder
and NumericDecoder, which produce per-field
NumericBlockEncoder and
NumericBlockDecoder instances owning
mutable per-block context.
Each stage implementation corresponds to a
StageSpec and is identified by a
StageId for wire-format lookup
during decoding.
-
ClassDescriptionPer-field block decoder owning a mutable
DecodingContext.Per-field block encoder owning a mutableEncodingContext.Factory for creating encoder/decoder instances.A combined encoder/decoder for a non-terminal transform stage.Immutable decoding pipeline: reads payload then reverses transform stages.Read-path coordinator for pipeline-based numeric decoding.Immutable encoding pipeline: transform stages followed by a terminal payload stage.Write-path coordinator for pipeline-based numeric encoding.A combined encoder/decoder for a terminal payload stage.Deserializes bytes back to values as the terminal stage of the decode pipeline.Serializes values to bytes as the terminal stage of the encode pipeline.Reverses an in-place transformation as a non-terminal stage of the decode pipeline.Transforms values in-place as a non-terminal stage of the encode pipeline.