public class TestCopyTable extends Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static byte[] |
FAMILY_A |
private static String |
FAMILY_A_STRING |
private static byte[] |
FAMILY_B |
private static String |
FAMILY_B_STRING |
org.junit.rules.TestName |
name |
private static byte[] |
QUALIFIER |
private static byte[] |
ROW1 |
private static byte[] |
ROW2 |
private static HBaseTestingUtility |
TEST_UTIL |
Constructor and Description |
---|
TestCopyTable() |
Modifier and Type | Method and Description |
---|---|
static void |
afterClass() |
static void |
beforeClass() |
private void |
doCopyTableTest(boolean bulkload) |
private boolean |
runCopy(String[] args) |
void |
testCopyTable()
Simple end-to-end test
|
void |
testCopyTableWithBulkload()
Simple end-to-end test with bulkload.
|
void |
testMainMethod()
Test main method of CopyTable.
|
void |
testRenameFamily()
Test copy of table from sourceTable to targetTable all rows from family a
|
void |
testStartStopRow() |
public static final HBaseClassTestRule CLASS_RULE
private static final HBaseTestingUtility TEST_UTIL
private static final byte[] ROW1
private static final byte[] ROW2
private static final String FAMILY_A_STRING
private static final String FAMILY_B_STRING
private static final byte[] FAMILY_A
private static final byte[] FAMILY_B
private static final byte[] QUALIFIER
public org.junit.rules.TestName name
public TestCopyTable()
public static void beforeClass() throws Exception
Exception
public static void afterClass() throws Exception
Exception
private void doCopyTableTest(boolean bulkload) throws Exception
Exception
public void testCopyTable() throws Exception
Exception
public void testCopyTableWithBulkload() throws Exception
Exception
public void testStartStopRow() throws Exception
Exception
public void testRenameFamily() throws Exception
Exception
public void testMainMethod() throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.