Skip to main content

PredicateProjection

Trait PredicateProjection 

Source
pub trait PredicateProjection {
    // Required method
    fn map<'a>(
        &self,
        predicate: &Expr,
        other: Option<&Expr>,
        table: &str,
        column: String,
        proven: bool,
        peers: impl Iterator<Item = &'a str>,
    ) -> Option<(String, bool)>;

    // Provided methods
    fn table_arm(&self) { ... }
    fn inspect_factor(&self, _: &TableFactor) { ... }
    fn inspect_query(&self, _: &Query) { ... }
    fn relation_name(&self, _: &ObjectName, original: String) -> String { ... }
    fn qualifier_matches(&self, table: &str, qualifier: &str) -> bool { ... }
}

Required Methods§

Source

fn map<'a>( &self, predicate: &Expr, other: Option<&Expr>, table: &str, column: String, proven: bool, peers: impl Iterator<Item = &'a str>, ) -> Option<(String, bool)>

Provided Methods§

Source

fn table_arm(&self)

Source

fn inspect_factor(&self, _: &TableFactor)

Source

fn inspect_query(&self, _: &Query)

Source

fn relation_name(&self, _: &ObjectName, original: String) -> String

Source

fn qualifier_matches(&self, table: &str, qualifier: &str) -> bool

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§