pub trait ExtObjectStoreBuilder {
// Required method
fn build(
&self,
url: &PlRefPath,
options: Option<&CloudOptions>,
) -> PolarsResult<Arc<dyn ObjectStore + Send + Sync>>;
// Provided method
fn stable_cache_key(
&self,
_url: &PlRefPath,
_options: Option<&CloudOptions>,
) -> Option<Vec<u8>> { ... }
}Available on crate feature
cloud only.Expand description
Trait for external ObjectStore builder (e.g., for HDFS). Unstable.
Required Methods§
Provided Methods§
Sourcefn stable_cache_key(
&self,
_url: &PlRefPath,
_options: Option<&CloudOptions>,
) -> Option<Vec<u8>>
fn stable_cache_key( &self, _url: &PlRefPath, _options: Option<&CloudOptions>, ) -> Option<Vec<u8>>
Return a stable cache key for this store.
Defaults to None, which uses the default key (URL authority + serialised CloudOptions).