Package org.apache.hadoop.hbase.filter
Class TestParseFilter
java.lang.Object
org.apache.hadoop.hbase.filter.TestParseFilter
This class tests ParseFilter.java It tests the entire work flow from when a string is given by
the user and how it is parsed to construct the corresponding Filter object
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
(package private) org.apache.hadoop.hbase.filter.ParseFilter
(package private) org.apache.hadoop.hbase.filter.Filter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate <T extends org.apache.hadoop.hbase.filter.Filter>
TdoTestFilter
(String filterString, Class<T> clazz) void
setUp()
void
tearDown()
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
-
Field Details
-
Constructor Details
-
TestParseFilter
public TestParseFilter()
-
-
Method Details
-
setUp
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
testKeyOnlyFilter
- Throws:
IOException
-
testFirstKeyOnlyFilter
- Throws:
IOException
-
testPrefixFilter
- Throws:
IOException
-
testColumnPrefixFilter
- Throws:
IOException
-
testMultipleColumnPrefixFilter
- Throws:
IOException
-
testColumnCountGetFilter
- Throws:
IOException
-
testPageFilter
- Throws:
IOException
-
testColumnPaginationFilter
- Throws:
IOException
-
testInclusiveStopFilter
- Throws:
IOException
-
testTimestampsFilter
- Throws:
IOException
-
testRowFilter
- Throws:
IOException
-
testFamilyFilter
- Throws:
IOException
-
testQualifierFilter
- Throws:
IOException
-
testQualifierFilterNoCase
- Throws:
IOException
-
testValueFilter
- Throws:
IOException
-
testColumnRangeFilter
- Throws:
IOException
-
testDependentColumnFilter
- Throws:
IOException
-
testSingleColumnValueFilter
- Throws:
IOException
-
testSingleColumnValueExcludeFilter
- Throws:
IOException
-
testSkipFilter
- Throws:
IOException
-
testWhileFilter
- Throws:
IOException
-
testCompoundFilter1
- Throws:
IOException
-
testCompoundFilter2
- Throws:
IOException
-
testCompoundFilter3
- Throws:
IOException
-
testCompoundFilter4
- Throws:
IOException
-
testCompoundFilter5
- Throws:
IOException
-
testIncorrectCompareOperator
- Throws:
IOException
-
testIncorrectComparatorType
- Throws:
IOException
-
testPrecedence1
- Throws:
IOException
-
testPrecedence2
- Throws:
IOException
-
testUnescapedQuote1
- Throws:
IOException
-
testUnescapedQuote2
- Throws:
IOException
-
testUnescapedQuote3
- Throws:
IOException
-
testIncorrectFilterString
- Throws:
IOException
-
testCorrectFilterString
- Throws:
IOException
-
testRegisterFilter
-
doTestFilter
private <T extends org.apache.hadoop.hbase.filter.Filter> T doTestFilter(String filterString, Class<T> clazz) throws IOException - Throws:
IOException
-
testColumnValueFilter
- Throws:
IOException
-