java.lang.Object
org.elasticsearch.compute.aggregation.blockhash.BlockHash
org.elasticsearch.compute.aggregation.blockhash.TimeSeriesBlockHash
All Implemented Interfaces:
Closeable, AutoCloseable, SeenGroupIds, Releasable

public final class TimeSeriesBlockHash extends BlockHash
An optimized block hash that receives two blocks: tsid and timestamp, which are sorted. Since the incoming data is sorted, this block hash checks tsid ordinals to avoid redundant hash lookups for consecutive positions with the same tsid and timestamp. Delegates to a BytesRefLongBlockHash for the actual hashing.