Package org.apache.hadoop.hbase.filter
Class TestFilterList
java.lang.Object
org.apache.hadoop.hbase.filter.TestFilterList
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classprivate static classprivate static class(package private) static classprivate static class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRule(package private) static final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate org.apache.hadoop.hbase.filter.Filterprivate org.apache.hadoop.hbase.filter.Filterorg.apache.hadoop.hbase.filter.Filterprivate voidmpAllTest(org.apache.hadoop.hbase.filter.Filter filterMPALL) private voidmpOneTest(org.apache.hadoop.hbase.filter.Filter filterMPONE) voidorderingTest(org.apache.hadoop.hbase.filter.Filter filterMPONE) voidvoidvoidvoidTest filterCell logic.voidWhen 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.voidWhen 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.voidvoidTest pass-thru of hints.voidvoidTest "must pass all"voidTest "must pass one"voidvoidTest list orderingvoidvoidvoidvoidTest serializationvoidvoidvoidvoidvoidTests 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
-