public class ZippedWithIndexRDDPartition extends Object implements Partition, scala.Serializable
Constructor and Description |
---|
ZippedWithIndexRDDPartition(Partition prev,
long startIndex) |
Modifier and Type | Method and Description |
---|---|
int |
index()
Get the partition's index within its parent RDD
|
Partition |
prev() |
long |
startIndex() |
public ZippedWithIndexRDDPartition(Partition prev, long startIndex)