Package org.apache.hadoop.hbase.filter
Class TestColumnPaginationFilter
java.lang.Object
org.apache.hadoop.hbase.filter.TestColumnPaginationFilter
Test for the ColumnPaginationFilter, used mainly to test the successful serialization of the
filter. More test functionality can be found within
TestFilter.testColumnPaginationFilter()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static final byte[]
private static final byte[]
private org.apache.hadoop.hbase.filter.Filter
private org.apache.hadoop.hbase.filter.Filter
private static final byte[]
private static final byte[]
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
basicFilterTests
(org.apache.hadoop.hbase.filter.ColumnPaginationFilter filter) The more specific functionality tests are contained within the TestFilters class.private org.apache.hadoop.hbase.filter.Filter
private org.apache.hadoop.hbase.filter.Filter
private org.apache.hadoop.hbase.filter.Filter
serializationTest
(org.apache.hadoop.hbase.filter.Filter filter) void
setUp()
void
Tests serialization
-
Field Details
-
CLASS_RULE
-
ROW
-
COLUMN_FAMILY
-
VAL_1
-
COLUMN_QUALIFIER
-
columnPaginationFilterOffset
-
columnPaginationFilter
-
-
Constructor Details
-
TestColumnPaginationFilter
public TestColumnPaginationFilter()
-
-
Method Details
-
setUp
- Throws:
Exception
-
getColumnPaginationFilter
-
getColumnPaginationFilterOffset
-
serializationTest
private org.apache.hadoop.hbase.filter.Filter serializationTest(org.apache.hadoop.hbase.filter.Filter filter) throws Exception - Throws:
Exception
-
basicFilterTests
private void basicFilterTests(org.apache.hadoop.hbase.filter.ColumnPaginationFilter filter) throws Exception The more specific functionality tests are contained within the TestFilters class. This class is mainly for testing serialization- Throws:
Exception
-
testSerialization
Tests serialization- Throws:
Exception
-