pub struct EliminateLimit;Expand description
Optimization rule that replaces LIMIT 0 or LIMIT whose ancestor LIMIT’s skip is greater than or equal to current’s fetch with an LogicalPlan::EmptyRelation
Implementations
sourceimpl EliminateLimit
impl EliminateLimit
Trait Implementations
sourceimpl Default for EliminateLimit
impl Default for EliminateLimit
sourcefn default() -> EliminateLimit
fn default() -> EliminateLimit
Returns the “default value” for a type. Read more
sourceimpl OptimizerRule for EliminateLimit
impl OptimizerRule for EliminateLimit
sourcefn optimize(
&self,
plan: &LogicalPlan,
optimizer_config: &OptimizerConfig
) -> Result<LogicalPlan>
fn optimize(
&self,
plan: &LogicalPlan,
optimizer_config: &OptimizerConfig
) -> Result<LogicalPlan>
Rewrite plan to an optimized form
Auto Trait Implementations
impl RefUnwindSafe for EliminateLimit
impl Send for EliminateLimit
impl Sync for EliminateLimit
impl Unpin for EliminateLimit
impl UnwindSafe for EliminateLimit
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more