public class MockStoreFile extends StoreFile
StoreFile.Comparators, StoreFile.Reader, StoreFile.Writer, StoreFile.WriterBuilderBLOOM_FILTER_TYPE_KEY, BULKLOAD_TASK_KEY, BULKLOAD_TIME_KEY, DELETE_FAMILY_COUNT, EARLIEST_PUT_TS, EXCLUDE_FROM_MINOR_COMPACTION_KEY, MAJOR_COMPACTION_KEY, MAX_SEQ_ID_KEY, MOB_CELLS_COUNT, SKIP_RESET_SEQ_ID, TIMERANGE_KEY| Modifier and Type | Method and Description |
|---|---|
HDFSBlocksDistribution |
getHDFSBlockDistribution() |
Long |
getMaximumTimestamp() |
long |
getMaxSequenceId() |
byte[] |
getMetadataValue(byte[] key)
Only used by the Striped Compaction Policy
|
Long |
getMinimumTimestamp() |
long |
getModificationTimeStamp() |
StoreFile.Reader |
getReader() |
boolean |
isBulkLoadResult()
Check if this storefile was created by bulk load.
|
boolean |
isMajorCompaction() |
boolean |
isReference() |
void |
setIsMajor(boolean isMajor) |
void |
setMetadataValue(byte[] key,
byte[] value) |
cloneForReader, closeReader, createReader, deleteReader, excludeFromMinorCompaction, getBulkLoadTimestamp, getFileInfo, getMaxMemstoreTS, getMaxMemstoreTSInList, getMaxSequenceIdInList, getPath, getQualifiedPath, getUniqueFile, isHFile, setMaxMemstoreTS, toString, toStringDetailedpublic long getMaxSequenceId()
getMaxSequenceId in class StoreFilepublic boolean isMajorCompaction()
isMajorCompaction in class StoreFilepublic void setIsMajor(boolean isMajor)
public boolean isReference()
isReference in class StoreFileStoreFile.open()
else may get wrong answer.public boolean isBulkLoadResult()
StoreFileisBulkLoadResult in class StoreFilepublic byte[] getMetadataValue(byte[] key)
StoreFilegetMetadataValue in class StoreFilepublic void setMetadataValue(byte[] key,
byte[] value)
public Long getMinimumTimestamp()
getMinimumTimestamp in class StoreFilepublic Long getMaximumTimestamp()
getMaximumTimestamp in class StoreFilepublic long getModificationTimeStamp()
getModificationTimeStamp in class StoreFilepublic HDFSBlocksDistribution getHDFSBlockDistribution()
getHDFSBlockDistribution in class StoreFilepublic StoreFile.Reader getReader()
getReader in class StoreFileStoreFile.createReader()