Package com.mapr.fs

Class MapRResultScanner

java.lang.Object
com.mapr.fs.MapRResultScanner
All Implemented Interfaces:
Closeable, AutoCloseable

public class MapRResultScanner extends Object implements Closeable
  • Field Details

  • Constructor Details

    • 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 Details

    • nextRow

      public com.mapr.fs.jni.MapRResult nextRow() throws IOException
      Throws:
      IOException
    • nextRows

      public com.mapr.fs.jni.MapRResult[] nextRows(int nbRows) throws IOException
      Throws:
      IOException
    • nextRows

      protected void nextRows(int nbRows, com.mapr.fs.jni.MapRResult[] res) throws IOException
      Throws:
      IOException
    • releaseTempMemory

      public void releaseTempMemory() throws IOException
      Used by AsyncHBase library. Currently no-op after changes in scanner in changeSet 30570:141e965d2b77.
      Throws:
      IOException
    • close

      public void close()
      Closes the scanner and releases any resources it has allocated
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable