Package org.apache.spark
Class OneToOneDependency<T>
Object
org.apache.spark.Dependency<T>
org.apache.spark.NarrowDependency<T>
org.apache.spark.OneToOneDependency<T>
- All Implemented Interfaces:
- Serializable
:: DeveloperApi ::
 Represents a one-to-one dependency between partitions of the parent and child RDDs.
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionscala.collection.immutable.List<Object>getParents(int partitionId) Get the parent partitions for a child partition.Methods inherited from class org.apache.spark.NarrowDependencyrdd
- 
Constructor Details- 
OneToOneDependency
 
- 
- 
Method Details- 
getParentsDescription copied from class:NarrowDependencyGet the parent partitions for a child partition.- Specified by:
- getParentsin class- NarrowDependency<T>
- Parameters:
- partitionId- a partition of the child RDD
- Returns:
- the partitions of the parent RDD that the child partition depends upon
 
 
-