public class TestSmallReversedScanner extends Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static byte[] |
COLUMN_FAMILY |
private static org.apache.hadoop.hbase.client.Table |
htable |
static org.slf4j.Logger |
LOG |
private static org.apache.hadoop.hbase.TableName |
TABLE_NAME |
private static HBaseTestingUtility |
TEST_UTIL |
Constructor and Description |
---|
TestSmallReversedScanner() |
Modifier and Type | Method and Description |
---|---|
static void |
setUpBeforeClass() |
void |
tearDown() |
static void |
tearDownAfterClass() |
void |
testSmallReversedScan01()
all rowKeys are fit in the last region.
|
void |
testSmallReversedScan02()
Corner case:
HBase has 4 regions, (-oo,b),[b,c),[c,d),[d,+oo), and only rowKey with byte[]={0x00} locate in region (-oo,b) .
|
private void |
testSmallReversedScanInternal(String[] inputRowKeys) |
public static final HBaseClassTestRule CLASS_RULE
public static final org.slf4j.Logger LOG
private static final HBaseTestingUtility TEST_UTIL
private static final org.apache.hadoop.hbase.TableName TABLE_NAME
private static final byte[] COLUMN_FAMILY
private static org.apache.hadoop.hbase.client.Table htable
public TestSmallReversedScanner()
public static void setUpBeforeClass() throws Exception
Exception
public static void tearDownAfterClass() throws Exception
Exception
public void tearDown() throws IOException
IOException
public void testSmallReversedScan01() throws IOException
IOException
private void testSmallReversedScanInternal(String[] inputRowKeys) throws IOException
IOException
public void testSmallReversedScan02() throws IOException
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.