Package com.mapr.fs
Class MapRResultScanner
- java.lang.Object
-
- com.mapr.fs.MapRResultScanner
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable
public class MapRResultScanner extends java.lang.Object implements java.io.Closeable
-
-
Field Summary
Fields Modifier and Type Field Description protected MapRHTablehtable_
-
Constructor Summary
Constructors Constructor Description MapRResultScanner(com.mapr.fs.jni.MapRScan scan, MapRHTable htable)MapRResultScanner(com.mapr.fs.jni.MapRScan scan, MapRHTable htable, long id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Closes the scanner and releases any resources it has allocatedcom.mapr.fs.jni.MapRResultnextRow()com.mapr.fs.jni.MapRResult[]nextRows(int nbRows)protected voidnextRows(int nbRows, com.mapr.fs.jni.MapRResult[] res)voidreleaseTempMemory()Used by AsyncHBase library.
-
-
-
Field Detail
-
htable_
protected MapRHTable htable_
-
-
Constructor Detail
-
MapRResultScanner
public MapRResultScanner(com.mapr.fs.jni.MapRScan scan, MapRHTable htable, long id)
-
MapRResultScanner
public MapRResultScanner(com.mapr.fs.jni.MapRScan scan, MapRHTable htable)
-
-
Method Detail
-
nextRow
public com.mapr.fs.jni.MapRResult nextRow() throws java.io.IOException- Throws:
java.io.IOException
-
nextRows
public com.mapr.fs.jni.MapRResult[] nextRows(int nbRows) throws java.io.IOException- Throws:
java.io.IOException
-
nextRows
protected void nextRows(int nbRows, com.mapr.fs.jni.MapRResult[] res) throws java.io.IOException- Throws:
java.io.IOException
-
releaseTempMemory
public void releaseTempMemory() throws java.io.IOExceptionUsed by AsyncHBase library. Currently no-op after changes in scanner in changeSet 30570:141e965d2b77.- Throws:
java.io.IOException
-
close
public void close()
Closes the scanner and releases any resources it has allocated- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable
-
-