pub trait AbstractExpr {
    type Type: AbstractColumnType;

    // Required method
    fn typ(
        &self,
        outers: &[RelationType],
        inner: &RelationType,
        params: &BTreeMap<usize, ScalarType>
    ) -> Self::Type;
}
Expand description

An expression whose type can be ascertained.

Abstracts over ScalarExpr and CoercibleScalarExpr.

Required Associated Types§

Required Methods§

source

fn typ( &self, outers: &[RelationType], inner: &RelationType, params: &BTreeMap<usize, ScalarType> ) -> Self::Type

Computes the type of the expression.

Implementors§