toTupleRDD

fun <K, V> JavaPairRDD<K, V>.toTupleRDD(): JavaRDD<Tuple2<K, V>>

Utility method to convert JavaPairRDD to JavaRDD<Tuple2>.