class MockStoreFileGenerator extends Object
Modifier and Type | Field and Description |
---|---|
private static int |
FILENAME_LENGTH
How many chars long the store file name will be.
|
protected Random |
random
The random number generator.
|
Constructor and Description |
---|
MockStoreFileGenerator(Class<?> klass) |
Modifier and Type | Method and Description |
---|---|
protected 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) |
private static final int FILENAME_LENGTH
MockStoreFileGenerator(Class<?> klass)
protected List<org.apache.hadoop.hbase.regionserver.HStoreFile> createStoreFileList(int[] fs)
protected org.apache.hadoop.hbase.regionserver.HStoreFile createMockStoreFile(long size)
protected org.apache.hadoop.hbase.regionserver.HStoreFile createMockStoreFileBytes(long size)
protected org.apache.hadoop.hbase.regionserver.HStoreFile createMockStoreFile(long sizeInBytes, long seqId)
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.