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