Return a new JavaRDD by applying a function to each partition of given RDD.
Return a new JavaRDD by applying a function to each partition of given RDD.
This variant also preserves the preferred locations of parent RDD.
preservesPartitioning
indicates whether the input function preserves
the partitioner, which should be false
unless this is a pair RDD and
the input function doesn't modify the keys.
Return a new JavaRDD by applying a function to each partition of given RDD, while tracking the index of the original partition.
Return a new JavaRDD by applying a function to each partition of given RDD, while tracking the index of the original partition.
This variant also preserves the preferred locations of parent RDD.
preservesPartitioning
indicates whether the input function preserves
the partitioner, which should be false
unless this is a pair RDD and
the input function doesn't modify the keys.
Return a new RDD by applying a function to all elements of this RDD.
Return a new RDD by applying a function to all elements of this RDD.
This variant also preserves the preferred locations of parent RDD.