class SimpleScanResultConsumerImpl extends Object implements SimpleScanResultConsumer
Modifier and Type | Field and Description |
---|---|
private Throwable |
error |
private boolean |
finished |
protected List<org.apache.hadoop.hbase.client.Result> |
results |
private org.apache.hadoop.hbase.client.metrics.ScanMetrics |
scanMetrics |
Constructor and Description |
---|
SimpleScanResultConsumerImpl() |
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
SimpleScanResultConsumerImpl()
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
getAll
in interface SimpleScanResultConsumer
Exception
public org.apache.hadoop.hbase.client.metrics.ScanMetrics getScanMetrics()
getScanMetrics
in interface SimpleScanResultConsumer
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.