Package org.apache.hadoop.hbase.client
Class TestSmallReversedScanner
java.lang.Object
org.apache.hadoop.hbase.client.TestSmallReversedScanner
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static final byte[]
private static org.apache.hadoop.hbase.client.Table
static final org.slf4j.Logger
private static final org.apache.hadoop.hbase.TableName
private static final HBaseTestingUtility
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
void
tearDown()
static void
void
all rowKeys are fit in the last region.void
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)
-
Field Details
-
CLASS_RULE
-
LOG
-
TEST_UTIL
-
TABLE_NAME
-
COLUMN_FAMILY
-
htable
-
-
Constructor Details
-
TestSmallReversedScanner
public TestSmallReversedScanner()
-
-
Method Details
-
setUpBeforeClass
- Throws:
Exception
-
tearDownAfterClass
- Throws:
Exception
-
tearDown
- Throws:
IOException
-
testSmallReversedScan01
all rowKeys are fit in the last region.- Throws:
IOException
-
testSmallReversedScanInternal
- Throws:
IOException
-
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) . test whether reversed small scanner will return infinity results with RowKey={0x00}.- Throws:
IOException
-