pub struct PipelineChecker {}
Expand description
The PipelineChecker rule rejects non-runnable query plans that use pipeline-breaking operators on infinite input(s).
Implementations§
Trait Implementations§
source§impl Default for PipelineChecker
impl Default for PipelineChecker
source§fn default() -> PipelineChecker
fn default() -> PipelineChecker
Returns the “default value” for a type. Read more
source§impl PhysicalOptimizerRule for PipelineChecker
impl PhysicalOptimizerRule for PipelineChecker
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 valid 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 PipelineChecker
impl RefUnwindSafe for PipelineChecker
impl Send for PipelineChecker
impl Sync for PipelineChecker
impl Unpin for PipelineChecker
impl UnwindSafe for PipelineChecker
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