Package com.mapr.fs

Class 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 MapRHTable htable_  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()
      Closes the scanner and releases any resources it has allocated
      com.mapr.fs.jni.MapRResult nextRow()  
      com.mapr.fs.jni.MapRResult[] nextRows​(int nbRows)  
      protected void nextRows​(int nbRows, com.mapr.fs.jni.MapRResult[] res)  
      void releaseTempMemory()
      Used by AsyncHBase library.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.IOException
        Used 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:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable