Package org.apache.hadoop.hbase.filter
Class TestFilterList
java.lang.Object
org.apache.hadoop.hbase.filter.TestFilterList
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
private static class
private static class
private static class
(package private) static class
private static class
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
(package private) static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate org.apache.hadoop.hbase.filter.Filter
private org.apache.hadoop.hbase.filter.Filter
org.apache.hadoop.hbase.filter.Filter
private void
mpAllTest
(org.apache.hadoop.hbase.filter.Filter filterMPALL) private void
mpOneTest
(org.apache.hadoop.hbase.filter.Filter filterMPONE) void
orderingTest
(org.apache.hadoop.hbase.filter.Filter filterMPONE) void
void
void
void
Test filterCell logic.void
When we do a "MUST_PASS_ONE" (a logical 'OR') of the above two filters we expect to get the same result as the 'prefix' only result.void
When we do a "MUST_PASS_ONE" (a logical 'OR') of the two filters we expect to get the same result as the inclusive stop result.void
void
Test pass-thru of hints.void
void
Test "must pass all"void
Test "must pass one"void
void
Test list orderingvoid
void
void
void
Test serializationvoid
void
void
void
void
Tests the behavior of transform() in a hierarchical filter.void
-
Field Details
-
CLASS_RULE
-
MAX_PAGES
- See Also:
-
-
Constructor Details
-
TestFilterList
public TestFilterList()
-
-
Method Details
-
testAddFilter
- Throws:
Exception
-
testConstruction
-
testMPONE
Test "must pass one"- Throws:
Exception
-
getFilterMPONE
-
mpOneTest
- Throws:
Exception
-
testMPALL
Test "must pass all"- Throws:
Exception
-
getMPALLFilter
-
mpAllTest
- Throws:
Exception
-
testOrdering
Test list ordering- Throws:
Exception
-
getOrderingFilter
-
orderingTest
- Throws:
Exception
-
testFilterListTwoFiltersMustPassOne
When we do a "MUST_PASS_ONE" (a logical 'OR') of the above two filters we expect to get the same result as the 'prefix' only result.- Throws:
Exception
-
testFilterListWithInclusiveStopFilterMustPassOne
When we do a "MUST_PASS_ONE" (a logical 'OR') of the two filters we expect to get the same result as the inclusive stop result.- Throws:
Exception
-
testSerialization
Test serialization- Throws:
Exception
-
testFilterCell
Test filterCell logic.- Throws:
Exception
-
testHintPassThru
Test pass-thru of hints.- Throws:
Exception
-
testTransformMPO
Tests the behavior of transform() in a hierarchical filter. transform() only applies after a filterCell() whose return-code includes the KeyValue. Lazy evaluation of AND- Throws:
Exception
-
testWithMultiVersionsInSameRow
- Throws:
Exception
-
testMPONEWithSeekNextUsingHint
- Throws:
Exception
-
testShouldPassCurrentCellToFilter
- Throws:
IOException
-
testTheMaximalRule
- Throws:
IOException
-
testTheMinimalRule
- Throws:
IOException
-
testReversedFilterListWithMockSeekHintFilter
- Throws:
IOException
-
testReversedFilterListWithOR
- Throws:
IOException
-
testKeyOnlyFilterTransformCell
- Throws:
IOException
-
testEmptyFilterListTransformCell
- Throws:
IOException
-
testRowCountFilter
- Throws:
IOException
-
testTransformCell
- Throws:
IOException
-
testFilterListWithORWhenPassingCellMismatchPreviousRC
- Throws:
IOException
-