Package org.apache.spark.storage
Class BlockId
Object
org.apache.spark.storage.BlockId
- Direct Known Subclasses:
BroadcastBlockId
,CacheId
,PythonStreamBlockId
,RDDBlockId
,ShuffleBlockBatchId
,ShuffleBlockChunkId
,ShuffleBlockId
,ShuffleChecksumBlockId
,ShuffleDataBlockId
,ShuffleIndexBlockId
,ShuffleMergedBlockId
,ShuffleMergedDataBlockId
,ShuffleMergedIndexBlockId
,ShuffleMergedMetaBlockId
,ShufflePushBlockId
,StreamBlockId
,TaskResultBlockId
:: DeveloperApi ::
Identifies a particular Block of data, usually associated with a single file.
A Block can be uniquely identified by its filename, but each type of Block has a different
set of keys which produce its unique name.
If your BlockId should be serializable, be sure to add it to the BlockId.apply() method.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic BlockId
scala.Option<RDDBlockId>
asRDDId()
static scala.util.matching.Regex
boolean
boolean
isRDD()
boolean
boolean
abstract String
name()
A globally unique identifier for this Block.static scala.util.matching.Regex
static scala.util.matching.Regex
RDD()
static scala.util.matching.Regex
SHUFFLE()
static scala.util.matching.Regex
static scala.util.matching.Regex
static scala.util.matching.Regex
static scala.util.matching.Regex
static scala.util.matching.Regex
static scala.util.matching.Regex
static scala.util.matching.Regex
static scala.util.matching.Regex
static scala.util.matching.Regex
static scala.util.matching.Regex
STREAM()
static scala.util.matching.Regex
static scala.util.matching.Regex
static scala.util.matching.Regex
static scala.util.matching.Regex
TEST()
toString()
-
Constructor Details
-
BlockId
public BlockId()
-
-
Method Details
-
RDD
public static scala.util.matching.Regex RDD() -
SHUFFLE
public static scala.util.matching.Regex SHUFFLE() -
SHUFFLE_BATCH
public static scala.util.matching.Regex SHUFFLE_BATCH() -
SHUFFLE_DATA
public static scala.util.matching.Regex SHUFFLE_DATA() -
SHUFFLE_INDEX
public static scala.util.matching.Regex SHUFFLE_INDEX() -
SHUFFLE_PUSH
public static scala.util.matching.Regex SHUFFLE_PUSH() -
SHUFFLE_MERGED
public static scala.util.matching.Regex SHUFFLE_MERGED() -
SHUFFLE_MERGED_DATA
public static scala.util.matching.Regex SHUFFLE_MERGED_DATA() -
SHUFFLE_MERGED_INDEX
public static scala.util.matching.Regex SHUFFLE_MERGED_INDEX() -
SHUFFLE_MERGED_META
public static scala.util.matching.Regex SHUFFLE_MERGED_META() -
SHUFFLE_CHUNK
public static scala.util.matching.Regex SHUFFLE_CHUNK() -
BROADCAST
public static scala.util.matching.Regex BROADCAST() -
TASKRESULT
public static scala.util.matching.Regex TASKRESULT() -
STREAM
public static scala.util.matching.Regex STREAM() -
PYTHON_STREAM
public static scala.util.matching.Regex PYTHON_STREAM() -
TEMP_LOCAL
public static scala.util.matching.Regex TEMP_LOCAL() -
TEMP_SHUFFLE
public static scala.util.matching.Regex TEMP_SHUFFLE() -
TEST
public static scala.util.matching.Regex TEST() -
apply
-
name
A globally unique identifier for this Block. Can be used for ser/de. -
asRDDId
-
isRDD
public boolean isRDD() -
isShuffle
public boolean isShuffle() -
isShuffleChunk
public boolean isShuffleChunk() -
isBroadcast
public boolean isBroadcast() -
toString
-