@InterfaceAudience.Private public class ClientSimpleScanner extends ClientScanner
cache, caching, callable, caller, closed, conf, currentRegion, lastNext, lastResult, maxScannerResultSize, pool, primaryOperationTimeout, readRpcTimeout, requestAttributes, rpcControllerFactory, scan, scanMetricsPublished, scannerTimeout, span, tableNamescanMetrics| Constructor and Description |
|---|
ClientSimpleScanner(org.apache.hadoop.conf.Configuration configuration,
Scan scan,
Scan scanForMetrics,
TableName name,
ClusterConnection connection,
RpcRetryingCallerFactory rpcCallerFactory,
RpcControllerFactory rpcControllerFactory,
ExecutorService pool,
int scanReadRpcTimeout,
int scannerTimeout,
int replicaCallTimeoutMicroSecondScan,
ConnectionConfiguration connectionConfiguration,
Map<String,byte[]> requestAttributes) |
| Modifier and Type | Method and Description |
|---|---|
protected ScannerCallable |
createScannerCallable()
Will be called in moveToNextRegion to create ScannerCallable.
|
protected boolean |
setNewStartKey()
Will be called in moveToNextRegion when currentRegion is null.
|
addEstimatedSize, close, getCacheCount, getCacheSize, getCaching, getConf, getConnection, getMaxResultSize, getPool, getPrimaryOperationTimeout, getRetries, getScan, getScannerTimeout, getScanReplicaId, getTable, getTimestamp, initCache, initSyncCache, loadCache, moveToNextRegion, next, nextWithSyncCache, renewLease, writeScanMetricsgetScanMetrics, initScanMetricsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waititerator, nextforEach, spliteratorpublic ClientSimpleScanner(org.apache.hadoop.conf.Configuration configuration,
Scan scan,
Scan scanForMetrics,
TableName name,
ClusterConnection connection,
RpcRetryingCallerFactory rpcCallerFactory,
RpcControllerFactory rpcControllerFactory,
ExecutorService pool,
int scanReadRpcTimeout,
int scannerTimeout,
int replicaCallTimeoutMicroSecondScan,
ConnectionConfiguration connectionConfiguration,
Map<String,byte[]> requestAttributes)
throws IOException
IOExceptionprotected boolean setNewStartKey()
ClientScannersetNewStartKey in class ClientScannerfalse if we have reached the stop row. Otherwise true.protected ScannerCallable createScannerCallable()
ClientScannercreateScannerCallable in class ClientScannerCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.