final class SimpleScanResultConsumer extends Object implements org.apache.hadoop.hbase.client.ScanResultConsumer
Modifier and Type | Field and Description |
---|---|
private Throwable |
error |
private boolean |
finished |
private List<org.apache.hadoop.hbase.client.Result> |
results |
private org.apache.hadoop.hbase.client.metrics.ScanMetrics |
scanMetrics |
Constructor and Description |
---|
SimpleScanResultConsumer() |
Modifier and Type | Method and Description |
---|---|
List<org.apache.hadoop.hbase.client.Result> |
getAll() |
org.apache.hadoop.hbase.client.metrics.ScanMetrics |
getScanMetrics() |
void |
onComplete() |
void |
onError(Throwable error) |
boolean |
onNext(org.apache.hadoop.hbase.client.Result result) |
void |
onScanMetricsCreated(org.apache.hadoop.hbase.client.metrics.ScanMetrics scanMetrics) |
private org.apache.hadoop.hbase.client.metrics.ScanMetrics scanMetrics
private boolean finished
SimpleScanResultConsumer()
public void onScanMetricsCreated(org.apache.hadoop.hbase.client.metrics.ScanMetrics scanMetrics)
onScanMetricsCreated
in interface org.apache.hadoop.hbase.client.ScanResultConsumerBase
public boolean onNext(org.apache.hadoop.hbase.client.Result result)
onNext
in interface org.apache.hadoop.hbase.client.ScanResultConsumer
public void onError(Throwable error)
onError
in interface org.apache.hadoop.hbase.client.ScanResultConsumerBase
public void onComplete()
onComplete
in interface org.apache.hadoop.hbase.client.ScanResultConsumerBase
public List<org.apache.hadoop.hbase.client.Result> getAll() throws Exception
Exception
public org.apache.hadoop.hbase.client.metrics.ScanMetrics getScanMetrics()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.