Class SortedRangeSet

java.lang.Object
io.trino.spi.predicate.SortedRangeSet
All Implemented Interfaces:
ValueSet

public final class SortedRangeSet extends Object implements ValueSet
A set containing zero or more Ranges of the same type over a continuous space of possible values. Ranges are coalesced into the most compact representation of non-overlapping Ranges. This structure allows iteration across these compacted Ranges in increasing order, as well as other common set-related operation.