Struct sql::query_model::mir::Lowerer[][src]

struct Lowerer<'a> {
    model: &'a Model,
}

Fields

model: &'a Model

Implementations

Applies the given box identified by its ID to the given outer relation.

Generates a join among the result of applying the outer relation to the given quantifiers. Returns a relation and a map of column references that can be used to lower expressions that sit directly on top of the join.

The quantifiers are joined on the columns of the outer relation. TODO(asenac) Since decorrelation is not yet supported the outer relation is currently always the join identity, so the result of this method is always a cross-join of the given quantifiers, which makes part of this code untesteable at the moment.

Lowers the given quantifier by applying it to the outer relation.

Join the given inputs on a shared common prefix.

TODO(asenac) Given the lack of support for decorrelation at the moment, this method is always called with prefix_length 0, and hence, it remains untested.

Lowers a scalar expression, resolving the column references using the supplied column map.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more