Package com.mapr.cli.table
Class TabletStats
- java.lang.Object
-
- com.mapr.cli.table.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 tabletsjava.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 tablecom.mapr.fs.proto.Dbserver.TabletStatResponsegetTabletStatResponse(com.mapr.fs.proto.Dbserver.TabletDesc tablet)
-
-
-
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.CLIProcessingExceptionMethod to get a list of all tablets- Parameters:
out- Output errorsstart- 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
- 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.CLIProcessingExceptionMethod to get a list of all tablets of a primary or an index table- Parameters:
out- Output errorsstart- The tablet record to start fromlimit- The total amount of tablet records to retrieve. If 0, then gets allindexFid- 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.InterruptedExceptionjava.util.concurrent.ExecutionException
-
-