public class ShuffleDependency<K,V,C> extends Dependency<scala.Product2<K,V>>
param: _rdd the parent RDD
param: partitioner partitioner used to partition the shuffle output
param: serializer Serializer
to use. If set to None,
the default serializer, as specified by spark.serializer
config option, will
be used.
param: keyOrdering key ordering for RDD's shuffles
param: aggregator map/reduce-side aggregator for RDD's shuffle
param: mapSideCombine whether to perform partial aggregation (also known as map-side combine)
Constructor and Description |
---|
ShuffleDependency(RDD<? extends scala.Product2<K,V>> _rdd,
Partitioner partitioner,
scala.Option<Serializer> serializer,
scala.Option<scala.math.Ordering<K>> keyOrdering,
scala.Option<Aggregator<K,V,C>> aggregator,
boolean mapSideCombine,
scala.reflect.ClassTag<K> evidence$1,
scala.reflect.ClassTag<V> evidence$2,
scala.reflect.ClassTag<C> evidence$3) |
Modifier and Type | Method and Description |
---|---|
scala.Option<Aggregator<K,V,C>> |
aggregator() |
scala.Option<java.lang.String> |
combinerClassName() |
java.lang.String |
keyClassName() |
scala.Option<scala.math.Ordering<K>> |
keyOrdering() |
boolean |
mapSideCombine() |
Partitioner |
partitioner() |
RDD<scala.Product2<K,V>> |
rdd() |
scala.Option<Serializer> |
serializer() |
org.apache.spark.shuffle.ShuffleHandle |
shuffleHandle() |
int |
shuffleId() |
java.lang.String |
valueClassName() |
public ShuffleDependency(RDD<? extends scala.Product2<K,V>> _rdd, Partitioner partitioner, scala.Option<Serializer> serializer, scala.Option<scala.math.Ordering<K>> keyOrdering, scala.Option<Aggregator<K,V,C>> aggregator, boolean mapSideCombine, scala.reflect.ClassTag<K> evidence$1, scala.reflect.ClassTag<V> evidence$2, scala.reflect.ClassTag<C> evidence$3)
public Partitioner partitioner()
public scala.Option<Serializer> serializer()
public scala.Option<scala.math.Ordering<K>> keyOrdering()
public scala.Option<Aggregator<K,V,C>> aggregator()
public boolean mapSideCombine()
public RDD<scala.Product2<K,V>> rdd()
rdd
in class Dependency<scala.Product2<K,V>>
public java.lang.String keyClassName()
public java.lang.String valueClassName()
public scala.Option<java.lang.String> combinerClassName()
public int shuffleId()
public org.apache.spark.shuffle.ShuffleHandle shuffleHandle()