pub trait StorageExport: Send + Sync {
// Required methods
fn get_storage_path(&self, catalog: &str, schema: &str) -> (String, String);
fn format_output_path(&self, file_path: &str) -> String;
fn mask_sensitive_info(&self, sql: &str) -> String;
}Expand description
Trait for storage backends that can be used for data export.
Required Methods§
Sourcefn get_storage_path(&self, catalog: &str, schema: &str) -> (String, String)
fn get_storage_path(&self, catalog: &str, schema: &str) -> (String, String)
Generate the storage path for COPY DATABASE command. Returns (path, connection_string) where connection_string includes CONNECTION clause.
Sourcefn format_output_path(&self, file_path: &str) -> String
fn format_output_path(&self, file_path: &str) -> String
Format the output path for logging purposes.
Sourcefn mask_sensitive_info(&self, sql: &str) -> String
fn mask_sensitive_info(&self, sql: &str) -> String
Mask sensitive information in SQL commands for safe logging.