@InterfaceAudience.Private public class ReversedClientScanner extends ClientScanner
cache, caching, callable, caller, closed, conf, currentRegion, lastNext, lastResult, maxScannerResultSize, pool, primaryOperationTimeout, rpcControllerFactory, scan, scanMetricsPublished, scannerTimeoutscanMetrics| 构造器和说明 |
|---|
ReversedClientScanner(org.apache.hadoop.conf.Configuration conf,
Scan scan,
org.apache.hadoop.hbase.TableName tableName,
ClusterConnection connection,
RpcRetryingCallerFactory rpcFactory,
RpcControllerFactory controllerFactory,
ExecutorService pool,
int primaryOperationTimeout)
Create a new ReversibleClientScanner for the specified table Note that the
passed
Scan's start row maybe changed. |
| 限定符和类型 | 方法和说明 |
|---|---|
protected boolean |
checkScanStopRow(byte[] startKey) |
protected byte[] |
createClosestRowBefore(byte[] row)
Create the closest row before the specified row
|
protected org.apache.hadoop.hbase.client.ScannerCallableWithReplicas |
getScannerCallable(byte[] localStartKey,
int nbRows,
byte[] locateStartRow) |
protected boolean |
nextScanner(int nbRows,
boolean done) |
close, getCacheSize, getCaching, getConf, getConnection, getMaxResultSize, getPool, getPrimaryOperationTimeout, getRetries, getScan, getScannerCallable, getScannerTimeout, getTable, getTableName, getTimestamp, initializeScannerInConstruction, loadCache, next, renewLease, writeScanMetricsgetScanMetrics, initScanMetrics, iterator, nextpublic ReversedClientScanner(org.apache.hadoop.conf.Configuration conf,
Scan scan,
org.apache.hadoop.hbase.TableName tableName,
ClusterConnection connection,
RpcRetryingCallerFactory rpcFactory,
RpcControllerFactory controllerFactory,
ExecutorService pool,
int primaryOperationTimeout)
throws IOException
Scan's start row maybe changed.conf - scan - tableName - connection - pool - primaryOperationTimeout - IOExceptionprotected boolean nextScanner(int nbRows,
boolean done)
throws IOException
nextScanner 在类中 ClientScannerIOExceptionprotected org.apache.hadoop.hbase.client.ScannerCallableWithReplicas getScannerCallable(byte[] localStartKey,
int nbRows,
byte[] locateStartRow)
protected boolean checkScanStopRow(byte[] startKey)
checkScanStopRow 在类中 ClientScannerprotected byte[] createClosestRowBefore(byte[] row)
row - Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.