@InterfaceAudience.Private public class ClientAsyncPrefetchScanner extends ClientSimpleScanner
prefetchCondition().cache, caching, callable, caller, closed, conf, currentRegion, lastNext, lastResult, maxScannerResultSize, pool, primaryOperationTimeout, rpcControllerFactory, scan, scanMetricsPublished, scannerTimeout, tableNamescanMetrics| 构造器和说明 |
|---|
ClientAsyncPrefetchScanner(org.apache.hadoop.conf.Configuration configuration,
Scan scan,
TableName name,
ClusterConnection connection,
RpcRetryingCallerFactory rpcCallerFactory,
RpcControllerFactory rpcControllerFactory,
ExecutorService pool,
int replicaCallTimeoutMicroSecondScan) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
addEstimatedSize(long estimatedSize) |
void |
close()
Closes the scanner and releases any resources it has allocated
|
protected void |
initCache() |
Result |
next()
Grab the next row's worth of values.
|
createScannerCallable, setNewStartKeygetCacheCount, getCacheSize, getCaching, getConf, getConnection, getMaxResultSize, getPool, getPrimaryOperationTimeout, getRetries, getScan, getScannerTimeout, getTable, getTimestamp, initSyncCache, loadCache, moveToNextRegion, nextWithSyncCache, renewLease, writeScanMetricsgetScanMetrics, initScanMetricsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waititerator, nextforEach, spliteratorpublic ClientAsyncPrefetchScanner(org.apache.hadoop.conf.Configuration configuration,
Scan scan,
TableName name,
ClusterConnection connection,
RpcRetryingCallerFactory rpcCallerFactory,
RpcControllerFactory rpcControllerFactory,
ExecutorService pool,
int replicaCallTimeoutMicroSecondScan)
throws IOException
IOExceptionprotected void initCache()
initCache 在类中 ClientScannerpublic Result next() throws IOException
ResultScannernext 在接口中 ResultScannernext 在类中 ClientScannerIOException - epublic void close()
ResultScannerclose 在接口中 Closeableclose 在接口中 AutoCloseableclose 在接口中 ResultScannerclose 在类中 ClientScannerprotected void addEstimatedSize(long estimatedSize)
addEstimatedSize 在类中 ClientScannerCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.