Package com.mapr.fs.hbase
Class ResultScannerImpl
java.lang.Object
com.mapr.fs.MapRResultScanner
com.mapr.fs.hbase.ResultScannerImpl
- All Implemented Interfaces:
Closeable,AutoCloseable,Iterable<org.apache.hadoop.hbase.client.Result>,org.apache.hadoop.hbase.client.ResultScanner
public class ResultScannerImpl
extends com.mapr.fs.MapRResultScanner
implements org.apache.hadoop.hbase.client.ResultScanner
-
Field Summary
Fields inherited from class com.mapr.fs.MapRResultScanner
htable_ -
Method Summary
Methods inherited from class com.mapr.fs.MapRResultScanner
close, nextRow, nextRows, nextRows, releaseTempMemoryMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface org.apache.hadoop.hbase.client.ResultScanner
close
-
Method Details
-
next
Grab the next row's worth of values. The scanner will return a Result.- Specified by:
nextin interfaceorg.apache.hadoop.hbase.client.ResultScanner- Returns:
- Result object if there is another row, null if the scanner is exhausted.
- Throws:
IOException- e
-
next
- Specified by:
nextin interfaceorg.apache.hadoop.hbase.client.ResultScanner- Parameters:
nbRows- number of rows to return- Returns:
- Between zero and nbRows Results
- Throws:
IOException- e
-
iterator
-
renewLease
public boolean renewLease()- Specified by:
renewLeasein interfaceorg.apache.hadoop.hbase.client.ResultScanner
-
getScanMetrics
public org.apache.hadoop.hbase.client.metrics.ScanMetrics getScanMetrics()- Specified by:
getScanMetricsin interfaceorg.apache.hadoop.hbase.client.ResultScanner
-