@InterfaceAudience.Private public class ReversedScannerCallable extends ScannerCallable
ScannerCallable.MoreResultsclosed, cursor, heartbeatMessage, id, instantiated, isRegionServerRemote, LOG, LOG_SCANNER_ACTIVITY, LOG_SCANNER_LATENCY_CUTOFF, renew, rpcControllerFactory, scan, scanMetrics, scannerIdlocation, rpcController, stub| Constructor and Description | 
|---|
| ReversedScannerCallable(ClusterConnection connection,
                       TableName tableName,
                       Scan scan,
                       ScanMetrics scanMetrics,
                       RpcControllerFactory rpcFactory) | 
| ReversedScannerCallable(ClusterConnection connection,
                       TableName tableName,
                       Scan scan,
                       ScanMetrics scanMetrics,
                       RpcControllerFactory rpcFactory,
                       int replicaId) | 
| Modifier and Type | Method and Description | 
|---|---|
| ScannerCallable | getScannerCallableForReplica(int id) | 
| private List<HRegionLocation> | locateRegionsInRange(byte[] startKey,
                    byte[] endKey,
                    boolean reload)Get the corresponding regions for an arbitrary range of keys. | 
| void | prepare(boolean reload)Prepare by setting up any connections to servers, etc., ahead of call invocation. | 
checkIfRegionServerIsRemote, getCaching, getCursor, getHRegionInfo, getScan, isHeartbeatMessage, moreResultsForScan, moreResultsInRegion, rpcCall, setCaching, setClose, setMoreResultsForScan, setMoreResultsInRegion, setRenewdoGet, doMutate, setStubByServiceNamecall, getConnection, getExceptionMessageAdditionalDetail, getLocation, getPriority, getRow, getRpcController, getRpcControllerCellScanner, getStub, getTableName, setLocation, setRpcControllerCellScanner, setStub, sleep, throwablepublic ReversedScannerCallable(ClusterConnection connection, TableName tableName, Scan scan, ScanMetrics scanMetrics, RpcControllerFactory rpcFactory)
connection - tableName - scan - scanMetrics - rpcFactory - to create an RpcController to talk to the
          regionserverpublic ReversedScannerCallable(ClusterConnection connection, TableName tableName, Scan scan, ScanMetrics scanMetrics, RpcControllerFactory rpcFactory, int replicaId)
connection - tableName - scan - scanMetrics - rpcFactory - to create an RpcController to talk to the
          regionserverreplicaId - the replica idpublic void prepare(boolean reload) throws IOException
RetryingCallableprepare in interface RetryingCallable<Result[]>prepare in class ScannerCallablereload - force reload of server locationIOExceptionprivate List<HRegionLocation> locateRegionsInRange(byte[] startKey, byte[] endKey, boolean reload) throws IOException
startKey - Starting row in range, inclusiveendKey - Ending row in range, exclusivereload - force reload of server locationIOExceptionpublic ScannerCallable getScannerCallableForReplica(int id)
getScannerCallableForReplica in class ScannerCallableCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.