Package com.mapr.fs.tables
Class TabletStats
java.lang.Object
com.mapr.fs.tables.TabletStats
-
Constructor Summary
ConstructorsConstructorDescriptionTabletStats(MapRFileSystem fs, org.apache.hadoop.fs.Path path) TabletStats(MapRFileSystem fs, org.apache.hadoop.fs.Path path, String indexFid) -
Method Summary
Modifier and TypeMethodDescriptionlongMethod to get estimated total number of rows in the tableList<com.mapr.fs.proto.Dbserver.TabletDesc>getTablets(int start, int limit) Method to get a list of all tabletscom.mapr.fs.proto.Dbserver.TabletStatResponsegetTabletStatResponse(com.mapr.fs.proto.Dbserver.TabletDesc tablet)
-
Constructor Details
-
TabletStats
-
TabletStats
-
-
Method Details
-
getNumTablets
public long getNumTablets()Method to get estimated total number of rows in the table- Returns:
- Estimated total number of rows in the table
-
getTablets
Method to get a list of all tablets- Parameters:
start- The tablet record to start fromlimit- The total amount of tablet records to retrieve. If 0, then gets all.- Returns:
- A list of all tablet items
-
getTabletStatResponse
public com.mapr.fs.proto.Dbserver.TabletStatResponse getTabletStatResponse(com.mapr.fs.proto.Dbserver.TabletDesc tablet) throws InterruptedException, ExecutionException
-