Package org.apache.hadoop.hbase.filter
Class TestDependentColumnFilter
java.lang.Object
org.apache.hadoop.hbase.filter.TestDependentColumnFilter
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final byte[][]
static final HBaseClassTestRule
private static final byte[][]
private static final org.slf4j.Logger
private static final byte[]
private static final byte[]
private org.apache.hadoop.hbase.regionserver.HRegion
private static final byte[][]
private static final long
private static final long[]
private static final HBaseTestingUtil
(package private) List<org.apache.hadoop.hbase.KeyValue>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
addData()
private List<org.apache.hadoop.hbase.KeyValue>
void
setUp()
void
tearDown()
void
Test that the filter correctly drops rows without a corresponding timestampvoid
Test scans using a DependentColumnFiltervoid
void
Test for HBASE-8794.private void
verifyScan
(org.apache.hadoop.hbase.client.Scan s, long expectedRows, long expectedCells) This shouldn't be confused with TestFilter#verifyScan as expectedKeys is not the per row total, but the scan total
-
Field Details
-
CLASS_RULE
-
LOG
-
ROWS
-
FAMILIES
-
STAMP_BASE
-
STAMPS
-
QUALIFIER
-
BAD_VALS
-
MATCH_VAL
-
TEST_UTIL
-
testVals
-
region
-
-
Constructor Details
-
TestDependentColumnFilter
public TestDependentColumnFilter()
-
-
Method Details
-
setUp
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
addData
- Throws:
IOException
-
makeTestVals
-
verifyScan
private void verifyScan(org.apache.hadoop.hbase.client.Scan s, long expectedRows, long expectedCells) throws IOException This shouldn't be confused with TestFilter#verifyScan as expectedKeys is not the per row total, but the scan total- Throws:
IOException
-
testScans
Test scans using a DependentColumnFilter- Throws:
Exception
-
testFilterDropping
Test that the filter correctly drops rows without a corresponding timestamp- Throws:
Exception
-
testToStringWithNullComparator
Test for HBASE-8794. Avoid NullPointerException in DependentColumnFilter.toString(). -
testToStringWithNonNullComparator
-