Package org.apache.hadoop.hbase.client
Class TestPreadReversedScanner
java.lang.Object
org.apache.hadoop.hbase.client.TestPreadReversedScanner
-
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 HBaseTestingUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
void
tearDown()
static void
void
all rowKeys are fit in the last region.private void
testPreadReversedScanInternal
(String[] inputRowKeys) void
Corner case:
-
Field Details
-
CLASS_RULE
-
LOG
-
TEST_UTIL
-
TABLE_NAME
-
COLUMN_FAMILY
-
htable
-
-
Constructor Details
-
TestPreadReversedScanner
public TestPreadReversedScanner()
-
-
Method Details
-
setUpBeforeClass
- Throws:
Exception
-
tearDownAfterClass
- Throws:
Exception
-
tearDown
- Throws:
IOException
-
testPreadReversedScan01
all rowKeys are fit in the last region.- Throws:
IOException
-
testPreadReversedScanInternal
- 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 pread scanner will return infinity results with RowKey={0x00}.- Throws:
IOException
-