Package org.apache.hadoop.hbase.client
Interface ScanResultConsumer
- All Superinterfaces:
ScanResultConsumerBase
Receives
Result
for an asynchronous scan.
All results that match the given scan object will be passed to this class by calling
onNext(Result)
. ScanResultConsumerBase.onComplete()
means the scan is finished, and
ScanResultConsumerBase.onError(Throwable)
means we hit an unrecoverable error and the scan is terminated.
-
Method Summary
Methods inherited from interface org.apache.hadoop.hbase.client.ScanResultConsumerBase
onComplete, onError, onScanMetricsCreated
-
Method Details
-
onNext
Returnfalse
if you want to terminate the scan process. Otherwisetrue
-