package parallel
Interfaces for pluggable parallelization using either Spark or local threads
- Alphabetic
- By Inheritance
- parallel
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
trait
Config extends AnyRef
Interface for objects that configure Parallelizers
-
trait
Parallelizer[+T] extends AnyRef
Interface for wrapping a collection and exposing a "parallel map" method on it
Value Members
-
implicit
def
makeParallelizer[T, Input, Result[E] <: Parallelizer[E]](input: Input)(implicit arg0: ClassTag[T], toIterable: (Input) ⇒ Iterable[T], config: Config): Parallelizer[T]
Helper-implicit for converting from a Config to a Parallelizer, so that an implicit Config in scope enables Parallelizer.parallelMap'ing on collections.
Helper-implicit for converting from a Config to a Parallelizer, so that an implicit Config in scope enables Parallelizer.parallelMap'ing on collections.
- T
Input element type
- Input
collection type, implicitly convertible to Iterable
- Result
Parallelizer to generate
- input
collection to Parallelizer.parallelMap over
- config
implicit Config specifying how to parallel-map
- returns
instance of Result type, exposing Parallelizer.parallelMap method on provided
input