Class TabletStats

java.lang.Object
com.mapr.fs.tables.TabletStats

public class TabletStats extends Object
  • Constructor Details

    • TabletStats

      public TabletStats(MapRFileSystem fs, org.apache.hadoop.fs.Path path)
    • TabletStats

      public TabletStats(MapRFileSystem fs, org.apache.hadoop.fs.Path path, String indexFid)
  • 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

      public List<com.mapr.fs.proto.Dbserver.TabletDesc> getTablets(int start, int limit)
      Method to get a list of all tablets
      Parameters:
      start - The tablet record to start from
      limit - 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
      Throws:
      InterruptedException
      ExecutionException