public class TestScannersWithFilters extends Object
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static org.apache.hadoop.hbase.rest.client.Client |
client |
private static long |
colsPerRow |
private static JAXBContext |
context |
private static byte[][] |
FAMILIES |
private static org.slf4j.Logger |
LOG |
private static Marshaller |
marshaller |
private static long |
numRows |
private static byte[][] |
QUALIFIERS_ONE |
private static byte[][] |
QUALIFIERS_TWO |
private static HBaseRESTTestingUtility |
REST_TEST_UTIL |
private static byte[][] |
ROWS_ONE |
private static byte[][] |
ROWS_TWO |
private static org.apache.hadoop.hbase.TableName |
TABLE |
private static HBaseTestingUtility |
TEST_UTIL |
private static Unmarshaller |
unmarshaller |
private static byte[][] |
VALUES |
| Constructor and Description |
|---|
TestScannersWithFilters() |
| Modifier and Type | Method and Description |
|---|---|
static void |
setUpBeforeClass() |
static void |
tearDownAfterClass() |
void |
testFilterList() |
void |
testFirstKeyOnlyFilter() |
void |
testInclusiveStopFilter() |
void |
testNoFilter() |
void |
testPageFilter() |
void |
testPrefixFilter() |
void |
testQualifierFilter() |
void |
testRowFilter() |
void |
testSkipFilter() |
void |
testValueFilter() |
private static void |
verifyScan(org.apache.hadoop.hbase.client.Scan s,
long expectedRows,
long expectedKeys) |
private static void |
verifyScanFull(org.apache.hadoop.hbase.client.Scan s,
org.apache.hadoop.hbase.KeyValue[] kvs) |
private static void |
verifyScanNoEarlyOut(org.apache.hadoop.hbase.client.Scan s,
long expectedRows,
long expectedKeys) |
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
private static final org.apache.hadoop.hbase.TableName TABLE
private static final byte[][] ROWS_ONE
private static final byte[][] ROWS_TWO
private static final byte[][] FAMILIES
private static final byte[][] QUALIFIERS_ONE
private static final byte[][] QUALIFIERS_TWO
private static final byte[][] VALUES
private static final HBaseTestingUtility TEST_UTIL
private static final HBaseRESTTestingUtility REST_TEST_UTIL
private static org.apache.hadoop.hbase.rest.client.Client client
private static JAXBContext context
private static Marshaller marshaller
private static Unmarshaller unmarshaller
private static long numRows
private static long colsPerRow
public TestScannersWithFilters()
public static void setUpBeforeClass() throws Exception
Exceptionpublic static void tearDownAfterClass() throws Exception
Exceptionprivate static void verifyScan(org.apache.hadoop.hbase.client.Scan s, long expectedRows, long expectedKeys) throws Exception
Exceptionprivate static void verifyScanFull(org.apache.hadoop.hbase.client.Scan s, org.apache.hadoop.hbase.KeyValue[] kvs) throws Exception
Exceptionprivate static void verifyScanNoEarlyOut(org.apache.hadoop.hbase.client.Scan s, long expectedRows, long expectedKeys) throws Exception
Exceptionpublic void testNoFilter() throws Exception
Exceptionpublic void testPrefixFilter() throws Exception
Exceptionpublic void testPageFilter() throws Exception
Exceptionpublic void testInclusiveStopFilter() throws Exception
Exceptionpublic void testQualifierFilter() throws Exception
Exceptionpublic void testRowFilter() throws Exception
Exceptionpublic void testValueFilter() throws Exception
Exceptionpublic void testSkipFilter() throws Exception
Exceptionpublic void testFilterList() throws Exception
Exceptionpublic void testFirstKeyOnlyFilter() throws Exception
ExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.