Package org.apache.hadoop.hbase.client
Class TestSmallReversedScanner
java.lang.Object
org.apache.hadoop.hbase.client.TestSmallReversedScanner
-
Field Summary
FieldsModifier 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 HBaseTestingUtility -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidvoidtearDown()static voidvoidall rowKeys are fit in the last region.voidCorner 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 voidtestSmallReversedScanInternal(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
-