pub struct PushdownSort;Expand description
A PhysicalOptimizerRule that attempts to push down sort requirements to data sources.
See module-level documentation for details.
Implementations§
Source§impl PushdownSort
impl PushdownSort
Trait Implementations§
Source§impl Clone for PushdownSort
impl Clone for PushdownSort
Source§fn clone(&self) -> PushdownSort
fn clone(&self) -> PushdownSort
Returns a duplicate 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 moreSource§impl Debug for PushdownSort
impl Debug for PushdownSort
Source§impl Default for PushdownSort
impl Default for PushdownSort
Source§fn default() -> PushdownSort
fn default() -> PushdownSort
Returns the “default value” for a type. Read more
Source§impl PhysicalOptimizerRule for PushdownSort
impl PhysicalOptimizerRule for PushdownSort
Source§fn optimize(
&self,
plan: Arc<dyn ExecutionPlan>,
config: &ConfigOptions,
) -> Result<Arc<dyn ExecutionPlan>>
fn optimize( &self, plan: Arc<dyn ExecutionPlan>, config: &ConfigOptions, ) -> Result<Arc<dyn ExecutionPlan>>
Rewrite
plan to an optimized formSource§fn schema_check(&self) -> bool
fn schema_check(&self) -> bool
A flag to indicate whether the physical planner should validate that the rule will not
change the schema of the plan after the rewriting.
Some of the optimization rules might change the nullable properties of the schema
and should disable the schema check.
Auto Trait Implementations§
impl Freeze for PushdownSort
impl RefUnwindSafe for PushdownSort
impl Send for PushdownSort
impl Sync for PushdownSort
impl Unpin for PushdownSort
impl UnsafeUnpin for PushdownSort
impl UnwindSafe for PushdownSort
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,
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