@InterfaceAudience.Private public class ClientSideRegionScanner extends AbstractClientScanner
scanMetrics| Constructor and Description |
|---|
ClientSideRegionScanner(Configuration conf,
FileSystem 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, nextpublic ClientSideRegionScanner(Configuration conf,
FileSystem fs,
Path rootDir,
HTableDescriptor htd,
HRegionInfo hri,
Scan scan,
ScanMetrics scanMetrics)
throws java.io.IOException
java.io.IOExceptionpublic Result next() throws java.io.IOException
ResultScannerjava.io.IOException - epublic void close()
ResultScannerpublic boolean renewLease()
AbstractClientScannerrenewLease in class AbstractClientScanner