public class TestCellCounter 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 |
private static org.apache.hadoop.fs.Path |
FQ_OUTPUT_DIR |
org.junit.rules.TestName |
name |
private static long |
now |
private static String |
OUTPUT_DIR |
private static byte[] |
QUALIFIER |
private static byte[] |
ROW1 |
private static byte[] |
ROW2 |
private static HBaseTestingUtility |
UTIL |
| Constructor and Description |
|---|
TestCellCounter() |
| Modifier and Type | Method and Description |
|---|---|
static void |
afterClass() |
static void |
beforeClass() |
private boolean |
runCount(String[] args) |
void |
testCellCounteEndTimeRange()
Test CellCounter with time range all data should print to output
|
void |
testCellCounteOutOfTimeRange()
Test CellCounter with time range all data should print to output
|
void |
testCellCounter()
Test CellCounter all data should print to output
|
void |
testCellCounterForCompleteTable()
Test CellCounter for complete table all data should print to output
|
void |
testCellCounterMain()
Test main method of CellCounter
|
void |
testCellCounterPrefix()
Test CellCounter all data should print to output
|
void |
testCellCounterStartTimeRange()
Test CellCounter with time range all data should print to output
|
void |
TestCellCounterWithoutOutputDir() |
public static final HBaseClassTestRule CLASS_RULE
private static final HBaseTestingUtility 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
private static org.apache.hadoop.fs.Path FQ_OUTPUT_DIR
private static final String OUTPUT_DIR
private static long now
public org.junit.rules.TestName name
public TestCellCounter()
public static void beforeClass() throws Exception
Exceptionpublic static void afterClass() throws Exception
Exceptionpublic void testCellCounter() throws Exception
Exceptionpublic void testCellCounterPrefix() throws Exception
Exceptionpublic void testCellCounterStartTimeRange() throws Exception
Exceptionpublic void testCellCounteEndTimeRange() throws Exception
Exceptionpublic void testCellCounteOutOfTimeRange() throws Exception
Exceptionpublic void testCellCounterMain() throws Exception
Exceptionpublic void testCellCounterForCompleteTable() throws Exception
Exceptionpublic void TestCellCounterWithoutOutputDir() throws Exception
ExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.