public class ZippedPartitionsPartition extends Object implements Partition
Constructor and Description |
---|
ZippedPartitionsPartition(int idx,
scala.collection.Seq<RDD<?>> rdds,
scala.collection.Seq<String> preferredLocations) |
Modifier and Type | Method and Description |
---|---|
int |
index()
Get the split's index within its parent RDD
|
scala.collection.Seq<Partition> |
partitions() |
scala.collection.Seq<Partition> |
partitionValues() |
scala.collection.Seq<String> |
preferredLocations() |
public ZippedPartitionsPartition(int idx, scala.collection.Seq<RDD<?>> rdds, scala.collection.Seq<String> preferredLocations)
public scala.collection.Seq<String> preferredLocations()
public int index()
Partition
public scala.collection.Seq<Partition> partitionValues()
public scala.collection.Seq<Partition> partitions()