Packages

c

org.apache.spark

RangeDependency

class RangeDependency[T] extends NarrowDependency[T]

Developer API

Represents a one-to-one dependency between ranges of partitions in the parent and child RDDs.

Annotations
@DeveloperApi()
Source
Dependency.scala
Linear Supertypes
NarrowDependency[T], Dependency[T], Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RangeDependency
  2. NarrowDependency
  3. Dependency
  4. Serializable
  5. Serializable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RangeDependency(rdd: RDD[T], inStart: Int, outStart: Int, length: Int)

    rdd

    the parent RDD

    inStart

    the start of the range in the parent RDD

    outStart

    the start of the range in the child RDD

    length

    the length of the range

Value Members

  1. def getParents(partitionId: Int): List[Int]

    Get the parent partitions for a child partition.

    Get the parent partitions for a child partition.

    partitionId

    a partition of the child RDD

    returns

    the partitions of the parent RDD that the child partition depends upon

    Definition Classes
    RangeDependencyNarrowDependency
  2. def rdd: RDD[T]
    Definition Classes
    NarrowDependencyDependency