sum

inline fun <T : Number> JavaRDD<T>.sum(): Double

Add up the elements in this RDD.