Package org.apache.hadoop.hbase.client
Class TestRawAsyncTableScan
java.lang.Object
org.apache.hadoop.hbase.client.AbstractTestAsyncTableScan
org.apache.hadoop.hbase.client.TestRawAsyncTableScan
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static final org.slf4j.Logger
Supplier<org.apache.hadoop.hbase.client.Scan>
Fields inherited from class org.apache.hadoop.hbase.client.AbstractTestAsyncTableScan
classRule, CONN_RULE, COUNT, CQ1, CQ2, FAMILY, MINI_CLUSTER_RULE, OTEL_CLASS_RULE, otelTestRule, TABLE_NAME, testName
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
Used by implementation classes to assert the correctness of spans produced under test.protected void
assertTraceError
(org.hamcrest.Matcher<io.opentelemetry.api.common.Attributes> exceptionMatcher) Used by implementation classes to assert the correctness of spans having errors.protected org.apache.hadoop.hbase.client.Scan
protected List<org.apache.hadoop.hbase.client.Result>
doScan
(org.apache.hadoop.hbase.client.Scan scan, int closeAfter) params()
Methods inherited from class org.apache.hadoop.hbase.client.AbstractTestAsyncTableScan
convertFromBatchResult, getScanCreatorParams, getTableAndScanCreatorParams, spanStream, testReversedScanAll, testReversedScanAtRegionBoundary, testReversedScanWithLimit, testReversedScanWithLimitGreaterThanActualCount, testReversedScanWithStartKeyAndStopKey, testReverseScanNoStopKey, testScanAll, testScanAtRegionBoundary, testScanEndingEarly, testScanNoStopKey, testScanWithLimit, testScanWithLimitGreaterThanActualCount, testScanWithStartKeyAndStopKey, testScanWrongColumnFamily, waitForSpan
-
Field Details
-
logger
-
CLASS_RULE
-
scanType
-
scanCreater
-
-
Constructor Details
-
TestRawAsyncTableScan
public TestRawAsyncTableScan()
-
-
Method Details
-
params
-
createScan
- Specified by:
createScan
in classAbstractTestAsyncTableScan
-
doScan
protected List<org.apache.hadoop.hbase.client.Result> doScan(org.apache.hadoop.hbase.client.Scan scan, int closeAfter) throws Exception - Specified by:
doScan
in classAbstractTestAsyncTableScan
- Throws:
Exception
-
assertTraceContinuity
Description copied from class:AbstractTestAsyncTableScan
Used by implementation classes to assert the correctness of spans produced under test.- Specified by:
assertTraceContinuity
in classAbstractTestAsyncTableScan
-
assertTraceError
protected void assertTraceError(org.hamcrest.Matcher<io.opentelemetry.api.common.Attributes> exceptionMatcher) Description copied from class:AbstractTestAsyncTableScan
Used by implementation classes to assert the correctness of spans having errors.- Specified by:
assertTraceError
in classAbstractTestAsyncTableScan
-