Class TestRowPrefixBloomFilter
java.lang.Object
org.apache.hadoop.hbase.regionserver.TestRowPrefixBloomFilter
Test TestRowPrefixBloomFilter
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final intprivate static final org.apache.hadoop.hbase.regionserver.BloomTypeprivate org.apache.hadoop.hbase.io.hfile.CacheConfigprivate static final intprivate static final org.apache.hadoop.hbase.util.ChecksumTypestatic final HBaseClassTestRuleprivate static org.apache.hadoop.conf.Configurationprivate static final floatprivate static final intprivate static org.apache.hadoop.fs.FileSystemprivate static final Stringprivate booleanprivate static final org.slf4j.Loggerorg.junit.rules.TestNameprivate static final Stringprivate static final intprivate static final intprivate static final Stringprivate static final intprivate static final HBaseTestingUtilprivate static org.apache.hadoop.fs.Path -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate StringgenerateRowWithSuffix(String prefixRow, int suffix) private static org.apache.hadoop.hbase.regionserver.StoreFileScannergetStoreFileScanner(org.apache.hadoop.hbase.regionserver.StoreFileReader reader) voidsetUp()voidtearDown()voidvoidvoidprivate voidwriteStoreFile(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
-