Package com.mapr.fs
Class MapRTabletScanner
- java.lang.Object
-
- com.mapr.fs.MapRTabletScanner
-
public class MapRTabletScanner extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description MapRTabletScanner(MapRFileSystem fs, org.apache.hadoop.fs.Path tableURI, byte[] startKey)MapRTabletScanner(MapRFileSystem fs, org.apache.hadoop.fs.Path tableURI, java.lang.String indexFid)MapRTabletScanner(MapRFileSystem fs, org.apache.hadoop.fs.Path tableURI, java.lang.String indexFid, boolean needSpaceUsage, boolean prefetchTabletMap)MapRTabletScanner(MapRFileSystem fs, org.apache.hadoop.fs.Path tableURI, java.lang.String indexFid, byte[] startKey)MapRTabletScanner(MapRFileSystem fs, org.apache.hadoop.fs.Path tableURI, java.lang.String indexFid, byte[] startKey, byte[] endKey, boolean needSpaceUsage)MapRTabletScanner(MapRFileSystem fs, org.apache.hadoop.fs.Path tableURI, java.lang.String indexFid, byte[] startKey, byte[] endKey, boolean needSpaceUsage, boolean prefetchTabletMap)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetTotal()booleanhasTotal()com.mapr.fs.proto.Dbserver.TabletDescnext()java.util.List<com.mapr.fs.proto.Dbserver.TabletDesc>nextSet()
-
-
-
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()
-
-