pub struct ParameterScanOperator { /* private fields */ }Expand description
Operator that emits a single row from externally injected parameter values.
This is the leaf operator for inner plans in correlated subqueries.
The ApplyOperator sets parameter values via the shared ParameterState
before each inner plan execution.
Implementations§
Source§impl ParameterScanOperator
impl ParameterScanOperator
Sourcepub fn new(state: Arc<ParameterState>) -> Self
pub fn new(state: Arc<ParameterState>) -> Self
Creates a new parameter scan operator.
Sourcepub fn state(&self) -> &Arc<ParameterState>
pub fn state(&self) -> &Arc<ParameterState>
Returns the shared parameter state (for wiring with Apply).
Trait Implementations§
Source§impl Operator for ParameterScanOperator
impl Operator for ParameterScanOperator
Auto Trait Implementations§
impl Freeze for ParameterScanOperator
impl !RefUnwindSafe for ParameterScanOperator
impl Send for ParameterScanOperator
impl Sync for ParameterScanOperator
impl Unpin for ParameterScanOperator
impl UnsafeUnpin for ParameterScanOperator
impl !UnwindSafe for ParameterScanOperator
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> 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