public class UnionPartition<T> extends Object implements Partition
Constructor and Description |
---|
UnionPartition(int idx,
RDD<T> rdd,
int parentRddIndex,
int parentRddPartitionIndex,
scala.reflect.ClassTag<T> evidence$1) |
Modifier and Type | Method and Description |
---|---|
int |
index()
Get the partition's index within its parent RDD
|
Partition |
parentPartition() |
int |
parentRddIndex() |
scala.collection.Seq<String> |
preferredLocations() |
public int parentRddIndex()
public Partition parentPartition()
public scala.collection.Seq<String> preferredLocations()