@InterfaceAudience.Public @InterfaceStability.Evolving public class ReversedScannerCallable extends ScannerCallable
Modifier and Type | Field and Description |
---|---|
protected byte[] |
locateStartRow
The start row for locating regions.
|
controller, instantiated, isRegionServerRemote, LOG, LOG_SCANNER_ACTIVITY, LOG_SCANNER_LATENCY_CUTOFF, scanMetrics
connection, location, MIN_WAIT_DEAD_SERVER, row, tableName
Constructor and Description |
---|
ReversedScannerCallable(HConnection connection,
TableName tableName,
Scan scan,
ScanMetrics scanMetrics,
byte[] locateStartRow)
Deprecated.
|
ReversedScannerCallable(HConnection connection,
TableName tableName,
Scan scan,
ScanMetrics scanMetrics,
byte[] locateStartRow,
PayloadCarryingRpcController rpcFactory) |
Modifier and Type | Method and Description |
---|---|
void |
prepare(boolean reload)
Prepare for connection to the server hosting region with row from tablename.
|
call, checkIfRegionServerIsRemote, getCaching, getHRegionInfo, getScan, openScanner, setCaching, setClose
getExceptionMessageAdditionalDetail, getLocation, getRow, getStub, getTableName, setLocation, sleep, throwable
protected final byte[] locateStartRow
ReversedClientScanner.nextScanner(int, boolean)
@Deprecated public ReversedScannerCallable(HConnection connection, TableName tableName, Scan scan, ScanMetrics scanMetrics, byte[] locateStartRow)
public ReversedScannerCallable(HConnection connection, TableName tableName, Scan scan, ScanMetrics scanMetrics, byte[] locateStartRow, PayloadCarryingRpcController rpcFactory)
connection
- tableName
- scan
- scanMetrics
- locateStartRow
- The start row for locating regionsrpcFactory
- public void prepare(boolean reload) throws IOException
RegionServerCallable
prepare
in interface RetryingCallable<Result[]>
prepare
in class ScannerCallable
reload
- force reload of server locationIOException
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.