Class MockStoreFileGenerator
java.lang.Object
org.apache.hadoop.hbase.regionserver.compactions.MockStoreFileGenerator
- Direct Known Subclasses:
PerfTestCompactionPolicies
,StoreFileListGenerator
Base class of objects that can create mock store files with a given size.
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
How many chars long the store file name will be. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.hadoop.hbase.regionserver.HStoreFile
createMockStoreFile
(long size) protected org.apache.hadoop.hbase.regionserver.HStoreFile
createMockStoreFile
(long sizeInBytes, long seqId) protected org.apache.hadoop.hbase.regionserver.HStoreFile
createMockStoreFileBytes
(long size) protected List<org.apache.hadoop.hbase.regionserver.HStoreFile>
createStoreFileList
(int[] fs)
-
Field Details
-
FILENAME_LENGTH
How many chars long the store file name will be.- See Also:
-
-
Constructor Details
-
MockStoreFileGenerator
-
-
Method Details
-
createStoreFileList
-
createMockStoreFile
-
createMockStoreFileBytes
-
createMockStoreFile
protected org.apache.hadoop.hbase.regionserver.HStoreFile createMockStoreFile(long sizeInBytes, long seqId)
-