public class TestRowPrefixBloomFilter extends Object
Modifier and Type | Field and Description |
---|---|
private static int |
BLOCKSIZE_SMALL |
private static org.apache.hadoop.hbase.regionserver.BloomType |
bt |
private org.apache.hadoop.hbase.io.hfile.CacheConfig |
cacheConf |
private static int |
CKBYTES |
private static org.apache.hadoop.hbase.util.ChecksumType |
CKTYPE |
static HBaseClassTestRule |
CLASS_RULE |
private static org.apache.hadoop.conf.Configuration |
conf |
private static float |
err |
private static int |
fixedLengthExpKeys |
private static org.apache.hadoop.fs.FileSystem |
fs |
private static String |
invalidFormatter |
private boolean |
localfs |
private static org.slf4j.Logger |
LOG |
org.junit.rules.TestName |
name |
private static String |
prefixFormatter |
private static int |
prefixLength |
private static int |
prefixRowCount |
private static String |
suffixFormatter |
private static int |
suffixRowCount |
private static HBaseTestingUtility |
TEST_UTIL |
private static org.apache.hadoop.fs.Path |
testDir |
Constructor and Description |
---|
TestRowPrefixBloomFilter() |
Modifier and Type | Method and Description |
---|---|
private 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 |
testRowPrefixBloomFilter() |
void |
testRowPrefixBloomFilterWithGet() |
void |
testRowPrefixBloomFilterWithScan() |
private void |
writeStoreFile(org.apache.hadoop.fs.Path f,
org.apache.hadoop.hbase.regionserver.BloomType bt,
int expKeys) |
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
private static final HBaseTestingUtility TEST_UTIL
private org.apache.hadoop.hbase.io.hfile.CacheConfig cacheConf
private static final org.apache.hadoop.hbase.util.ChecksumType CKTYPE
private static final int CKBYTES
private boolean localfs
private static org.apache.hadoop.conf.Configuration conf
private static org.apache.hadoop.fs.FileSystem fs
private static org.apache.hadoop.fs.Path testDir
private static final int BLOCKSIZE_SMALL
private static final float err
private static final int prefixLength
private static final String invalidFormatter
private static final String prefixFormatter
private static final String suffixFormatter
private static final int prefixRowCount
private static final int suffixRowCount
private static final int fixedLengthExpKeys
private static final org.apache.hadoop.hbase.regionserver.BloomType bt
public org.junit.rules.TestName name
public TestRowPrefixBloomFilter()
private static org.apache.hadoop.hbase.regionserver.StoreFileScanner getStoreFileScanner(org.apache.hadoop.hbase.regionserver.StoreFileReader reader)
private void writeStoreFile(org.apache.hadoop.fs.Path f, org.apache.hadoop.hbase.regionserver.BloomType bt, int expKeys) throws IOException
IOException
private String generateRowWithSuffix(String prefixRow, int suffix)
public void testRowPrefixBloomFilter() throws Exception
Exception
public void testRowPrefixBloomFilterWithGet() throws Exception
Exception
public void testRowPrefixBloomFilterWithScan() throws Exception
Exception
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.