Package org.apache.hadoop.hbase.client
Class TestResultScannerTracing
java.lang.Object
org.apache.hadoop.hbase.client.TestResultScannerTracing
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
static final org.junit.rules.TestRule
private static final ConnectionRule
private static final int
private static final byte[]
private static final byte[]
private static final org.slf4j.Logger
private static final MiniClusterRule
private static final OpenTelemetryClassRule
final OpenTelemetryTestRule
private static final org.apache.hadoop.hbase.TableName
final org.junit.rules.TestName
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
assertAsyncPrefetchScan
(org.apache.hadoop.hbase.client.Scan scan) private void
assertDefaultScan
(org.apache.hadoop.hbase.client.Scan scan) private void
assertReversedScan
(org.apache.hadoop.hbase.client.Scan scan) void
before()
private org.apache.hadoop.hbase.client.Scan
private org.apache.hadoop.hbase.client.Scan
private org.apache.hadoop.hbase.client.Scan
private void
doScan
(Supplier<org.apache.hadoop.hbase.client.Scan> spanSupplier, Consumer<org.apache.hadoop.hbase.client.Scan> scanAssertions) void
void
void
private static void
waitForSpan
(org.hamcrest.Matcher<io.opentelemetry.sdk.trace.data.SpanData> parentSpanMatcher)
-
Field Details
-
LOG
-
CLASS_RULE
-
TABLE_NAME
-
FAMILY
-
CQ
-
COUNT
- See Also:
-
otelClassRule
-
miniClusterRule
-
connectionRule
-
classRule
-
otelTestRule
-
testName
-
-
Constructor Details
-
TestResultScannerTracing
public TestResultScannerTracing()
-
-
Method Details
-
before
- Throws:
Exception
-
waitForSpan
private static void waitForSpan(org.hamcrest.Matcher<io.opentelemetry.sdk.trace.data.SpanData> parentSpanMatcher) -
buildDefaultScan
-
assertDefaultScan
-
buildAsyncPrefetchScan
-
assertAsyncPrefetchScan
-
buildReversedScan
-
assertReversedScan
-
doScan
private void doScan(Supplier<org.apache.hadoop.hbase.client.Scan> spanSupplier, Consumer<org.apache.hadoop.hbase.client.Scan> scanAssertions) throws Exception - Throws:
Exception
-
testNormalScan
- Throws:
Exception
-
testAsyncPrefetchScan
- Throws:
Exception
-
testReversedScan
- Throws:
Exception
-