implicit final class PartitionedUnionWrapper extends AnyVal
- Alphabetic
- By Inheritance
- PartitionedUnionWrapper
- AnyVal
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new PartitionedUnionWrapper(sc: SparkContext)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def partitionedUnion[K, V](rdds: Seq[RDD[(K, V)]], partitioner: Partitioner)(implicit arg0: ClassTag[K], arg1: ClassTag[V]): RDD[(K, V)]
Build the union of a sequence of partitioned RDDs.
Build the union of a sequence of partitioned RDDs.
Same as org.apache.spark.SparkContext.union but checks that all input RDDs are partitioned with the given partitioner and ensures the resulting RDD is partitioned too. If the input sequence is empty, an empty partitioned RDD is returned.
- K
the type of the keys
- V
the type of the values
- rdds
the partitioned RDDs to be union'ed
- partitioner
the partitioner used for the input and output RDDs
- returns
the RDD returned by the union operation
- val sc: SparkContext
- def toString(): String
- Definition Classes
- Any