pub trait BoundExpressionPruneExt {
// Required methods
fn falsify(
&self,
session: &VortexSession,
) -> VortexResult<Option<BoundExpression>>;
fn satisfy(
&self,
session: &VortexSession,
) -> VortexResult<Option<BoundExpression>>;
}Expand description
Statistics-based pruning methods on BoundExpression predicates.
Required Methods§
Sourcefn falsify(
&self,
session: &VortexSession,
) -> VortexResult<Option<BoundExpression>>
fn falsify( &self, session: &VortexSession, ) -> VortexResult<Option<BoundExpression>>
Return an expression that proves this predicate is definitely false from statistics.
Sourcefn satisfy(
&self,
session: &VortexSession,
) -> VortexResult<Option<BoundExpression>>
fn satisfy( &self, session: &VortexSession, ) -> VortexResult<Option<BoundExpression>>
Return an expression that proves this predicate is definitely true from statistics.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".