presto-hive/src/main/java/io/prestosql/plugin/hive/util/InternalHiveSplitFactory.java/InternalHiveSplitFactory/pathMatchesPredicate
class InternalHiveSplitFactory:    private static boolean pathMatchesPredicate(Optional<Domain> pathDomain, String path)
    {
        return pathDomain
                .map(domain -> domain.includesNullableValue(utf8Slice(path)))
                .orElse(true);
    }