@InterfaceAudience.Private public class ClientSmallScanner extends ClientScanner
ClientScannercache, caching, callable, caller, closed, conf, currentRegion, lastNext, lastResult, maxScannerResultSize, pool, primaryOperationTimeout, rpcControllerFactory, scan, scanMetricsPublished, scannerTimeoutscanMetrics| Constructor and Description |
|---|
ClientSmallScanner(org.apache.hadoop.conf.Configuration conf,
Scan scan,
TableName tableName,
ClusterConnection connection,
RpcRetryingCallerFactory rpcFactory,
RpcControllerFactory controllerFactory,
ExecutorService pool,
int primaryOperationTimeout)
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()
Closes the scanner and releases any resources it has allocated
|
protected void |
initializeScannerInConstruction() |
Result |
next()
Grab the next row's worth of values.
|
checkScanStopRow, getCaching, getConf, getConnection, getPool, getPrimaryOperationTimeout, getRetries, getScan, getScannerCallable, getScannerTimeout, getTable, getTableName, getTimestamp, nextScanner, writeScanMetricsgetScanMetrics, initScanMetrics, iterator, nextpublic ClientSmallScanner(org.apache.hadoop.conf.Configuration conf,
Scan scan,
TableName tableName,
ClusterConnection connection,
RpcRetryingCallerFactory rpcFactory,
RpcControllerFactory controllerFactory,
ExecutorService pool,
int primaryOperationTimeout)
throws IOException
Scan's start row maybe changed changed.conf - The Configuration to use.scan - Scan to use in this scannertableName - The table that we wish to rangeGetconnection - Connection identifying the clusterrpcFactory - pool - primaryOperationTimeout - IOExceptionprotected void initializeScannerInConstruction()
throws IOException
initializeScannerInConstruction in class ClientScannerIOExceptionpublic Result next() throws IOException
ResultScannernext in interface ResultScannernext in class ClientScannerIOException - epublic void close()
ResultScannerclose in interface Closeableclose in interface AutoCloseableclose in interface ResultScannerclose in class ClientScannerCopyright © 2014 The Apache Software Foundation. All Rights Reserved.