目录 1.aggregate(zeroValue, seqOp, combOp) 2..aggregateByKey(zeroValue, seqFunc, combFunc, numPartitions=None, partitionFunc= ) 3.collect方法 4.collectAsMap() 5.count()方法 6.countApprox(timeout, confidence=0.95) 7.countApproxDistinct(relativeSD=0.05) 8..countByKey() 9.countByValue() 10..first() 11.fold(zeroValue, op) 12.foreach(f) 13..foreachPartition(f) 14.getNumPartitions() 15.getStorageLevel() 16.id() 17.isCheckpointed() 18.isEmpty() 19.lookup(key) 20.mean() 21.meanApprox(timeout, confidence=0.95) 22.min(key=None) 23.name() 24.reduce(f) 25.reduceByKeyLocally 26.sampleStdev() 27.sampleVariance() 28..saveAsTextFile