@InterfaceAudience.Private public class ClientSideRegionScanner extends AbstractClientScanner
| Modifier and Type | Field and Description |
|---|---|
private static org.apache.commons.logging.Log |
LOG |
private HRegion |
region |
(package private) RegionScanner |
scanner |
(package private) List<Cell> |
values |
scanMetrics| Constructor and Description |
|---|
ClientSideRegionScanner(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path rootDir,
HTableDescriptor htd,
HRegionInfo hri,
Scan scan,
ScanMetrics scanMetrics) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the scanner and releases any resources it has allocated
|
Result |
next()
Grab the next row's worth of values.
|
boolean |
renewLease()
Allow the client to renew the scanner's lease on the server.
|
getScanMetrics, initScanMetrics, iterator, nextprivate static final org.apache.commons.logging.Log LOG
private HRegion region
RegionScanner scanner
public ClientSideRegionScanner(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path rootDir,
HTableDescriptor htd,
HRegionInfo hri,
Scan scan,
ScanMetrics scanMetrics)
throws IOException
IOExceptionpublic Result next() throws IOException
ResultScannerIOException - epublic void close()
ResultScannerpublic boolean renewLease()
AbstractClientScannerrenewLease in class AbstractClientScannerCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.