presto-spi/src/main/java/io/prestosql/spi/predicate/Domain.java/Domain/getSingleValue
class Domain:    public Object getSingleValue()
    {
        if (!isSingleValue()) {
            throw new IllegalStateException("Domain is not a single value");
        }
        return values.getSingleValue();
    }