Package org.apache.hadoop.hbase.client
Class TestPreadReversedScanner
java.lang.Object
org.apache.hadoop.hbase.client.TestPreadReversedScanner
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate static final byte[]private static org.apache.hadoop.hbase.client.Tablestatic final org.slf4j.Loggerprivate static final org.apache.hadoop.hbase.TableNameprivate static final HBaseTestingUtil
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic voidvoidtearDown()static voidvoidall rowKeys are fit in the last region.private voidtestPreadReversedScanInternal(String[] inputRowKeys) voidCorner case:
- 
Field Details- 
CLASS_RULE
- 
LOG
- 
TEST_UTIL
- 
TABLE_NAME
- 
COLUMN_FAMILY
- 
htable
 
- 
- 
Constructor Details- 
TestPreadReversedScannerpublic TestPreadReversedScanner()
 
- 
- 
Method Details- 
setUpBeforeClass- Throws:
- Exception
 
- 
tearDownAfterClass- Throws:
- Exception
 
- 
tearDown- Throws:
- IOException
 
- 
testPreadReversedScan01all rowKeys are fit in the last region.- Throws:
- IOException
 
- 
testPreadReversedScanInternal- Throws:
- IOException
 
- 
testSmallReversedScan02Corner 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
 
 
-