This should return a JavaPairRDD, see how those are created in the rest of the API.