keys

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

Return an RDD with the keys of each tuple.