public class TestHalfStoreFileReader extends Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
(package private) static int |
SIZE |
private static HBaseTestingUtility |
TEST_UTIL |
Constructor and Description |
---|
TestHalfStoreFileReader() |
Modifier and Type | Method and Description |
---|---|
(package private) static byte[] |
_b(String s) |
private void |
doTestOfScanAndReseek(org.apache.hadoop.fs.Path p,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.hbase.io.Reference bottom,
org.apache.hadoop.hbase.io.hfile.CacheConfig cacheConf) |
private org.apache.hadoop.hbase.Cell |
doTestOfSeekBefore(org.apache.hadoop.fs.Path p,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.hbase.io.Reference bottom,
org.apache.hadoop.hbase.Cell seekBefore,
org.apache.hadoop.hbase.io.hfile.CacheConfig cacheConfig) |
(package private) List<org.apache.hadoop.hbase.KeyValue> |
genSomeKeys() |
private org.apache.hadoop.hbase.KeyValue |
getLastOnCol(org.apache.hadoop.hbase.Cell curr) |
static void |
setupBeforeClass() |
static void |
tearDownAfterClass() |
void |
testHalfScanAndReseek()
Test the scanner and reseek of a half hfile scanner.
|
void |
testHalfScanner() |
public static final HBaseClassTestRule CLASS_RULE
private static HBaseTestingUtility TEST_UTIL
static final int SIZE
public TestHalfStoreFileReader()
public static void setupBeforeClass() throws Exception
Exception
public static void tearDownAfterClass() throws Exception
Exception
public void testHalfScanAndReseek() throws IOException
IOException
private void doTestOfScanAndReseek(org.apache.hadoop.fs.Path p, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.hbase.io.Reference bottom, org.apache.hadoop.hbase.io.hfile.CacheConfig cacheConf) throws IOException
IOException
public void testHalfScanner() throws IOException
IOException
private org.apache.hadoop.hbase.Cell doTestOfSeekBefore(org.apache.hadoop.fs.Path p, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.hbase.io.Reference bottom, org.apache.hadoop.hbase.Cell seekBefore, org.apache.hadoop.hbase.io.hfile.CacheConfig cacheConfig) throws IOException
IOException
private org.apache.hadoop.hbase.KeyValue getLastOnCol(org.apache.hadoop.hbase.Cell curr)
List<org.apache.hadoop.hbase.KeyValue> genSomeKeys()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.