@InterfaceAudience.Public @InterfaceStability.Evolving public class AsyncClientSmallReversedScanner extends AsyncReversedClientScanner
ReversedClientScannercaching, callable, caller, closed, currentRegion, lastNext, lastResult, maxScannerResultSize, scan, scanMetrics, scanMetricsPublished, scannerTimeout| Constructor and Description |
|---|
AsyncClientSmallReversedScanner(AsyncRpcClient client,
org.apache.hadoop.hbase.client.Scan scan,
org.apache.hadoop.hbase.TableName tableName)
Create a new ReversibleClientScanner for the specified table Note that the
passed
Scan's start row maybe changed. |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
<H extends ResponseHandler<org.apache.hadoop.hbase.client.Result[]>> |
nextBatch(H handler)
Get the default number of rows as set by "hbase.client.scanner.caching"
|
checkScanStopRow, createClosestRowBefore, getScannerCallable, nextScannergetScan, getScanMetrics, getScannerCallable, getTable, getTimestamp, initScanMetrics, isScanDone, setScanDone, writeScanMetricspublic AsyncClientSmallReversedScanner(AsyncRpcClient client, org.apache.hadoop.hbase.client.Scan scan, org.apache.hadoop.hbase.TableName tableName)
Scan's start row maybe changed.client - The AsyncRpcClient to use.scan - Scan to use in this scannertableName - The table that we wish to scanpublic <H extends ResponseHandler<org.apache.hadoop.hbase.client.Result[]>> H nextBatch(H handler)
AsyncResultScannernextBatch in interface AsyncResultScannernextBatch in class AsyncClientScannerhandler - to handle responsespublic void close()
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class AsyncClientScanner