Package org.apache.hadoop.hbase.client
Class TestAsyncTableScanMetrics
java.lang.Object
org.apache.hadoop.hbase.client.TestAsyncTableScanMetrics
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static interface
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final byte[]
static final HBaseClassTestRule
private static org.apache.hadoop.hbase.client.AsyncConnection
private static final byte[]
private static int
private static final org.apache.hadoop.hbase.TableName
private static final HBaseTestingUtil
private static final byte[]
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static org.apache.hadoop.hbase.util.Pair<List<org.apache.hadoop.hbase.client.Result>,
org.apache.hadoop.hbase.client.metrics.ScanMetrics> doScanWithAsyncTableScan
(org.apache.hadoop.hbase.client.Scan scan) private static org.apache.hadoop.hbase.util.Pair<List<org.apache.hadoop.hbase.client.Result>,
org.apache.hadoop.hbase.client.metrics.ScanMetrics> doScanWithAsyncTableScanner
(org.apache.hadoop.hbase.client.Scan scan) private static org.apache.hadoop.hbase.util.Pair<List<org.apache.hadoop.hbase.client.Result>,
org.apache.hadoop.hbase.client.metrics.ScanMetrics> doScanWithRawAsyncTable
(org.apache.hadoop.hbase.client.Scan scan) params()
static void
setUp()
static void
tearDown()
void
void
-
Field Details
-
CLASS_RULE
-
UTIL
-
TABLE_NAME
-
CF
-
CQ
-
VALUE
-
CONN
-
NUM_REGIONS
-
methodName
-
method
-
-
Constructor Details
-
TestAsyncTableScanMetrics
public TestAsyncTableScanMetrics()
-
-
Method Details
-
params
-
setUp
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
doScanWithRawAsyncTable
private static org.apache.hadoop.hbase.util.Pair<List<org.apache.hadoop.hbase.client.Result>,org.apache.hadoop.hbase.client.metrics.ScanMetrics> doScanWithRawAsyncTable(org.apache.hadoop.hbase.client.Scan scan) throws IOException, InterruptedException - Throws:
IOException
InterruptedException
-
doScanWithAsyncTableScan
private static org.apache.hadoop.hbase.util.Pair<List<org.apache.hadoop.hbase.client.Result>,org.apache.hadoop.hbase.client.metrics.ScanMetrics> doScanWithAsyncTableScan(org.apache.hadoop.hbase.client.Scan scan) throws Exception - Throws:
Exception
-
doScanWithAsyncTableScanner
private static org.apache.hadoop.hbase.util.Pair<List<org.apache.hadoop.hbase.client.Result>,org.apache.hadoop.hbase.client.metrics.ScanMetrics> doScanWithAsyncTableScanner(org.apache.hadoop.hbase.client.Scan scan) throws IOException - Throws:
IOException
-
testNoScanMetrics
- Throws:
Exception
-
testScanMetrics
- Throws:
Exception
-