Class TDigestHolder

java.lang.Object
org.elasticsearch.compute.data.TDigestHolder
All Implemented Interfaces:
GenericNamedWriteable, NamedWriteable, VersionedNamedWriteable, Writeable, TDigestReadView

public class TDigestHolder extends Object implements GenericNamedWriteable, TDigestReadView
This is a TDigestReadView annotated with some extra information: The sum, min and max of all observations. In addition, it stores the size as a dedicated field for faster access. The TDigest is represented a list of centroids and their counts, encoded in a byte array. This class does not own the underlying memory used to store the digest, it is merely a pointer/accessor for e.g. a single value in a TDigestBlock or in BreakingTDigestHolder.
This class supports serialization, but this is only intended for use in ES|QL Literals, as it uses untracked memory on deserialization.