@InterfaceAudience.Private public class ClientAsyncPrefetchScanner extends ClientSimpleScanner
prefetchCondition()
.cache, caching, callable, caller, closed, conf, currentRegion, lastNext, lastResult, maxScannerResultSize, pool, primaryOperationTimeout, rpcControllerFactory, scan, scanMetricsPublished, scannerTimeout, tableName
scanMetrics
构造器和说明 |
---|
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, setNewStartKey
getCacheCount, getCacheSize, getCaching, getConf, getConnection, getMaxResultSize, getPool, getPrimaryOperationTimeout, getRetries, getScan, getScannerTimeout, getTable, getTimestamp, initSyncCache, loadCache, moveToNextRegion, nextWithSyncCache, renewLease, writeScanMetrics
getScanMetrics, initScanMetrics
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
iterator, next
forEach, spliterator
public ClientAsyncPrefetchScanner(org.apache.hadoop.conf.Configuration configuration, Scan scan, TableName name, ClusterConnection connection, RpcRetryingCallerFactory rpcCallerFactory, RpcControllerFactory rpcControllerFactory, ExecutorService pool, int replicaCallTimeoutMicroSecondScan) throws IOException
IOException
protected void initCache()
initCache
在类中 ClientScanner
public Result next() throws IOException
ResultScanner
next
在接口中 ResultScanner
next
在类中 ClientScanner
IOException
- epublic void close()
ResultScanner
close
在接口中 Closeable
close
在接口中 AutoCloseable
close
在接口中 ResultScanner
close
在类中 ClientScanner
protected void addEstimatedSize(long estimatedSize)
addEstimatedSize
在类中 ClientScanner
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.