Enum dataflow::render::reduce::ArrangementOrCollection [−][src]
enum ArrangementOrCollection<G> where
G: Scope,
G::Timestamp: Lattice, {
Arrangement(Arranged<G, TraceAgent<OrdValSpine<Row, Row, <G as ScopeParent>::Timestamp, Diff, usize>>>),
Collection(Collection<G, Row>),
}
Expand description
A type wrapping either an arrangement or a single collection.
Variants
Arrangement(Arranged<G, TraceAgent<OrdValSpine<Row, Row, <G as ScopeParent>::Timestamp, Diff, usize>>>)
Tuple Fields
0: Arranged<G, TraceAgent<OrdValSpine<Row, Row, <G as ScopeParent>::Timestamp, Diff, usize>>>
Wrap an arrangement
Collection(Collection<G, Row>)
Tuple Fields
0: Collection<G, Row>
Wrap a collection
Implementations
fn into_bundle<T>(
self,
key_arity: usize,
err_input: Collection<G, DataflowError>
) -> CollectionBundle<G, Row, T> where
G::Timestamp: Lattice + Refines<T>,
T: Timestamp + Lattice,
fn into_bundle<T>(
self,
key_arity: usize,
err_input: Collection<G, DataflowError>
) -> CollectionBundle<G, Row, T> where
G::Timestamp: Lattice + Refines<T>,
T: Timestamp + Lattice,
Convert to a CollectionBundle by either supplying the arrangement or construction from collections.
key_arity
- The number of columns in the key. Only used for arrangement variants.err_input
- A collection containing the error stream.
Trait Implementations
impl<G> From<Arranged<G, TraceAgent<Spine<Row, Row, <G as ScopeParent>::Timestamp, isize, Rc<OrdValBatch<Row, Row, <G as ScopeParent>::Timestamp, isize, usize>>>>>> for ArrangementOrCollection<G> where
G: Scope,
G::Timestamp: Lattice,
impl<G> From<Arranged<G, TraceAgent<Spine<Row, Row, <G as ScopeParent>::Timestamp, isize, Rc<OrdValBatch<Row, Row, <G as ScopeParent>::Timestamp, isize, usize>>>>>> for ArrangementOrCollection<G> where
G: Scope,
G::Timestamp: Lattice,
fn from(
arrangement: Arranged<G, TraceAgent<OrdValSpine<Row, Row, <G as ScopeParent>::Timestamp, Diff, usize>>>
) -> Self
fn from(
arrangement: Arranged<G, TraceAgent<OrdValSpine<Row, Row, <G as ScopeParent>::Timestamp, Diff, usize>>>
) -> Self
Performs the conversion.
impl<G> From<Collection<G, Row, isize>> for ArrangementOrCollection<G> where
G: Scope,
G::Timestamp: Lattice,
impl<G> From<Collection<G, Row, isize>> for ArrangementOrCollection<G> where
G: Scope,
G::Timestamp: Lattice,
Performs the conversion.
Auto Trait Implementations
impl<G> !RefUnwindSafe for ArrangementOrCollection<G>
impl<G> !Send for ArrangementOrCollection<G>
impl<G> !Sync for ArrangementOrCollection<G>
impl<G> Unpin for ArrangementOrCollection<G> where
G: Unpin,
<G as ScopeParent>::Timestamp: Unpin,
impl<G> !UnwindSafe for ArrangementOrCollection<G>
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