public class TestScannerWithBulkload extends Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
org.junit.rules.TestName |
name |
private static HBaseTestingUtility |
TEST_UTIL |
Constructor and Description |
---|
TestScannerWithBulkload() |
Modifier and Type | Method and Description |
---|---|
private org.apache.hadoop.hbase.client.Scan |
createScan() |
private static void |
createTable(org.apache.hadoop.hbase.client.Admin admin,
org.apache.hadoop.hbase.TableName tableName) |
private org.apache.hadoop.hbase.client.Table |
init(org.apache.hadoop.hbase.client.Admin admin,
long l,
org.apache.hadoop.hbase.client.Scan scan,
org.apache.hadoop.hbase.TableName tableName) |
private org.apache.hadoop.hbase.client.Result |
scanAfterBulkLoad(org.apache.hadoop.hbase.client.ResultScanner scanner,
org.apache.hadoop.hbase.client.Result result,
String expctedVal) |
static void |
setUpBeforeClass() |
static void |
tearDownAfterClass() |
void |
testBulkLoad() |
void |
testBulkLoadNativeHFile() |
void |
testBulkLoadWithParallelScan() |
private org.apache.hadoop.fs.Path |
writeToHFile(long l,
String hFilePath,
String pathStr,
boolean nativeHFile) |
public static final HBaseClassTestRule CLASS_RULE
private static final HBaseTestingUtility TEST_UTIL
public org.junit.rules.TestName name
public TestScannerWithBulkload()
public static void setUpBeforeClass() throws Exception
Exception
private static void createTable(org.apache.hadoop.hbase.client.Admin admin, org.apache.hadoop.hbase.TableName tableName) throws IOException
IOException
public void testBulkLoad() throws Exception
Exception
private org.apache.hadoop.hbase.client.Result scanAfterBulkLoad(org.apache.hadoop.hbase.client.ResultScanner scanner, org.apache.hadoop.hbase.client.Result result, String expctedVal) throws IOException
IOException
private org.apache.hadoop.fs.Path writeToHFile(long l, String hFilePath, String pathStr, boolean nativeHFile) throws IOException
IOException
private org.apache.hadoop.hbase.client.Table init(org.apache.hadoop.hbase.client.Admin admin, long l, org.apache.hadoop.hbase.client.Scan scan, org.apache.hadoop.hbase.TableName tableName) throws Exception
Exception
public void testBulkLoadWithParallelScan() throws Exception
Exception
public void testBulkLoadNativeHFile() throws Exception
Exception
private org.apache.hadoop.hbase.client.Scan createScan()
public static void tearDownAfterClass() throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.