|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object org.apache.spark.Dependency<T> org.apache.spark.NarrowDependency<T> org.apache.spark.OneToOneDependency<T>
public class OneToOneDependency<T>
:: DeveloperApi :: Represents a one-to-one dependency between partitions of the parent and child RDDs.
Constructor Summary | |
---|---|
OneToOneDependency(RDD<T> rdd)
|
Method Summary | |
---|---|
scala.collection.immutable.List<Object> |
getParents(int partitionId)
Get the parent partitions for a child partition. |
Methods inherited from class org.apache.spark.NarrowDependency |
---|
rdd |
Methods inherited from class Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OneToOneDependency(RDD<T> rdd)
Method Detail |
---|
public scala.collection.immutable.List<Object> getParents(int partitionId)
NarrowDependency
getParents
in class NarrowDependency<T>
partitionId
- a partition of the child RDD
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |