@InterfaceAudience.Private public abstract class AbstractClientScanner extends Object implements ResultScanner
限定符和类型 | 字段和说明 |
---|---|
protected ScanMetrics |
scanMetrics |
构造器和说明 |
---|
AbstractClientScanner() |
限定符和类型 | 方法和说明 |
---|---|
ScanMetrics |
getScanMetrics()
Used internally accumulating metrics on scan.
|
protected void |
initScanMetrics(Scan scan)
Check and initialize if application wants to collect scan metrics
|
Iterator<Result> |
iterator() |
Result[] |
next(int nbRows)
Get nbRows rows.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, next, renewLease
protected ScanMetrics scanMetrics
protected void initScanMetrics(Scan scan)
public ScanMetrics getScanMetrics()
Scan.setScanMetricsEnabled(boolean)
.getScanMetrics
在接口中 ResultScanner
ScanMetrics
instance or null if scan metrics not enabled.public Result[] next(int nbRows) throws IOException
Scan.setCaching(int)
setting (or hbase.client.scanner.caching in hbase-site.xml).next
在接口中 ResultScanner
nbRows
- number of rows to returnIOException
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.