Struct transform::redundant_join::RedundantJoin[][src]

pub struct RedundantJoin {
    recursion_guard: RecursionGuard,
}
Expand description

Remove redundant collections of distinct elements from joins.

Fields

recursion_guard: RecursionGuard

Implementations

Remove redundant collections of distinct elements from joins.

This method tracks “provenance” information for each collections, those being column-wise relationships to identified collections (either imported collections, or let-bound collections). These relationships state that when projected on to these columns, the records of the one collection are contained in the records of the identified collection.

This provenance information is then used for the MirRelationExpr::Join variant to remove “redundant” joins, those that can be determined to neither restrict nor augment one of the input relations. Consult the find_redundancy method and its documentation for more detail.

Trait Implementations

Extracts a reference to the recursion guard embedded within the type.

Checks whether it is safe to recur and calls f if so. Read more

Like CheckedRecursion::checked_recur, but operates on a mutable reference to Self. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Transform a relation into a functionally equivalent relation.

A string describing the transform. Read more

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