public class TestServerSideScanMetricsFromClientSide extends Object
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
| Constructor and Description |
|---|
TestServerSideScanMetricsFromClientSide() |
| Modifier and Type | Method and Description |
|---|---|
static void |
setUpBeforeClass() |
static void |
tearDownAfterClass() |
void |
testMetric(Scan scan,
String metricKey,
long expectedValue)
Run the scan to completetion and check the metric against the specified value
|
void |
testRowsFilteredMetric() |
void |
testRowsFilteredMetric(Scan baseScan) |
void |
testRowsFilteredMetric(Scan baseScan,
Filter filter,
int expectedNumFiltered) |
void |
testRowsSeenMetric(Scan baseScan) |
void |
testRowsSeenMetricWithAsync() |
void |
testRowsSeenMetricWithSync() |
public static final HBaseClassTestRule CLASS_RULE
public TestServerSideScanMetricsFromClientSide()
public static void setUpBeforeClass() throws Exception
Exceptionpublic static void tearDownAfterClass() throws Exception
Exceptionpublic void testRowsSeenMetricWithSync() throws Exception
Exceptionpublic void testRowsSeenMetricWithAsync() throws Exception
Exceptionpublic void testRowsSeenMetric(Scan baseScan) throws Exception
Exceptionpublic void testRowsFilteredMetric() throws Exception
Exceptionpublic void testRowsFilteredMetric(Scan baseScan) throws Exception
Exceptionpublic void testRowsFilteredMetric(Scan baseScan, Filter filter, int expectedNumFiltered) throws Exception
Exceptionpublic void testMetric(Scan scan, String metricKey, long expectedValue) throws Exception
scan - metricKey - expectedValue - ExceptionCopyright © 2007–2019 Cloudera. All rights reserved.