com.baidubce.services.tablestoragehbaseclient.hbase
Class TablestorageTable.Scanner
java.lang.Object
org.apache.hadoop.hbase.client.AbstractClientScanner
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
| Fields inherited from class org.apache.hadoop.hbase.client.AbstractClientScanner |
scanMetrics |
|
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 |
TablestorageTable.Scanner
public TablestorageTable.Scanner(TableStorageAdaptor adaptor,
ExecutorService pool,
org.apache.hadoop.hbase.client.Scan scan,
String tableName)
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.