aboutsummaryrefslogtreecommitdiff
path: root/core/src/main/scala/spark/Split.scala
blob: 116cd16370a0e92fa856c3ed391f135e9cda3aa3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
package spark

/**
 * A partition of an RDD.
 */
@serializable trait Split {
  /**
   * Get a unique ID for this split which can be used, for example, to
   * set up caches based on it. The ID should stay the same if we serialize
   * and then deserialize the split.
   */
  def getId(): String
}