static class ClientSmallReversedScanner.SmallReversedScannerCallable extends ReversedScannerCallable
locateStartRow
cConnection, closed, controller, controllerFactory, heartbeatMessage, id, instantiated, isRegionServerRemote, LOG, LOG_SCANNER_ACTIVITY, LOG_SCANNER_LATENCY_CUTOFF, renew, scanMetrics, scannerId, serverHasMoreResults, serverHasMoreResultsContext
connection, location, row, tableName
Constructor and Description |
---|
ClientSmallReversedScanner.SmallReversedScannerCallable(ClusterConnection connection,
TableName table,
Scan scan,
ScanMetrics scanMetrics,
byte[] locateStartRow,
RpcControllerFactory controllerFactory,
int caching,
int replicaId) |
Modifier and Type | Method and Description |
---|---|
Result[] |
call(int timeout)
Computes a result, or throws an exception if unable to do so.
|
ScannerCallable |
getScannerCallableForReplica(int id) |
prepare
checkIfRegionServerIsRemote, getCaching, getConnection, getController, getHRegionInfo, getScan, getServerHasMoreResults, hasMoreResultsContext, isHeartbeatMessage, openScanner, setCaching, setClose, setHasMoreResultsContext, setHeartbeatMessage, setRenew, setServerHasMoreResults, updateResultsMetrics
getExceptionMessageAdditionalDetail, getLocation, getRow, getStub, getTableName, setLocation, setStub, sleep, throwable
public ClientSmallReversedScanner.SmallReversedScannerCallable(ClusterConnection connection, TableName table, Scan scan, ScanMetrics scanMetrics, byte[] locateStartRow, RpcControllerFactory controllerFactory, int caching, int replicaId)
public Result[] call(int timeout) throws IOException
RetryingCallable
call
in interface RetryingCallable<Result[]>
call
in class ScannerCallable
timeout
- - the time available for this call. 0 for infinite.IOException
public ScannerCallable getScannerCallableForReplica(int id)
getScannerCallableForReplica
in class ReversedScannerCallable
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.