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, onScanMetricsCreatedprivate 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.ScanResultConsumeronNext in class SimpleScanResultConsumerImplCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.