class LimitedScanResultConsumer extends SimpleScanResultConsumerImpl
limit
results.Modifier and Type | Field and Description |
---|---|
private int |
limit |
results
Constructor and Description |
---|
LimitedScanResultConsumer(int limit) |
Modifier and Type | Method and Description |
---|---|
boolean |
onNext(org.apache.hadoop.hbase.client.Result result) |
getAll, getScanMetrics, onComplete, onError, onScanMetricsCreated
private final int limit
public LimitedScanResultConsumer(int limit)
public boolean onNext(org.apache.hadoop.hbase.client.Result result)
onNext
in interface org.apache.hadoop.hbase.client.ScanResultConsumer
onNext
in class SimpleScanResultConsumerImpl
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.