pub struct RelationalContext<'a, S: Clone + 'static> {
pub catalog: &'a dyn SetFunctionCatalog,
pub expressions: &'a dyn QueryExpressionFactory<S>,
pub row_locks: &'a dyn RowLockOperatorFactory<S>,
pub runtime: QueryRuntimeView<'a>,
}Fields§
§catalog: &'a dyn SetFunctionCatalog§expressions: &'a dyn QueryExpressionFactory<S>§row_locks: &'a dyn RowLockOperatorFactory<S>§runtime: QueryRuntimeView<'a>Implementations§
Source§impl<'a, S: Clone + 'static> RelationalContext<'a, S>
impl<'a, S: Clone + 'static> RelationalContext<'a, S>
pub fn expression_scope( self, scope: &CteScope<S>, ) -> Result<Arc<dyn SetFunctionRuntime + 'a>, SQLError>
pub fn evaluator( self, params: &'a [SQLParam], scope: &CteScope<S>, ) -> Result<SharedExpressionEvaluator<'a>, SQLError>
Trait Implementations§
impl<S: Clone + 'static> Copy for RelationalContext<'_, S>
Auto Trait Implementations§
impl<'a, S> !RefUnwindSafe for RelationalContext<'a, S>
impl<'a, S> !UnwindSafe for RelationalContext<'a, S>
impl<'a, S> Freeze for RelationalContext<'a, S>
impl<'a, S> Send for RelationalContext<'a, S>
impl<'a, S> Sync for RelationalContext<'a, S>
impl<'a, S> Unpin for RelationalContext<'a, S>
impl<'a, S> UnsafeUnpin for RelationalContext<'a, S>where
&'a dyn QueryExpressionFactory<S>: UnsafeUnpin,
&'a dyn RowLockOperatorFactory<S>: UnsafeUnpin,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more