@InterfaceAudience.Private public class ClientSmallReversedScanner extends ReversedClientScanner
ReversedClientScannercache, caching, callable, caller, closed, conf, currentRegion, lastNext, lastResult, maxScannerResultSize, pool, primaryOperationTimeout, rpcControllerFactory, scan, scanMetricsPublished, scannerTimeoutscanMetrics| 构造器和说明 |
|---|
ClientSmallReversedScanner(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.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close()
Closes the scanner and releases any resources it has allocated
|
protected void |
initializeScannerInConstruction() |
protected void |
loadCache()
Contact the servers to load more
Results in the cache. |
Result |
next()
Grab the next row's worth of values.
|
protected void |
setScannerCallableFactory(ClientSmallScanner.SmallScannerCallableFactory callableFactory) |
checkScanStopRow, createClosestRowBefore, getScannerCallable, nextScannergetCacheSize, getCaching, getConf, getConnection, getMaxResultSize, getPool, getPrimaryOperationTimeout, getRetries, getScan, getScannerCallable, getScannerTimeout, getTable, getTableName, getTimestamp, renewLease, writeScanMetricsgetScanMetrics, initScanMetrics, iterator, nextpublic ClientSmallReversedScanner(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 changed.conf - The Configuration to use.scan - Scan to use in this scannertableName - The table that we wish to rangeGetconnection - Connection identifying the clusterrpcFactory - Factory used to create the RpcRetryingCallercontrollerFactory - Factory used to access RPC payloadspool - Threadpool for RPC threadsprimaryOperationTimeout - Call timeoutIOException - If the remote call failspublic Result next() throws IOException
ResultScannernext 在接口中 ResultScannernext 在类中 ClientScannerIOException - eprotected void loadCache()
throws IOException
ClientScannerResults in the cache.loadCache 在类中 ClientScannerIOExceptionprotected void initializeScannerInConstruction()
throws IOException
initializeScannerInConstruction 在类中 ClientScannerIOExceptionpublic void close()
ResultScannerclose 在接口中 Closeableclose 在接口中 AutoCloseableclose 在接口中 ResultScannerclose 在类中 ClientScannerprotected void setScannerCallableFactory(ClientSmallScanner.SmallScannerCallableFactory callableFactory)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.