Package org.apache.hadoop.hbase.filter
Class TestDependentColumnFilter
java.lang.Object
org.apache.hadoop.hbase.filter.TestDependentColumnFilter
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final byte[][]static final HBaseClassTestRuleprivate static final byte[][]private static final org.slf4j.Loggerprivate static final byte[]private static final byte[]private org.apache.hadoop.hbase.regionserver.HRegionprivate static final byte[][]private static final longprivate static final long[]private static final HBaseTestingUtil(package private) List<org.apache.hadoop.hbase.KeyValue> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidaddData()private List<org.apache.hadoop.hbase.KeyValue>voidsetUp()voidtearDown()voidTest that the filter correctly drops rows without a corresponding timestampvoidTest scans using a DependentColumnFiltervoidvoidTest for HBASE-8794.private voidverifyScan(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
-