presto-memory/src/main/java/io/prestosql/plugin/memory/MemoryPageSourceProvider.java/MemoryPageSourceProvider/positionMatchesPredicate
class MemoryPageSourceProvider:    private boolean positionMatchesPredicate(Page page, int position, Map<Integer, Domain> domains)
    {
        for (Map.Entry<Integer, Domain> entry : domains.entrySet()) {
            int channel = entry.getKey();
            Domain domain = entry.getValue();
            Object value = TypeUtils.readNativeValue(domain.getType(), page.getBlock(channel), position);
            if (!domain.includesNullableValue(value)) {
                return false;
            }
        }

        return true;
    }