public class OneToOneDependency<T> extends NarrowDependency<T>
Constructor and Description |
---|
OneToOneDependency(RDD<T> rdd) |
Modifier and Type | Method and Description |
---|---|
scala.collection.immutable.List<java.lang.Object> |
getParents(int partitionId)
Get the parent partitions for a child partition.
|
rdd
public scala.collection.immutable.List<java.lang.Object> getParents(int partitionId)
NarrowDependency
getParents
in class NarrowDependency<T>
partitionId
- a partition of the child RDD