presto-main/src/main/java/io/prestosql/connector/informationschema/InformationSchemaMetadata.java/InformationSchemaMetadata/applyFilter
class InformationSchemaMetadata:    @Override
    public Optional<ConstraintApplicationResult<ConnectorTableHandle>> applyFilter(ConnectorSession session, ConnectorTableHandle handle, Constraint constraint)
    {
        InformationSchemaTableHandle table = (InformationSchemaTableHandle) handle;

        if (!isTablesEnumeratingTable(table.getTable()) || !table.getPrefixes().equals(defaultPrefixes(catalogName))) {
            return Optional.empty();
        }

        Set<QualifiedTablePrefix> prefixes = getPrefixes(session, table, constraint);

        if (prefixes.equals(table.getPrefixes())) {
            return Optional.empty();
        }

        table = new InformationSchemaTableHandle(table.getCatalogName(), table.getTable(), prefixes, table.getLimit());

        return Optional.of(new ConstraintApplicationResult<>(table, constraint.getSummary()));
    }