org.apache.spark
Interface Partition

All Superinterfaces:
java.io.Serializable

public interface Partition
extends scala.Serializable

An identifier for a partition in an RDD.


Method Summary
 int hashCode()
           
 int index()
          Get the partition's index within its parent RDD
 

Method Detail

index

int index()
Get the partition's index within its parent RDD

Returns:
(undocumented)

hashCode

int hashCode()
Overrides:
hashCode in class Object