[−][src]Struct declarative_dataflow::CollectionIndex
Various indices over a collection of (K, V) pairs, required to participate in delta-join pipelines.
Fields
name: String
A name uniquely identifying this index.
Methods
impl<K, V, T> CollectionIndex<K, V, T> where
K: Data + Hash,
V: Data + Hash,
T: Lattice + Data + Timestamp,
[src]
K: Data + Hash,
V: Data + Hash,
T: Lattice + Data + Timestamp,
pub fn index<G: Scope<Timestamp = T>>(
name: &str,
collection: &Collection<G, (K, V), isize>
) -> Self
[src]
name: &str,
collection: &Collection<G, (K, V), isize>
) -> Self
Creates a named CollectionIndex from a (K, V) collection.
pub fn import<G: Scope<Timestamp = T>>(
&mut self,
scope: &G
) -> (LiveIndex<G, K, V, TraceKeyHandle<K, T, isize>, TraceValHandle<K, V, T, isize>, TraceKeyHandle<(K, V), T, isize>>, ShutdownHandle)
[src]
&mut self,
scope: &G
) -> (LiveIndex<G, K, V, TraceKeyHandle<K, T, isize>, TraceValHandle<K, V, T, isize>, TraceKeyHandle<(K, V), T, isize>>, ShutdownHandle)
Returns a LiveIndex that lives in the specified scope.
pub fn advance_by(&mut self, frontier: &[T])
[src]
Advances the traces maintained in this index.
Trait Implementations
impl<K, V, T> Clone for CollectionIndex<K, V, T> where
K: Data + Hash,
V: Data + Hash,
T: Lattice + Data + Timestamp,
[src]
K: Data + Hash,
V: Data + Hash,
T: Lattice + Data + Timestamp,
Auto Trait Implementations
impl<K, V, T> !Send for CollectionIndex<K, V, T>
impl<K, V, T> !Sync for CollectionIndex<K, V, T>
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Data for T where
T: 'static + Clone,
[src]
T: 'static + Clone,