Skip to main content

BoundExpressionPruneExt

Trait BoundExpressionPruneExt 

Source
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§

Source

fn falsify( &self, session: &VortexSession, ) -> VortexResult<Option<BoundExpression>>

Return an expression that proves this predicate is definitely false from statistics.

Source

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".

Implementations on Foreign Types§

Source§

impl BoundExpressionPruneExt for BoundExpression

Implementors§