Packages

c

org.apache.spark

OneToOneDependency

class OneToOneDependency[T] extends NarrowDependency[T]

Developer API

Represents a one-to-one dependency between partitions of 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. OneToOneDependency
  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 OneToOneDependency(rdd: RDD[T])

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
    OneToOneDependencyNarrowDependency
  2. def rdd: RDD[T]
    Definition Classes
    NarrowDependencyDependency