public class TestResultScannerTracing extends Object
Modifier and Type | Class and Description |
---|---|
private static class |
TestResultScannerTracing.Setup |
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
static org.junit.rules.TestRule |
classRule |
private static ConnectionRule |
connectionRule |
private static int |
COUNT |
private static byte[] |
CQ |
private static byte[] |
FAMILY |
private static org.slf4j.Logger |
LOG |
private static MiniClusterRule |
miniClusterRule |
private static OpenTelemetryClassRule |
otelClassRule |
OpenTelemetryTestRule |
otelTestRule |
private static org.apache.hadoop.hbase.TableName |
TABLE_NAME |
org.junit.rules.TestName |
testName |
Constructor and Description |
---|
TestResultScannerTracing() |
Modifier and Type | Method and Description |
---|---|
private 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 |
buildAsyncPrefetchScan() |
private org.apache.hadoop.hbase.client.Scan |
buildDefaultScan() |
private org.apache.hadoop.hbase.client.Scan |
buildReversedScan() |
private void |
doScan(Supplier<org.apache.hadoop.hbase.client.Scan> spanSupplier,
Consumer<org.apache.hadoop.hbase.client.Scan> scanAssertions) |
void |
testAsyncPrefetchScan() |
void |
testNormalScan() |
void |
testReversedScan() |
private static void |
waitForSpan(org.hamcrest.Matcher<io.opentelemetry.sdk.trace.data.SpanData> parentSpanMatcher) |
private static final org.slf4j.Logger LOG
public static final HBaseClassTestRule CLASS_RULE
private static final org.apache.hadoop.hbase.TableName TABLE_NAME
private static final byte[] FAMILY
private static final byte[] CQ
private static final int COUNT
private static final OpenTelemetryClassRule otelClassRule
private static final MiniClusterRule miniClusterRule
private static final ConnectionRule connectionRule
public static final org.junit.rules.TestRule classRule
public final OpenTelemetryTestRule otelTestRule
public final org.junit.rules.TestName testName
public TestResultScannerTracing()
private static void waitForSpan(org.hamcrest.Matcher<io.opentelemetry.sdk.trace.data.SpanData> parentSpanMatcher)
private org.apache.hadoop.hbase.client.Scan buildDefaultScan()
private void assertDefaultScan(org.apache.hadoop.hbase.client.Scan scan)
private org.apache.hadoop.hbase.client.Scan buildAsyncPrefetchScan()
private void assertAsyncPrefetchScan(org.apache.hadoop.hbase.client.Scan scan)
private org.apache.hadoop.hbase.client.Scan buildReversedScan()
private void assertReversedScan(org.apache.hadoop.hbase.client.Scan scan)
private void doScan(Supplier<org.apache.hadoop.hbase.client.Scan> spanSupplier, Consumer<org.apache.hadoop.hbase.client.Scan> scanAssertions) throws Exception
Exception
public void testNormalScan() throws Exception
Exception
public void testAsyncPrefetchScan() throws Exception
Exception
public void testReversedScan() throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.