pub trait CatalogService: Send + Sync {
// Required method
fn get_schema(
&self,
database_id: DatabaseId,
table: String,
) -> BoxFuture<'_, TableSchema>;
}Expand description
Catalog reads (S1D-003).
Required Methods§
Sourcefn get_schema(
&self,
database_id: DatabaseId,
table: String,
) -> BoxFuture<'_, TableSchema>
fn get_schema( &self, database_id: DatabaseId, table: String, ) -> BoxFuture<'_, TableSchema>
Returns the current schema of one table.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".