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
Exception
public void testConstruction()
private org.apache.hadoop.hbase.filter.Filter getFilterMPONE()
private void mpOneTest(org.apache.hadoop.hbase.filter.Filter filterMPONE) throws Exception
Exception
private org.apache.hadoop.hbase.filter.Filter getMPALLFilter()
private void mpAllTest(org.apache.hadoop.hbase.filter.Filter filterMPALL) throws Exception
Exception
public void testOrdering() throws Exception
Exception
public org.apache.hadoop.hbase.filter.Filter getOrderingFilter()
public void orderingTest(org.apache.hadoop.hbase.filter.Filter filterMPONE) throws Exception
Exception
public void testFilterListTwoFiltersMustPassOne() throws Exception
Exception
public void testFilterListWithInclusiveStopFilterMustPassOne() throws Exception
Exception
public void testSerialization() throws Exception
Exception
public void testFilterCell() throws Exception
Exception
public void testHintPassThru() throws Exception
Exception
public void testTransformMPO() throws Exception
Exception
public void testWithMultiVersionsInSameRow() throws Exception
Exception
public void testMPONEWithSeekNextUsingHint() throws Exception
Exception
public void testShouldPassCurrentCellToFilter() throws IOException
IOException
public void testTheMaximalRule() throws IOException
IOException
public void testTheMinimalRule() throws IOException
IOException
public void testReversedFilterListWithMockSeekHintFilter() throws IOException
IOException
public void testReversedFilterListWithOR() throws IOException
IOException
public void testKeyOnlyFilterTransformCell() throws IOException
IOException
public void testEmptyFilterListTransformCell() throws IOException
IOException
public void testRowCountFilter() throws IOException
IOException
public void testTransformCell() throws IOException
IOException
public void testFilterListWithORWhenPassingCellMismatchPreviousRC() throws IOException
IOException
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.