pub trait ParquetCatalogSource: Sync {
// Required methods
fn object_store(&self) -> Arc<dyn ObjectStore> ⓘ;
fn base_path(&self) -> &str;
fn original_uri(&self) -> &str;
// Provided method
fn to_object_path_parsed(&self, path: &str) -> Result<ObjectPath> { ... }
}Expand description
Object-store source used to plan and read a legacy Parquet migration.
Required Methods§
Sourcefn object_store(&self) -> Arc<dyn ObjectStore> ⓘ
fn object_store(&self) -> Arc<dyn ObjectStore> ⓘ
Returns the object store containing the source catalog.
Sourcefn original_uri(&self) -> &str
fn original_uri(&self) -> &str
Returns the URI identifying the source catalog.
Provided Methods§
Sourcefn to_object_path_parsed(&self, path: &str) -> Result<ObjectPath>
fn to_object_path_parsed(&self, path: &str) -> Result<ObjectPath>
Resolves a plan-relative path within the source catalog.
§Errors
Returns an error if the combined object-store path is invalid.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".