pub struct TableReferenceExtractor;Expand description
Extracts physical table references from SQL-owned planner structures.
Implementations§
Source§impl TableReferenceExtractor
impl TableReferenceExtractor
pub fn new() -> Self
Sourcepub fn extract_from_logical_plan(
&self,
plan: &LogicalPlan,
root_access: TableReferenceAccess,
diagnostics: &mut Vec<PlanningDiagnostic>,
) -> Vec<TableReference>
pub fn extract_from_logical_plan( &self, plan: &LogicalPlan, root_access: TableReferenceAccess, diagnostics: &mut Vec<PlanningDiagnostic>, ) -> Vec<TableReference>
Extract references from a logical plan tree. root_access is applied to
the top-level statement target; nested typed subqueries are read-only.
Sourcepub fn extract_from_subquery_context(
&self,
plan: &LogicalPlan,
diagnostics: &mut Vec<PlanningDiagnostic>,
) -> Vec<TableReference>
pub fn extract_from_subquery_context( &self, plan: &LogicalPlan, diagnostics: &mut Vec<PlanningDiagnostic>, ) -> Vec<TableReference>
Extract references from a typed subquery plan embedded in an expression.
Trait Implementations§
Source§impl Clone for TableReferenceExtractor
impl Clone for TableReferenceExtractor
Source§fn clone(&self) -> TableReferenceExtractor
fn clone(&self) -> TableReferenceExtractor
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TableReferenceExtractor
Source§impl Debug for TableReferenceExtractor
impl Debug for TableReferenceExtractor
Source§impl Default for TableReferenceExtractor
impl Default for TableReferenceExtractor
Source§fn default() -> TableReferenceExtractor
fn default() -> TableReferenceExtractor
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TableReferenceExtractor
impl RefUnwindSafe for TableReferenceExtractor
impl Send for TableReferenceExtractor
impl Sync for TableReferenceExtractor
impl Unpin for TableReferenceExtractor
impl UnsafeUnpin for TableReferenceExtractor
impl UnwindSafe for TableReferenceExtractor
Blanket Implementations§
impl<T> Allocation 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