Package org.apache.hadoop.hbase.client
Class TracedScanResultConsumer
java.lang.Object
org.apache.hadoop.hbase.client.TracedScanResultConsumer
- All Implemented Interfaces:
org.apache.hadoop.hbase.client.ScanResultConsumer
,org.apache.hadoop.hbase.client.ScanResultConsumerBase
,SimpleScanResultConsumer
A wrapper over
SimpleScanResultConsumer
that adds tracing of spans to its implementation.-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionList<org.apache.hadoop.hbase.client.Result>
getAll()
org.apache.hadoop.hbase.client.metrics.ScanMetrics
void
void
boolean
onNext
(org.apache.hadoop.hbase.client.Result result) void
onScanMetricsCreated
(org.apache.hadoop.hbase.client.metrics.ScanMetrics scanMetrics)
-
Field Details
-
delegate
-
-
Constructor Details
-
TracedScanResultConsumer
-
-
Method Details
-
onScanMetricsCreated
- Specified by:
onScanMetricsCreated
in interfaceorg.apache.hadoop.hbase.client.ScanResultConsumerBase
-
onNext
- Specified by:
onNext
in interfaceorg.apache.hadoop.hbase.client.ScanResultConsumer
-
onError
- Specified by:
onError
in interfaceorg.apache.hadoop.hbase.client.ScanResultConsumerBase
-
onComplete
- Specified by:
onComplete
in interfaceorg.apache.hadoop.hbase.client.ScanResultConsumerBase
-
getAll
- Specified by:
getAll
in interfaceSimpleScanResultConsumer
- Throws:
Exception
-
getScanMetrics
- Specified by:
getScanMetrics
in interfaceSimpleScanResultConsumer
-