Package org.apache.spark.storage
Class BlockId
Object
org.apache.spark.storage.BlockId
- Direct Known Subclasses:
- BroadcastBlockId,- CacheId,- LogBlockId,- 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 SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic BlockIdscala.Option<RDDBlockId>asRDDId()static scala.util.matching.RegexbooleanbooleanisRDD()booleanbooleanabstract Stringname()A globally unique identifier for this Block.static scala.util.matching.Regexstatic scala.util.matching.RegexRDD()static scala.util.matching.RegexSHUFFLE()static scala.util.matching.Regexstatic scala.util.matching.Regexstatic scala.util.matching.Regexstatic scala.util.matching.Regexstatic scala.util.matching.Regexstatic scala.util.matching.Regexstatic scala.util.matching.Regexstatic scala.util.matching.Regexstatic scala.util.matching.Regexstatic scala.util.matching.RegexSTREAM()static scala.util.matching.Regexstatic scala.util.matching.Regexstatic scala.util.matching.Regexstatic scala.util.matching.RegexTEST()static scala.util.matching.RegextoString()
- 
Constructor Details- 
BlockIdpublic BlockId()
 
- 
- 
Method Details- 
RDDpublic static scala.util.matching.Regex RDD()
- 
SHUFFLEpublic static scala.util.matching.Regex SHUFFLE()
- 
SHUFFLE_BATCHpublic static scala.util.matching.Regex SHUFFLE_BATCH()
- 
SHUFFLE_DATApublic static scala.util.matching.Regex SHUFFLE_DATA()
- 
SHUFFLE_INDEXpublic static scala.util.matching.Regex SHUFFLE_INDEX()
- 
SHUFFLE_PUSHpublic static scala.util.matching.Regex SHUFFLE_PUSH()
- 
SHUFFLE_MERGEDpublic static scala.util.matching.Regex SHUFFLE_MERGED()
- 
SHUFFLE_MERGED_DATApublic static scala.util.matching.Regex SHUFFLE_MERGED_DATA()
- 
SHUFFLE_MERGED_INDEXpublic static scala.util.matching.Regex SHUFFLE_MERGED_INDEX()
- 
SHUFFLE_MERGED_METApublic static scala.util.matching.Regex SHUFFLE_MERGED_META()
- 
SHUFFLE_CHUNKpublic static scala.util.matching.Regex SHUFFLE_CHUNK()
- 
BROADCASTpublic static scala.util.matching.Regex BROADCAST()
- 
TASKRESULTpublic static scala.util.matching.Regex TASKRESULT()
- 
STREAMpublic static scala.util.matching.Regex STREAM()
- 
PYTHON_STREAMpublic static scala.util.matching.Regex PYTHON_STREAM()
- 
TEMP_LOCALpublic static scala.util.matching.Regex TEMP_LOCAL()
- 
TEMP_SHUFFLEpublic static scala.util.matching.Regex TEMP_SHUFFLE()
- 
TESTpublic static scala.util.matching.Regex TEST()
- 
TEST_LOG_BLOCKpublic static scala.util.matching.Regex TEST_LOG_BLOCK()
- 
apply
- 
nameA globally unique identifier for this Block. Can be used for ser/de.
- 
asRDDId
- 
isRDDpublic boolean isRDD()
- 
isShufflepublic boolean isShuffle()
- 
isShuffleChunkpublic boolean isShuffleChunk()
- 
isBroadcastpublic boolean isBroadcast()
- 
toString
 
-