Skip to main content

Module object_store

Module object_store 

Source

ModulesΒ§

azblob
fs
gcs
oss
s3

StructsΒ§

BuiltBackend
An object store rooted at the target’s parent, together with the optional target path relative to that root.
DISK_SYMBOL_PATTERN πŸ”’
LocalFileRoot
An opened server-controlled root for sandboxed SQL file access.
RemoteStorageAccess
How object stores built from SQL statements, such as COPY, COPY DATABASE, EXPORT/IMPORT DATABASE and external tables, may reach storage.

EnumsΒ§

LocalFileAccess
Controls whether SQL paths may access the local filesystem.

ConstantsΒ§

AZBLOB_SCHEMA
FILE_SCHEMA
FS_SCHEMA
GCS_SCHEMA
OSS_SCHEMA
S3_SCHEMA

FunctionsΒ§

build_backend
build_backend_for_write
Builds a backend for an operation that may create the target directory.
build_backend_for_write_with_path
Builds a writable backend and returns the target path relative to the backend root.
build_backend_inner πŸ”’
build_backend_with_path
Builds a backend and returns the target path relative to the backend root.
configured_local_path
Converts a configured location into a local path.
connection_value πŸ”’
Returns a connection option, treating an empty value as unset like the backends do.
ensure_server_credentials_allowed πŸ”’
finish_remote_backend πŸ”’
handle_windows_path
normalize_untrusted_path πŸ”’
parse_url
Returns (schema, Option<host>, path)
strip_local_prefix πŸ”’
validate_windows_file_name
Rejects Windows aliases and names that cannot be used as ordinary local files.