implicit final class UnionByPartitionerWrapper extends AnyVal
- Alphabetic
- By Inheritance
- UnionByPartitionerWrapper
- AnyVal
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new UnionByPartitionerWrapper(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
- val sc: SparkContext
-
def
toString(): String
- Definition Classes
- Any
-
def
unionByPartitioner[K, V](rdds: Seq[RDD[(K, V)]])(implicit arg0: ClassTag[K], arg1: ClassTag[V]): Seq[RDD[(K, V)]]
Applies org.apache.spark.SparkContext.union on all input RDDs that have the same partitioner and returns a sequence of the results.
Applies org.apache.spark.SparkContext.union on all input RDDs that have the same partitioner and returns a sequence of the results.
- K
The type of the keys.
- V
The type of the values.
- rdds
The input RDDs.
- returns
a sequence of RDDs obtained by union'ing together each subset of the input RDDs that have the same partitioner.