Struct dataflow_types::plan::join::JoinClosure[][src]

pub struct JoinClosure {
    ready_equivalences: Vec<Vec<MirScalarExpr>>,
    before: SafeMfpPlan,
}
Expand description

A manual closure implementation of filtering and logic application.

This manual implementation exists to express lifetime constraints clearly, as there is a relationship between the borrowed lifetime of the closed-over state and the arguments it takes when invoked. It was not clear how to do this with a Rust closure (glorious battle was waged, but ultimately lost).

Fields

ready_equivalences: Vec<Vec<MirScalarExpr>>before: SafeMfpPlan

Implementations

Applies per-row filtering and logic.

Construct an instance of the closure from available columns.

This method updates the available columns, equivalences, and the MapFilterProject instance. The columns are updated to include reference to any columns added by the application of this logic, which might result from partial application of the MapFilterProject instance.

If all columns are available for mfp, this method works extra hard to ensure that the closure contains all the work, and mfp is left as an identity transform (which can then be ignored).

True iff the closure neither filters nor transforms recorcds.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. 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.

Upcasts this ProgressEventTimestamp to Any. Read more

Returns the name of the concrete type of this object. Read more

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

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