pub struct SqlSourcePlan { /* private fields */ }Implementations§
Source§impl SqlSourcePlan
impl SqlSourcePlan
pub fn parse(sql: &str) -> Result<Self, LakeError>
pub fn relations(&self) -> &[Vec<String>]
Sourcepub fn query(&self) -> &str
pub fn query(&self) -> &str
Validated and regenerated SQL. Unqualified tables use the connector’s fixed default schema; three-part database retargeting is never accepted.
pub fn in_catalog( &self, catalog: &str, default_schema: &str, ) -> Result<String, LakeError>
Auto Trait Implementations§
impl Freeze for SqlSourcePlan
impl RefUnwindSafe for SqlSourcePlan
impl Send for SqlSourcePlan
impl Sync for SqlSourcePlan
impl Unpin for SqlSourcePlan
impl UnsafeUnpin for SqlSourcePlan
impl UnwindSafe for SqlSourcePlan
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