Implemented by subclasses to compute a given partition.
Implemented by subclasses to compute a given partition.
Implemented by subclasses to return the set of partitions in this RDD.
Implemented by subclasses to return the set of partitions in this RDD. This method will only be called once, so it is safe to implement a time-consuming computation in it.