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
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for JoinClosure
impl Send for JoinClosure
impl Sync for JoinClosure
impl Unpin for JoinClosure
impl UnwindSafe for JoinClosure
Blanket Implementations
Mutably borrows from an owned value. Read more
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