presto-spi/src/main/java/io/prestosql/spi/predicate/ValuesProcessor.java/ValuesProcessor/transform
class ValuesProcessor:    <T> T transform(Function<Ranges, T> rangesFunction, Function<DiscreteValues, T> discreteValuesFunction, Function<AllOrNone, T> allOrNoneFunction);