Trait mz_adapter::optimize::OptimizerCatalog
source · pub trait OptimizerCatalog:
Debug
+ Send
+ Sync {
// Required methods
fn get_entry(&self, id: &GlobalId) -> &CatalogEntry;
fn get_entry_by_item_id(&self, id: &CatalogItemId) -> &CatalogEntry;
fn resolve_full_name(
&self,
name: &QualifiedItemName,
conn_id: Option<&ConnectionId>,
) -> FullItemName;
fn get_indexes_on(
&self,
id: GlobalId,
cluster: ClusterId,
) -> Box<dyn Iterator<Item = (GlobalId, &Index)> + '_>;
}