public class TestPreadReversedScanner 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 HBaseTestingUtil |
TEST_UTIL |
Constructor and Description |
---|
TestPreadReversedScanner() |
Modifier and Type | Method and Description |
---|---|
static void |
setUpBeforeClass() |
void |
tearDown() |
static void |
tearDownAfterClass() |
void |
testPreadReversedScan01()
all rowKeys are fit in the last region.
|
private void |
testPreadReversedScanInternal(String[] inputRowKeys) |
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) .
|
public static final HBaseClassTestRule CLASS_RULE
public static final org.slf4j.Logger LOG
private static final HBaseTestingUtil 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 TestPreadReversedScanner()
public static void setUpBeforeClass() throws Exception
Exception
public static void tearDownAfterClass() throws Exception
Exception
public void tearDown() throws IOException
IOException
public void testPreadReversedScan01() throws IOException
IOException
private void testPreadReversedScanInternal(String[] inputRowKeys) throws IOException
IOException
public void testSmallReversedScan02() throws IOException
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.