com.baidubce.services.tablestoragehbaseclient.hbase
Class TablestorageTable.Scanner

java.lang.Object
  extended by org.apache.hadoop.hbase.client.AbstractClientScanner
      extended by com.baidubce.services.tablestoragehbaseclient.hbase.TablestorageTable.Scanner
All Implemented Interfaces:
Closeable, Iterable<org.apache.hadoop.hbase.client.Result>, org.apache.hadoop.hbase.client.ResultScanner
Enclosing class:
TablestorageTable

public class TablestorageTable.Scanner
extends org.apache.hadoop.hbase.client.AbstractClientScanner


Field Summary
 
Fields inherited from class org.apache.hadoop.hbase.client.AbstractClientScanner
scanMetrics
 
Constructor Summary
TablestorageTable.Scanner(TableStorageAdaptor adaptor, ExecutorService pool, org.apache.hadoop.hbase.client.Scan scan, String tableName)
           
 
Method Summary
 void close()
           
 org.apache.hadoop.hbase.client.Result next()
           
 org.apache.hadoop.hbase.client.Result[] next(int nbRows)
           
 boolean renewLease()
           
 
Methods inherited from class org.apache.hadoop.hbase.client.AbstractClientScanner
getScanMetrics, initScanMetrics, iterator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TablestorageTable.Scanner

public TablestorageTable.Scanner(TableStorageAdaptor adaptor,
                                 ExecutorService pool,
                                 org.apache.hadoop.hbase.client.Scan scan,
                                 String tableName)
Method Detail

next

public org.apache.hadoop.hbase.client.Result next()
                                           throws IOException
Throws:
IOException

next

public org.apache.hadoop.hbase.client.Result[] next(int nbRows)
                                             throws IOException
Specified by:
next in interface org.apache.hadoop.hbase.client.ResultScanner
Overrides:
next in class org.apache.hadoop.hbase.client.AbstractClientScanner
Throws:
IOException

close

public void close()

renewLease

public boolean renewLease()
Specified by:
renewLease in class org.apache.hadoop.hbase.client.AbstractClientScanner


Copyright © 2020. All rights reserved.