Package org.apache.hadoop.hbase.filter
Class TestSingleColumnValueFilter
java.lang.Object
org.apache.hadoop.hbase.filter.TestSingleColumnValueFilter
Tests the value filter
-
Field Summary
Modifier and TypeFieldDescription(package private) org.apache.hadoop.hbase.filter.Filter
static final HBaseClassTestRule
private static final byte[]
private static final byte[]
private static final byte[]
private static final byte[]
(package private) org.apache.hadoop.hbase.filter.Filter
private static final Pattern
private static final String
private static final String
(package private) org.apache.hadoop.hbase.filter.Filter
(package private) org.apache.hadoop.hbase.filter.Filter
private static final byte[]
(package private) org.apache.hadoop.hbase.filter.Filter
private static final byte[]
private static final byte[]
private static final byte[]
private static final byte[]
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate org.apache.hadoop.hbase.filter.Filter
private void
basicFilterTests
(org.apache.hadoop.hbase.filter.SingleColumnValueFilter filter) private org.apache.hadoop.hbase.filter.Filter
private void
nullFilterTests
(org.apache.hadoop.hbase.filter.Filter filter) private org.apache.hadoop.hbase.filter.Filter
private org.apache.hadoop.hbase.filter.Filter
regexFilterNew
(Pattern pattern) private void
regexFilterTests
(org.apache.hadoop.hbase.filter.Filter filter) private void
regexPatternFilterTests
(org.apache.hadoop.hbase.filter.Filter filter) private org.apache.hadoop.hbase.filter.Filter
serializationTest
(org.apache.hadoop.hbase.filter.Filter filter) void
setUp()
private org.apache.hadoop.hbase.filter.Filter
private void
substrFilterTests
(org.apache.hadoop.hbase.filter.Filter filter) void
void
Tests serializationvoid
testStop()
Tests identification of the stop row
-
Field Details
-
CLASS_RULE
-
ROW
-
COLUMN_FAMILY
-
COLUMN_QUALIFIER
-
VAL_1
-
VAL_2
-
VAL_3
-
VAL_4
-
FULLSTRING_1
-
FULLSTRING_2
-
QUICK_SUBSTR
- See Also:
-
QUICK_REGEX
- See Also:
-
QUICK_PATTERN
-
basicFilter
org.apache.hadoop.hbase.filter.Filter basicFilter -
nullFilter
org.apache.hadoop.hbase.filter.Filter nullFilter -
substrFilter
org.apache.hadoop.hbase.filter.Filter substrFilter -
regexFilter
org.apache.hadoop.hbase.filter.Filter regexFilter -
regexPatternFilter
org.apache.hadoop.hbase.filter.Filter regexPatternFilter
-
-
Constructor Details
-
TestSingleColumnValueFilter
public TestSingleColumnValueFilter()
-
-
Method Details
-
setUp
- Throws:
Exception
-
basicFilterNew
-
nullFilterNew
-
substrFilterNew
-
regexFilterNew
-
regexFilterNew
-
testLongComparator
- Throws:
IOException
-
basicFilterTests
private void basicFilterTests(org.apache.hadoop.hbase.filter.SingleColumnValueFilter filter) throws Exception - Throws:
Exception
-
nullFilterTests
- Throws:
Exception
-
substrFilterTests
- Throws:
Exception
-
regexFilterTests
- Throws:
Exception
-
regexPatternFilterTests
- Throws:
Exception
-
serializationTest
private org.apache.hadoop.hbase.filter.Filter serializationTest(org.apache.hadoop.hbase.filter.Filter filter) throws Exception - Throws:
Exception
-
testStop
Tests identification of the stop row- Throws:
Exception
-
testSerialization
Tests serialization- Throws:
Exception
-