org.apache.spark.storage
Class ShuffleBlockId

Object
  extended by org.apache.spark.storage.BlockId
      extended by org.apache.spark.storage.ShuffleBlockId
All Implemented Interfaces:
java.io.Serializable, scala.Equals, scala.Product

public class ShuffleBlockId
extends BlockId
implements scala.Product, scala.Serializable

See Also:
Serialized Form

Constructor Summary
ShuffleBlockId(int shuffleId, int mapId, int reduceId)
           
 
Method Summary
 int mapId()
           
 String name()
          A globally unique identifier for this Block.
 int reduceId()
           
 int shuffleId()
           
 
Methods inherited from class org.apache.spark.storage.BlockId
apply, asRDDId, BROADCAST, equals, hashCode, isBroadcast, isRDD, isShuffle, RDD, SHUFFLE_DATA, SHUFFLE_INDEX, SHUFFLE, STREAM, TASKRESULT, TEST, toString
 
Methods inherited from class Object
equals, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface scala.Product
productArity, productElement, productIterator, productPrefix
 
Methods inherited from interface scala.Equals
canEqual, equals
 

Constructor Detail

ShuffleBlockId

public ShuffleBlockId(int shuffleId,
                      int mapId,
                      int reduceId)
Method Detail

shuffleId

public int shuffleId()

mapId

public int mapId()

reduceId

public int reduceId()

name

public String name()
Description copied from class: BlockId
A globally unique identifier for this Block. Can be used for ser/de.

Specified by:
name in class BlockId