pub struct ExecuteContext<'a> { /* private fields */ }Expand description
Execution context for the expression VM.
Holds row views, correlated context, parameters and the request-local durable function dispatcher. It owns no query or transaction semantics.
Implementations§
Source§impl<'a> ExecuteContext<'a>
impl<'a> ExecuteContext<'a>
pub fn new(row: &'a Row) -> Self
pub fn with_common_params( row: &'a Row, params: &'a [Value], named_params: Option<&'a FxHashMap<String, Value>>, transaction_id: Option<u64>, ) -> Self
pub fn for_join(row1: &'a Row, row2: &'a Row) -> Self
pub fn for_join_ref(row1: &'a RowRef, row2: &'a Row) -> Self
pub fn for_join_refs(row1: &'a RowRef, row2: &'a RowRef) -> Self
pub fn for_deferred(row: &'a DeferredRow) -> Self
pub fn for_row_ref(row: &'a RowRef) -> Self
pub fn with_transaction_id(self, transaction_id: Option<u64>) -> Self
pub fn with_params(self, params: &'a [Value]) -> Self
pub fn with_named_params( self, named_params: &'a FxHashMap<String, Value>, ) -> Self
pub fn with_outer_row( self, outer_row: &'a FxHashMap<CompactArc<str>, Value>, ) -> Self
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for ExecuteContext<'a>
impl<'a> !UnwindSafe for ExecuteContext<'a>
impl<'a> Freeze for ExecuteContext<'a>
impl<'a> Send for ExecuteContext<'a>
impl<'a> Sync for ExecuteContext<'a>
impl<'a> Unpin for ExecuteContext<'a>
impl<'a> UnsafeUnpin for ExecuteContext<'a>
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