Package org.apache.spark
Class RangeDependency<T>
Object
org.apache.spark.Dependency<T>
org.apache.spark.NarrowDependency<T>
org.apache.spark.RangeDependency<T>
- All Implemented Interfaces:
 Serializable,scala.Serializable
:: DeveloperApi ::
 Represents a one-to-one dependency between ranges of partitions in the parent and child RDDs.
 param:  rdd the parent RDD
 param:  inStart the start of the range in the parent RDD
 param:  outStart the start of the range in the child RDD
 param:  length the length of the range
- See Also:
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionscala.collection.immutable.List<Object>getParents(int partitionId) Get the parent partitions for a child partition.Methods inherited from class org.apache.spark.NarrowDependency
rdd 
- 
Constructor Details
- 
RangeDependency
 
 - 
 - 
Method Details
- 
getParents
Description copied from class:NarrowDependencyGet the parent partitions for a child partition.- Specified by:
 getParentsin classNarrowDependency<T>- Parameters:
 partitionId- a partition of the child RDD- Returns:
 - the partitions of the parent RDD that the child partition depends upon
 
 
 -