Class MergeHashSort

java.lang.Object
io.trino.operator.MergeHashSort
All Implemented Interfaces:
Closeable, AutoCloseable

public class MergeHashSort extends Object implements Closeable
This class performs merge of previously hash sorted pages streams.

Positions are compared using their hash value. It is possible that two distinct values to have same hash value, thus returned stream of Pages can have interleaved positions with same hash value.