@InterfaceAudience.Public @InterfaceStability.Evolving public class AsyncClientSmallScanner extends AsyncClientScanner
ClientScannercaching, callable, caller, closed, currentRegion, lastNext, lastResult, maxScannerResultSize, scan, scanMetrics, scanMetricsPublished, scannerTimeout| Constructor and Description |
|---|
AsyncClientSmallScanner(AsyncRpcClient client,
org.apache.hadoop.hbase.client.Scan scan,
org.apache.hadoop.hbase.TableName tableName)
Create a new ShortClientScanner for the specified table Note that the
passed
Scan's start row maybe changed 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, getScan, getScanMetrics, getScannerCallable, getTable, getTimestamp, initScanMetrics, isScanDone, nextScanner, setScanDone, writeScanMetricspublic AsyncClientSmallScanner(AsyncRpcClient client, org.apache.hadoop.hbase.client.Scan scan, org.apache.hadoop.hbase.TableName tableName)
Scan's start row maybe changed 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