Package org.apache.hadoop.hbase.client
Class TestAsyncTableScanAll
java.lang.Object
org.apache.hadoop.hbase.client.AbstractTestAsyncTableScan
org.apache.hadoop.hbase.client.TestAsyncTableScanAll
@Tag("org.apache.hadoop.hbase.testclassification.LargeTests") @Tag("org.apache.hadoop.hbase.testclassification.ClientTests")
public class TestAsyncTableScanAll
extends AbstractTestAsyncTableScan
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Supplier<org.apache.hadoop.hbase.client.AsyncTable<?>>private static final org.slf4j.Loggerprivate Supplier<org.apache.hadoop.hbase.client.Scan>Fields inherited from class org.apache.hadoop.hbase.client.AbstractTestAsyncTableScan
CONN, COUNT, CQ1, CQ2, FAMILY, methodName, OTEL_EXT, TABLE_NAME, UTIL -
Constructor Summary
ConstructorsConstructorDescriptionTestAsyncTableScanAll(String tableType, Supplier<org.apache.hadoop.hbase.client.AsyncTable<?>> getTable, String scanType, Supplier<org.apache.hadoop.hbase.client.Scan> scanCreator) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidUsed by implementation classes to assert the correctness of spans produced under test.protected voidassertTraceError(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.Scanprotected List<org.apache.hadoop.hbase.client.Result>doScan(org.apache.hadoop.hbase.client.Scan scan, int closeAfter) static Stream<org.junit.jupiter.params.provider.Arguments>Methods inherited from class org.apache.hadoop.hbase.client.AbstractTestAsyncTableScan
convertFromBatchResult, getScanCreatorParams, getTableAndScanCreatorParams, setUp, setUpBeforeClass, spanStream, tearDownAfterClass, testReversedScanAll, testReversedScanAtRegionBoundary, testReversedScanWithLimit, testReversedScanWithLimitGreaterThanActualCount, testReversedScanWithStartKeyAndStopKey, testReverseScanNoStopKey, testScanAll, testScanAtRegionBoundary, testScanEndingEarly, testScanNoStopKey, testScanWithLimit, testScanWithLimitGreaterThanActualCount, testScanWithStartKeyAndStopKey, testScanWrongColumnFamily, waitForSpan
-
Field Details
-
logger
-
getTable
-
scanCreator
-
-
Constructor Details
-
TestAsyncTableScanAll
public TestAsyncTableScanAll(String tableType, Supplier<org.apache.hadoop.hbase.client.AsyncTable<?>> getTable, String scanType, Supplier<org.apache.hadoop.hbase.client.Scan> scanCreator)
-
-
Method Details
-
parameters
-
createScan
- Specified by:
createScanin classAbstractTestAsyncTableScan
-
doScan
protected List<org.apache.hadoop.hbase.client.Result> doScan(org.apache.hadoop.hbase.client.Scan scan, int closeAfter) throws Exception - Specified by:
doScanin classAbstractTestAsyncTableScan- Throws:
Exception
-
assertTraceContinuity
Description copied from class:AbstractTestAsyncTableScanUsed by implementation classes to assert the correctness of spans produced under test.- Specified by:
assertTraceContinuityin classAbstractTestAsyncTableScan
-
assertTraceError
protected void assertTraceError(org.hamcrest.Matcher<io.opentelemetry.api.common.Attributes> exceptionMatcher) Description copied from class:AbstractTestAsyncTableScanUsed by implementation classes to assert the correctness of spans having errors.- Specified by:
assertTraceErrorin classAbstractTestAsyncTableScan
-