org.apache.hadoop.hbase.client
Class ClientSideRegionScanner
java.lang.Object
org.apache.hadoop.hbase.client.AbstractClientScanner
org.apache.hadoop.hbase.client.ClientSideRegionScanner
- All Implemented Interfaces:
- Closeable, Iterable<Result>, ResultScanner
@InterfaceAudience.Private
public class ClientSideRegionScanner
- extends AbstractClientScanner
A client scanner for a region opened for read-only on the client side. Assumes region data
is not changing.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClientSideRegionScanner
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
- Throws:
IOException
next
public Result next()
throws IOException
- Throws:
IOException
close
public void close()
renewLease
public boolean renewLease()
- Specified by:
renewLease
in class AbstractClientScanner
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.