Interface Partition

All Superinterfaces:
Serializable

public interface Partition extends Serializable
An identifier for a partition in an RDD.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    equals(Object other)
     
    int
     
    int
    Get the partition's index within its parent RDD
  • Method Details

    • equals

      boolean equals(Object other)
      Overrides:
      equals in class Object
    • hashCode

      int hashCode()
      Overrides:
      hashCode in class Object
    • index

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