pub struct LineageConfig {
pub dialect: Dialect,
pub trim_qualifiers: bool,
pub sources: HashMap<String, String>,
}Expand description
Configuration for lineage analysis.
Fields§
§dialect: DialectSQL dialect for parsing and identifier normalization.
trim_qualifiers: boolWhether to trim column qualifiers in output node names.
sources: HashMap<String, String>External sources mapping for multi-query lineage. Maps source names to their SQL definitions (e.g., views).
Implementations§
Source§impl LineageConfig
impl LineageConfig
Sourcepub fn with_sources(self, sources: HashMap<String, String>) -> Self
pub fn with_sources(self, sources: HashMap<String, String>) -> Self
Add external sources for multi-query lineage.
Sourcepub fn with_trim_qualifiers(self, trim: bool) -> Self
pub fn with_trim_qualifiers(self, trim: bool) -> Self
Set whether to trim table qualifiers from output names.
Trait Implementations§
Source§impl Clone for LineageConfig
impl Clone for LineageConfig
Source§fn clone(&self) -> LineageConfig
fn clone(&self) -> LineageConfig
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 LineageConfig
impl Debug for LineageConfig
Auto Trait Implementations§
impl Freeze for LineageConfig
impl RefUnwindSafe for LineageConfig
impl Send for LineageConfig
impl Sync for LineageConfig
impl Unpin for LineageConfig
impl UnsafeUnpin for LineageConfig
impl UnwindSafe for LineageConfig
Blanket Implementations§
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