@InterfaceAudience.Public @InterfaceStability.Evolving public class ReversedClientScanner extends ClientScanner
cache, caching, callable, caller, closed, currentRegion, lastNext, lastResult, maxScannerResultSize, rpcControllerFactory, scan, scanMetricsPublished, scannerTimeout
scanMetrics
Constructor and Description |
---|
ReversedClientScanner(org.apache.hadoop.conf.Configuration conf,
Scan scan,
TableName tableName,
HConnection connection)
Create a new ReversibleClientScanner for the specified table Note that the
passed
Scan 's start row maybe changed. |
Modifier and Type | Method and Description |
---|---|
protected boolean |
checkScanStopRow(byte[] startKey) |
protected byte[] |
createClosestRowBefore(byte[] row)
Create the closest row before the specified row
|
protected ScannerCallable |
getScannerCallable(byte[] localStartKey,
int nbRows,
byte[] locateStartRow) |
protected boolean |
nextScanner(int nbRows,
boolean done) |
close, getConnection, getScan, getScannerCallable, getTable, getTableName, getTimestamp, initializeScannerInConstruction, next, writeScanMetrics
getScanMetrics, initScanMetrics, iterator, next
public ReversedClientScanner(org.apache.hadoop.conf.Configuration conf, Scan scan, TableName tableName, HConnection connection) throws IOException
Scan
's start row maybe changed.conf
- The Configuration
to use.scan
- Scan
to use in this scannertableName
- The table that we wish to scanconnection
- Connection identifying the clusterIOException
protected boolean nextScanner(int nbRows, boolean done) throws IOException
nextScanner
in class ClientScanner
IOException
protected ScannerCallable getScannerCallable(byte[] localStartKey, int nbRows, byte[] locateStartRow)
protected boolean checkScanStopRow(byte[] startKey)
checkScanStopRow
in class ClientScanner
protected byte[] createClosestRowBefore(byte[] row)
row
- Copyright © 2014 The Apache Software Foundation. All Rights Reserved.