public class WriteAheadLogBackedBlockRDDPartition extends Object implements Partition
WriteAheadLogBackedBlockRDD
.
It contains information about the id of the blocks having this partition's data and
the segment of the write ahead log that backs the partition.Constructor and Description |
---|
WriteAheadLogBackedBlockRDDPartition(int index,
BlockId blockId,
WriteAheadLogFileSegment segment) |
Modifier and Type | Method and Description |
---|---|
BlockId |
blockId() |
int |
index()
Get the partition's index within its parent RDD
|
WriteAheadLogFileSegment |
segment() |
public WriteAheadLogBackedBlockRDDPartition(int index, BlockId blockId, WriteAheadLogFileSegment segment)
public int index()
Partition
public BlockId blockId()
public WriteAheadLogFileSegment segment()