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.
|
<U> RDD<U> |
mapPartitionsWithEvaluator(PartitionEvaluatorFactory<T,U> evaluatorFactory,
scala.reflect.ClassTag<U> evidence$4)
Return a new RDD by applying an evaluator to each partition of the wrapped RDD.
|
<S> RDD<S> |
mapPartitionsWithIndex(scala.Function2<Object,scala.collection.Iterator<T>,scala.collection.Iterator<S>> f,
boolean preservesPartitioning,
scala.reflect.ClassTag<S> evidence$3)
:: Experimental ::
Returns a new RDD by applying a function to each partition of the wrapped RDD, while tracking
the index of the original partition.
|
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)BarrierTaskContextpublic <U> RDD<U> mapPartitionsWithEvaluator(PartitionEvaluatorFactory<T,U> evaluatorFactory, scala.reflect.ClassTag<U> evidence$4)
evaluatorFactory - (undocumented)evidence$4 - (undocumented)public <S> RDD<S> mapPartitionsWithIndex(scala.Function2<Object,scala.collection.Iterator<T>,scala.collection.Iterator<S>> f, boolean preservesPartitioning, scala.reflect.ClassTag<S> evidence$3)
RDD.mapPartitionsWithIndex(scala.Function2<java.lang.Object, scala.collection.Iterator<T>, scala.collection.Iterator<U>>, boolean, scala.reflect.ClassTag<U>).
Please see the API doc there.f - (undocumented)preservesPartitioning - (undocumented)evidence$3 - (undocumented)BarrierTaskContext