Struct kip_sql::binder::BinderContext
source · pub struct BinderContext<'a, T: Transaction> { /* private fields */ }
Implementations§
source§impl<'a, T: Transaction> BinderContext<'a, T>
impl<'a, T: Transaction> BinderContext<'a, T>
pub fn new(transaction: &'a T) -> Self
pub fn table(&self, table_name: Arc<String>) -> Option<&TableCatalog>
pub fn input_ref_index(&self, ty: InputRefType) -> usize
pub fn add_alias( &mut self, alias: String, expr: ScalarExpression ) -> Result<(), BindError>
pub fn add_table_alias( &mut self, alias: String, table: Arc<String> ) -> Result<(), BindError>
pub fn add_bind_table( &mut self, table: Arc<String>, table_catalog: TableCatalog, join_type: Option<JoinType> ) -> Result<(), BindError>
pub fn has_agg_call(&self, expr: &ScalarExpression) -> bool
Trait Implementations§
source§impl<'a, T: Clone + Transaction> Clone for BinderContext<'a, T>
impl<'a, T: Clone + Transaction> Clone for BinderContext<'a, T>
source§fn clone(&self) -> BinderContext<'a, T>
fn clone(&self) -> BinderContext<'a, T>
Returns a copy 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 moreAuto Trait Implementations§
impl<'a, T> RefUnwindSafe for BinderContext<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for BinderContext<'a, T>
impl<'a, T> Sync for BinderContext<'a, T>
impl<'a, T> Unpin for BinderContext<'a, T>
impl<'a, T> UnwindSafe for BinderContext<'a, T>where
T: RefUnwindSafe,
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