@InterfaceAudience.Private public class ReversedScannerCallable extends ScannerCallable
cConnection, closed, controller, controllerFactory, cursor, heartbeatMessage, id, instantiated, isRegionServerRemote, LOG, LOG_SCANNER_ACTIVITY, LOG_SCANNER_LATENCY_CUTOFF, renew, scan, scanMetrics, scannerId
connection, location, priority, row, tableName
构造器和说明 |
---|
ReversedScannerCallable(ClusterConnection connection,
TableName tableName,
Scan scan,
ScanMetrics scanMetrics,
RpcControllerFactory rpcFactory) |
ReversedScannerCallable(ClusterConnection connection,
TableName tableName,
Scan scan,
ScanMetrics scanMetrics,
RpcControllerFactory rpcFactory,
int replicaId) |
限定符和类型 | 方法和说明 |
---|---|
ScannerCallable |
getScannerCallableForReplica(int id) |
void |
prepare(boolean reload)
Prepare for connection to the server hosting region with row from tablename.
|
call, checkIfRegionServerIsRemote, getCaching, getConnection, getCursor, getHRegionInfo, getScan, setCaching, setClose, setRenew, updateResultsMetrics
getExceptionMessageAdditionalDetail, getLocation, getPriority, getRow, getStub, getTableName, setLocation, sleep, throwable
public 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
RegionServerCallable
prepare
在接口中 RetryingCallable<Result[]>
prepare
在类中 ScannerCallable
reload
- force reload of server locationIOException
public ScannerCallable getScannerCallableForReplica(int id)
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.