Package com.mapr.fs

Class MapRTabletScanner


  • public class MapRTabletScanner
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getTotal()  
      boolean hasTotal()  
      com.mapr.fs.proto.Dbserver.TabletDesc next()  
      java.util.List<com.mapr.fs.proto.Dbserver.TabletDesc> nextSet()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MapRTabletScanner

        public MapRTabletScanner​(MapRFileSystem fs,
                                 org.apache.hadoop.fs.Path tableURI,
                                 java.lang.String indexFid)
                          throws java.io.IOException
        Throws:
        java.io.IOException
      • MapRTabletScanner

        public MapRTabletScanner​(MapRFileSystem fs,
                                 org.apache.hadoop.fs.Path tableURI,
                                 java.lang.String indexFid,
                                 boolean needSpaceUsage,
                                 boolean prefetchTabletMap)
                          throws java.io.IOException
        Throws:
        java.io.IOException
      • MapRTabletScanner

        public MapRTabletScanner​(MapRFileSystem fs,
                                 org.apache.hadoop.fs.Path tableURI,
                                 byte[] startKey)
                          throws java.io.IOException
        Throws:
        java.io.IOException
      • MapRTabletScanner

        public MapRTabletScanner​(MapRFileSystem fs,
                                 org.apache.hadoop.fs.Path tableURI,
                                 java.lang.String indexFid,
                                 byte[] startKey)
                          throws java.io.IOException
        Throws:
        java.io.IOException
      • MapRTabletScanner

        public MapRTabletScanner​(MapRFileSystem fs,
                                 org.apache.hadoop.fs.Path tableURI,
                                 java.lang.String indexFid,
                                 byte[] startKey,
                                 byte[] endKey,
                                 boolean needSpaceUsage)
                          throws java.io.IOException
        Throws:
        java.io.IOException
      • MapRTabletScanner

        public MapRTabletScanner​(MapRFileSystem fs,
                                 org.apache.hadoop.fs.Path tableURI,
                                 java.lang.String indexFid,
                                 byte[] startKey,
                                 byte[] endKey,
                                 boolean needSpaceUsage,
                                 boolean prefetchTabletMap)
                          throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • next

        public com.mapr.fs.proto.Dbserver.TabletDesc next()
                                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • nextSet

        public java.util.List<com.mapr.fs.proto.Dbserver.TabletDesc> nextSet()
                                                                      throws java.io.IOException
        Throws:
        java.io.IOException
      • getTotal

        public int getTotal()
      • hasTotal

        public boolean hasTotal()