Struct kgdata::mapreduce::dataset::MapDataset
source · pub struct MapDataset<K, V>{
pub map: HashMap<K, V>,
}
Fields§
§map: HashMap<K, V>
Trait Implementations§
source§impl<K, V> IntoParallelIterator for MapDataset<K, V>
impl<K, V> IntoParallelIterator for MapDataset<K, V>
source§impl<K, V> ParallelDataset for MapDataset<K, V>
impl<K, V> ParallelDataset for MapDataset<K, V>
fn map<F, R>(self, op: F) -> MapOp<Self, F>
fn flat_map<F, R>(self, op: F) -> FlatMapOp<Self, F>
fn filter<F>(self, op: F) -> FilterOp<Self, F>
fn fold<T, ID, F>(self, identity: ID, op: F) -> FoldOp<Self, ID, F>
fn reduce<ID, F>(self, identity: ID, op: F) -> Self::Item
fn sort_by_key<F, K>(self, op: F, ascending: bool) -> SortByKeyOp<Self, F>
fn group_by<F, K>(self, key: F) -> MapDataset<K, Vec<Self::Item>>
fn group_by_map<K, V, F1, F2>(self, key: F1, value: F2) -> MapDataset<K, Vec<V>>
fn count(self) -> usize
fn take_any(self, n: usize) -> TakeAny<Self>
fn collect<C>(self) -> Cwhere
C: FromParallelDataset<Self::Item>,
Auto Trait Implementations§
impl<K, V> Freeze for MapDataset<K, V>
impl<K, V> RefUnwindSafe for MapDataset<K, V>where
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<K, V> Send for MapDataset<K, V>
impl<K, V> Sync for MapDataset<K, V>
impl<K, V> Unpin for MapDataset<K, V>
impl<K, V> UnwindSafe for MapDataset<K, V>where
K: UnwindSafe,
V: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more