presto-main/src/main/java/io/prestosql/metadata/MetadataManager.java/MetadataManager/getConnectorCapabilities
class MetadataManager:    @Override
    public Set<ConnectorCapabilities> getConnectorCapabilities(Session session, CatalogName catalogName)
    {
        return getCatalogMetadata(session, catalogName).getConnectorCapabilities();
    }