package tech.easyflow.datacenter.connector;

import tech.easyflow.datacenter.entity.DatacenterTable;
import tech.easyflow.datacenter.meta.entity.DatacenterSource;
import tech.easyflow.datacenter.meta.model.DatacenterCatalogMeta;
import tech.easyflow.datacenter.meta.model.DatacenterTableDetailMeta;

import java.util.List;

public interface MetadataExplorer {
    List<DatacenterCatalogMeta> listCatalogs(DatacenterSource source);

    List<DatacenterTable> listTables(DatacenterSource source, String catalogName);

    DatacenterTableDetailMeta getTableDetail(DatacenterSource source, String catalogName, String tableName);
}
