pub struct FilesystemLakeSessionConfig { /* private fields */ }Expand description
Explicit filesystem and PostgreSQL catalog inputs for one existing Lake.
Implementations§
Source§impl FilesystemLakeSessionConfig
impl FilesystemLakeSessionConfig
pub fn new( filesystem_base: impl Into<String>, datastore_prefix: impl Into<String>, catalog_host: impl Into<String>, catalog_port: u16, catalog_database: impl Into<String>, catalog_schema: impl Into<String>, catalog_role: impl Into<String>, tls: FilesystemCatalogTls, encryption_mode: EncryptionMode, ) -> Result<Self, LakeError>
Sourcepub fn from_binding(
filesystem_base: impl Into<String>,
canonical_data_path: impl Into<String>,
catalog_host: impl Into<String>,
catalog_port: u16,
catalog_database: impl Into<String>,
catalog_schema: impl Into<String>,
catalog_role: impl Into<String>,
tls: FilesystemCatalogTls,
encryption_mode: EncryptionMode,
) -> Result<Self, LakeError>
pub fn from_binding( filesystem_base: impl Into<String>, canonical_data_path: impl Into<String>, catalog_host: impl Into<String>, catalog_port: u16, catalog_database: impl Into<String>, catalog_schema: impl Into<String>, catalog_role: impl Into<String>, tls: FilesystemCatalogTls, encryption_mode: EncryptionMode, ) -> Result<Self, LakeError>
Validates a datastore-owned canonical path and derives its relative prefix.
pub fn filesystem_base(&self) -> &str
pub fn datastore_prefix(&self) -> &str
pub fn canonical_data_path(&self) -> String
Trait Implementations§
Source§impl Clone for FilesystemLakeSessionConfig
impl Clone for FilesystemLakeSessionConfig
Source§fn clone(&self) -> FilesystemLakeSessionConfig
fn clone(&self) -> FilesystemLakeSessionConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FilesystemLakeSessionConfig
impl Debug for FilesystemLakeSessionConfig
impl Eq for FilesystemLakeSessionConfig
impl StructuralPartialEq for FilesystemLakeSessionConfig
Auto Trait Implementations§
impl Freeze for FilesystemLakeSessionConfig
impl RefUnwindSafe for FilesystemLakeSessionConfig
impl Send for FilesystemLakeSessionConfig
impl Sync for FilesystemLakeSessionConfig
impl Unpin for FilesystemLakeSessionConfig
impl UnsafeUnpin for FilesystemLakeSessionConfig
impl UnwindSafe for FilesystemLakeSessionConfig
Blanket Implementations§
§impl<T> AnyEq for T
impl<T> AnyEq for T
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.