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
Exception
public static void tearDownAfterClass() throws Exception
Exception
private static void verifyScan(org.apache.hadoop.hbase.client.Scan s, long expectedRows, long expectedKeys) throws Exception
Exception
private static void verifyScanFull(org.apache.hadoop.hbase.client.Scan s, org.apache.hadoop.hbase.KeyValue[] kvs) throws Exception
Exception
private static void verifyScanNoEarlyOut(org.apache.hadoop.hbase.client.Scan s, long expectedRows, long expectedKeys) throws Exception
Exception
public void testNoFilter() throws Exception
Exception
public void testPrefixFilter() throws Exception
Exception
public void testPageFilter() throws Exception
Exception
public void testInclusiveStopFilter() throws Exception
Exception
public void testQualifierFilter() throws Exception
Exception
public void testRowFilter() throws Exception
Exception
public void testValueFilter() throws Exception
Exception
public void testSkipFilter() throws Exception
Exception
public void testFilterList() throws Exception
Exception
public void testFirstKeyOnlyFilter() throws Exception
Exception
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.