Class TestScanWithBloomError
java.lang.Object
org.apache.hadoop.hbase.regionserver.TestScanWithBloomError
Test a multi-column scanner when there is a Bloom filter false-positive. This is needed for the
multi-column Bloom filter optimization.
-
Field Summary
Modifier and TypeFieldDescriptionprivate static NavigableSet<Integer>
private org.apache.hadoop.hbase.regionserver.BloomType
static final HBaseClassTestRule
private org.apache.hadoop.conf.Configuration
private static final String
private static final byte[]
private org.apache.hadoop.fs.FileSystem
private static final org.slf4j.Logger
private static final String
private org.apache.hadoop.hbase.regionserver.HRegion
private static final String
private static final byte[]
private static final String
private static final HBaseTestingUtility
-
Constructor Summary
ConstructorDescriptionTestScanWithBloomError
(org.apache.hadoop.hbase.regionserver.BloomType bloomType) -
Method Summary
Modifier and TypeMethodDescriptionprivate void
addColumnSetToScan
(org.apache.hadoop.hbase.client.Scan scan, int[] colIds) private void
createStoreFile
(int[] colIds) static final Collection<Object[]>
private String
qualFromId
(int colId) private void
scanColSet
(int[] colSet, int[] expectedResultCols) void
setUp()
void
-
Field Details
-
CLASS_RULE
-
LOG
-
TABLE_NAME
- See Also:
-
FAMILY
- See Also:
-
FAMILY_BYTES
-
ROW
- See Also:
-
QUALIFIER_PREFIX
- See Also:
-
ROW_BYTES
-
allColIds
-
region
-
bloomType
-
fs
-
conf
-
TEST_UTIL
-
-
Constructor Details
-
TestScanWithBloomError
-
-
Method Details
-
parameters
-
setUp
- Throws:
IOException
-
testThreeStoreFiles
- Throws:
IOException
-
scanColSet
- Throws:
IOException
-
addColumnSetToScan
-
qualFromId
-
createStoreFile
- Throws:
IOException
-