presto-spi/src/main/java/io/prestosql/spi/predicate/Range.java/Range/getSingleValue
class Range:    public Object getSingleValue()
    {
        if (!isSingleValue()) {
            throw new IllegalStateException("Range does not have just a single value");
        }
        return low.getValue();
    }