@InterfaceAudience.Public @InterfaceStability.Evolving public class ReversedClientScanner extends ClientScanner
cache, caching, callable, caller, closed, currentRegion, lastNext, lastResult, maxScannerResultSize, rpcControllerFactory, scan, scanMetricsPublished, scannerTimeoutscanMetrics| 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, writeScanMetricsgetScanMetrics, initScanMetrics, iterator, nextpublic 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 clusterIOExceptionprotected boolean nextScanner(int nbRows,
boolean done)
throws IOException
nextScanner in class ClientScannerIOExceptionprotected ScannerCallable getScannerCallable(byte[] localStartKey, int nbRows, byte[] locateStartRow)
protected boolean checkScanStopRow(byte[] startKey)
checkScanStopRow in class ClientScannerprotected byte[] createClosestRowBefore(byte[] row)
row - Copyright © 2014 The Apache Software Foundation. All rights reserved.