Class TestRowPrefixBloomFilter
java.lang.Object
org.apache.hadoop.hbase.regionserver.TestRowPrefixBloomFilter
Test TestRowPrefixBloomFilter
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
private static final org.apache.hadoop.hbase.regionserver.BloomType
private org.apache.hadoop.hbase.io.hfile.CacheConfig
private static final int
private static final org.apache.hadoop.hbase.util.ChecksumType
static final HBaseClassTestRule
private static org.apache.hadoop.conf.Configuration
private static final float
private static final int
private static org.apache.hadoop.fs.FileSystem
private static final String
private boolean
private static final org.slf4j.Logger
org.junit.rules.TestName
private static final String
private static final int
private static final int
private static final String
private static final int
private static final HBaseTestingUtil
private static org.apache.hadoop.fs.Path
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate String
generateRowWithSuffix
(String prefixRow, int suffix) private static org.apache.hadoop.hbase.regionserver.StoreFileScanner
getStoreFileScanner
(org.apache.hadoop.hbase.regionserver.StoreFileReader reader) void
setUp()
void
tearDown()
void
void
void
private void
writeStoreFile
(org.apache.hadoop.fs.Path f, org.apache.hadoop.hbase.regionserver.BloomType bt, int expKeys)
-
Field Details
-
CLASS_RULE
-
LOG
-
TEST_UTIL
-
cacheConf
-
CKTYPE
-
CKBYTES
- See Also:
-
localfs
-
conf
-
fs
-
testDir
-
BLOCKSIZE_SMALL
- See Also:
-
err
- See Also:
-
prefixLength
- See Also:
-
invalidFormatter
- See Also:
-
prefixFormatter
- See Also:
-
suffixFormatter
- See Also:
-
prefixRowCount
- See Also:
-
suffixRowCount
- See Also:
-
fixedLengthExpKeys
- See Also:
-
bt
-
name
-
-
Constructor Details
-
TestRowPrefixBloomFilter
public TestRowPrefixBloomFilter()
-
-
Method Details
-
setUp
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
getStoreFileScanner
private static org.apache.hadoop.hbase.regionserver.StoreFileScanner getStoreFileScanner(org.apache.hadoop.hbase.regionserver.StoreFileReader reader) -
writeStoreFile
private void writeStoreFile(org.apache.hadoop.fs.Path f, org.apache.hadoop.hbase.regionserver.BloomType bt, int expKeys) throws IOException - Throws:
IOException
-
generateRowWithSuffix
-
testRowPrefixBloomFilter
- Throws:
Exception
-
testRowPrefixBloomFilterWithGet
- Throws:
Exception
-
testRowPrefixBloomFilterWithScan
- Throws:
Exception
-