pub fn build_object_store(
url: &str,
options: &HashMap<String, String>,
) -> Result<Arc<dyn ObjectStore>, ObjectStoreFactoryError>Expand description
Build an [ObjectStore] from a URL and optional configuration overrides.
§Supported schemes
| Scheme | Feature | Builder |
|---|---|---|
file:// | (always) | LocalFileSystem |
s3:// | aws | AmazonS3Builder |
gs:// | gcs | GoogleCloudStorageBuilder |
az://, abfs:// | azure | MicrosoftAzureBuilder |
§Errors
Returns ObjectStoreFactoryError if the scheme is unsupported, requires
an uncompiled feature, or the backend fails to build.