Class TabletStats


  • public class TabletStats
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      TabletStats​(java.lang.String path, java.lang.String userId)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<com.mapr.fs.proto.Dbserver.TabletDesc> getTablets​(com.mapr.cliframework.base.CommandOutput.OutputHierarchy out, int start, int limit)
      Method to get a list of all tablets
      java.util.List<com.mapr.fs.proto.Dbserver.TabletDesc> getTablets​(com.mapr.cliframework.base.CommandOutput.OutputHierarchy out, int start, int limit, java.lang.String indexFid)
      Method to get a list of all tablets of a primary or an index table
      com.mapr.fs.proto.Dbserver.TabletStatResponse getTabletStatResponse​(com.mapr.fs.proto.Dbserver.TabletDesc tablet)  
      • Methods inherited from class java.lang.Object

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

      • TabletStats

        public TabletStats​(java.lang.String path,
                           java.lang.String userId)
    • Method Detail

      • getTablets

        public java.util.List<com.mapr.fs.proto.Dbserver.TabletDesc> getTablets​(com.mapr.cliframework.base.CommandOutput.OutputHierarchy out,
                                                                                int start,
                                                                                int limit)
                                                                         throws com.mapr.cliframework.base.CLIProcessingException
        Method to get a list of all tablets
        Parameters:
        out - Output errors
        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
        Throws:
        com.mapr.cliframework.base.CLIProcessingException
      • getTablets

        public java.util.List<com.mapr.fs.proto.Dbserver.TabletDesc> getTablets​(com.mapr.cliframework.base.CommandOutput.OutputHierarchy out,
                                                                                int start,
                                                                                int limit,
                                                                                java.lang.String indexFid)
                                                                         throws com.mapr.cliframework.base.CLIProcessingException
        Method to get a list of all tablets of a primary or an index table
        Parameters:
        out - Output errors
        start - The tablet record to start from
        limit - The total amount of tablet records to retrieve. If 0, then gets all
        indexFid - The fid of the index table whose tablets are to be listed. If this is not null, then only the index table's tablets will be listed.
        Returns:
        A list of all tablet items
        Throws:
        com.mapr.cliframework.base.CLIProcessingException
      • getTabletStatResponse

        public com.mapr.fs.proto.Dbserver.TabletStatResponse getTabletStatResponse​(com.mapr.fs.proto.Dbserver.TabletDesc tablet)
                                                                            throws java.lang.InterruptedException,
                                                                                   java.util.concurrent.ExecutionException
        Throws:
        java.lang.InterruptedException
        java.util.concurrent.ExecutionException