public class RDDBarrier<T>
extends Object
RDDBarrier
instances are created by
RDD.barrier()
.Modifier and Type | Method and Description |
---|---|
<S> RDD<S> |
mapPartitions(scala.Function1<scala.collection.Iterator<T>,scala.collection.Iterator<S>> f,
boolean preservesPartitioning,
scala.reflect.ClassTag<S> evidence$2)
:: Experimental ::
Returns a new RDD by applying a function to each partition of the wrapped RDD,
where tasks are launched together in a barrier stage.
|
public <S> RDD<S> mapPartitions(scala.Function1<scala.collection.Iterator<T>,scala.collection.Iterator<S>> f, boolean preservesPartitioning, scala.reflect.ClassTag<S> evidence$2)
RDD.mapPartitions(scala.Function1<scala.collection.Iterator<T>, scala.collection.Iterator<U>>, boolean, scala.reflect.ClassTag<U>)
.
Please see the API doc there.f
- (undocumented)preservesPartitioning
- (undocumented)evidence$2
- (undocumented)BarrierTaskContext