public class TestFilterList extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TestFilterList.AlwaysNextColFilter |
private static class |
TestFilterList.MockFilter |
private static class |
TestFilterList.MockNextRowFilter |
(package private) static class |
TestFilterList.MockSeekHintFilter |
private static class |
TestFilterList.TransformFilter |
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
(package private) static int |
MAX_PAGES |
| Constructor and Description |
|---|
TestFilterList() |
| Modifier and Type | Method and Description |
|---|---|
private org.apache.hadoop.hbase.filter.Filter |
getFilterMPONE() |
private org.apache.hadoop.hbase.filter.Filter |
getMPALLFilter() |
org.apache.hadoop.hbase.filter.Filter |
getOrderingFilter() |
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 |
testAddFilter() |
void |
testConstruction() |
void |
testEmptyFilterListTransformCell() |
void |
testFilterCell()
Test filterCell logic.
|
void |
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.
|
void |
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.
|
void |
testFilterListWithORWhenPassingCellMismatchPreviousRC() |
void |
testHintPassThru()
Test pass-thru of hints.
|
void |
testKeyOnlyFilterTransformCell() |
void |
testMPALL()
Test "must pass all"
|
void |
testMPONE()
Test "must pass one"
|
void |
testMPONEWithSeekNextUsingHint() |
void |
testOrdering()
Test list ordering
|
void |
testReversedFilterListWithMockSeekHintFilter() |
void |
testReversedFilterListWithOR() |
void |
testRowCountFilter() |
void |
testSerialization()
Test serialization
|
void |
testShouldPassCurrentCellToFilter() |
void |
testTheMaximalRule() |
void |
testTheMinimalRule() |
void |
testTransformCell() |
void |
testTransformMPO()
Tests the behavior of transform() in a hierarchical filter.
|
void |
testWithMultiVersionsInSameRow() |
public static final HBaseClassTestRule CLASS_RULE
static final int MAX_PAGES
public TestFilterList()
public void testAddFilter() throws Exception
Exceptionpublic void testConstruction()
private org.apache.hadoop.hbase.filter.Filter getFilterMPONE()
private void mpOneTest(org.apache.hadoop.hbase.filter.Filter filterMPONE) throws Exception
Exceptionprivate org.apache.hadoop.hbase.filter.Filter getMPALLFilter()
private void mpAllTest(org.apache.hadoop.hbase.filter.Filter filterMPALL) throws Exception
Exceptionpublic void testOrdering() throws Exception
Exceptionpublic org.apache.hadoop.hbase.filter.Filter getOrderingFilter()
public void orderingTest(org.apache.hadoop.hbase.filter.Filter filterMPONE) throws Exception
Exceptionpublic void testFilterListTwoFiltersMustPassOne() throws Exception
Exceptionpublic void testFilterListWithInclusiveStopFilterMustPassOne() throws Exception
Exceptionpublic void testSerialization() throws Exception
Exceptionpublic void testFilterCell() throws Exception
Exceptionpublic void testHintPassThru() throws Exception
Exceptionpublic void testTransformMPO() throws Exception
Exceptionpublic void testWithMultiVersionsInSameRow() throws Exception
Exceptionpublic void testMPONEWithSeekNextUsingHint() throws Exception
Exceptionpublic void testShouldPassCurrentCellToFilter() throws IOException
IOExceptionpublic void testTheMaximalRule() throws IOException
IOExceptionpublic void testTheMinimalRule() throws IOException
IOExceptionpublic void testReversedFilterListWithMockSeekHintFilter() throws IOException
IOExceptionpublic void testReversedFilterListWithOR() throws IOException
IOExceptionpublic void testKeyOnlyFilterTransformCell() throws IOException
IOExceptionpublic void testEmptyFilterListTransformCell() throws IOException
IOExceptionpublic void testRowCountFilter() throws IOException
IOExceptionpublic void testTransformCell() throws IOException
IOExceptionpublic void testFilterListWithORWhenPassingCellMismatchPreviousRC() throws IOException
IOExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.