public class TestRowCounter extends Object
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
| Constructor and Description |
|---|
TestRowCounter() |
| Modifier and Type | Method and Description |
|---|---|
static void |
setUpBeforeClass() |
static void |
tearDownAfterClass() |
void |
testImportMain()
test main method.
|
void |
testRowCounter10kRowRange() |
void |
testRowCounterColumnAndRowRange()
Test a case when the column specified in command line arguments is
exclusive for few rows and also a row range filter is specified
|
void |
testRowCounterColumnWithColonInQualifier()
Test a case when the column specified in command line arguments is
one for which the qualifier contains colons.
|
void |
testRowCounterExclusiveColumn()
Test a case when the column specified in command line arguments is
exclusive for few rows.
|
void |
testRowCounterHiddenColumn()
Test a case when the column specified in command line arguments is not part
of first KV for a row.
|
void |
testRowCounterNoColumn()
Test a case when no column was specified in command line arguments.
|
void |
testRowCounterRowMultiEmptyRange()
Test a case when a range is specified with multiple ranges of start-end keys;
one range is filled, another two are not
|
void |
testRowCounterRowMultiRange()
Test a case when a range is specified with multiple ranges of start-end keys
|
void |
testRowCounterRowMultiRangeUpperBound()
Test a case when a range is specified with two ranges where one range is with end key only
|
void |
testRowCounterRowSingleRange()
Test a case when a range is specified with single range of start-end keys
|
void |
testRowCounterRowSingleRangeUpperBound()
Test a case when a range is specified with single range with end key only
|
void |
testRowCounterTimeRange()
Test a case when the timerange is specified with --starttime and --endtime options
|
public static final HBaseClassTestRule CLASS_RULE
public TestRowCounter()
public static void setUpBeforeClass() throws Exception
Exceptionpublic static void tearDownAfterClass() throws Exception
Exceptionpublic void testRowCounterNoColumn() throws Exception
Exceptionpublic void testRowCounterExclusiveColumn() throws Exception
Exceptionpublic void testRowCounterColumnWithColonInQualifier() throws Exception
Exceptionpublic void testRowCounterHiddenColumn() throws Exception
Exceptionpublic void testRowCounterColumnAndRowRange() throws Exception
Exceptionpublic void testRowCounterRowSingleRange() throws Exception
Exceptionpublic void testRowCounterRowSingleRangeUpperBound() throws Exception
Exceptionpublic void testRowCounterRowMultiRangeUpperBound() throws Exception
Exceptionpublic void testRowCounterRowMultiRange() throws Exception
Exceptionpublic void testRowCounterRowMultiEmptyRange() throws Exception
Exceptionpublic void testRowCounter10kRowRange() throws Exception
Exceptionpublic void testRowCounterTimeRange() throws Exception
Exceptionpublic void testImportMain() throws Exception
ExceptionCopyright © 2007–2019 Cloudera. All rights reserved.