org.apache.hadoop.hbase.client
Class ClientSideRegionScanner

java.lang.Object
  extended by org.apache.hadoop.hbase.client.AbstractClientScanner
      extended by 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.


Field Summary
 
Fields inherited from class org.apache.hadoop.hbase.client.AbstractClientScanner
scanMetrics
 
Constructor Summary
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)
           
 
Method Summary
 void close()
           
 Result next()
           
 boolean renewLease()
           
 
Methods inherited from class org.apache.hadoop.hbase.client.AbstractClientScanner
getScanMetrics, initScanMetrics, iterator, next
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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
Method Detail

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.