Package org.apache.hadoop.hbase.client
Class TestAsyncTableScanMetrics
java.lang.Object
org.apache.hadoop.hbase.client.TestAsyncTableScanMetrics
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static interface -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final byte[]static final HBaseClassTestRuleprivate static org.apache.hadoop.hbase.client.AsyncConnectionprivate static final byte[]private static intprivate static final org.apache.hadoop.hbase.TableNameprivate static final HBaseTestingUtilityprivate static final byte[] -
Constructor Summary
Constructors -
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 voidsetUp()static voidtearDown()voidvoid
-
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:
IOExceptionInterruptedException
-
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
-