pub struct ViewExploitationPlanner { /* private fields */ }Expand description
ExtensionPlannerthat chooses the best plan from aOneOf` node.
Implementations§
Trait Implementations§
Source§impl ExtensionPlanner for ViewExploitationPlanner
impl ExtensionPlanner for ViewExploitationPlanner
Source§fn plan_extension<'life0, 'life1, 'life2, 'life3, 'life4, 'life5, 'life6, 'async_trait>(
&'life0 self,
_planner: &'life1 dyn PhysicalPlanner,
node: &'life2 dyn UserDefinedLogicalNode,
logical_inputs: &'life3 [&'life4 LogicalPlan],
physical_inputs: &'life5 [Arc<dyn ExecutionPlan>],
_session_state: &'life6 SessionState,
) -> Pin<Box<dyn Future<Output = Result<Option<Arc<dyn ExecutionPlan>>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
'life4: 'async_trait,
'life5: 'async_trait,
'life6: 'async_trait,
fn plan_extension<'life0, 'life1, 'life2, 'life3, 'life4, 'life5, 'life6, 'async_trait>(
&'life0 self,
_planner: &'life1 dyn PhysicalPlanner,
node: &'life2 dyn UserDefinedLogicalNode,
logical_inputs: &'life3 [&'life4 LogicalPlan],
physical_inputs: &'life5 [Arc<dyn ExecutionPlan>],
_session_state: &'life6 SessionState,
) -> Pin<Box<dyn Future<Output = Result<Option<Arc<dyn ExecutionPlan>>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
'life4: 'async_trait,
'life5: 'async_trait,
'life6: 'async_trait,
Choose the best candidate and use it for the physical plan.
Auto Trait Implementations§
impl Freeze for ViewExploitationPlanner
impl !RefUnwindSafe for ViewExploitationPlanner
impl Send for ViewExploitationPlanner
impl Sync for ViewExploitationPlanner
impl Unpin for ViewExploitationPlanner
impl !UnwindSafe for ViewExploitationPlanner
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