Package com.mapr.cli.table
Class TabletStats
java.lang.Object
com.mapr.cli.table.TabletStats
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<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 tabletsList<com.mapr.fs.proto.Dbserver.TabletDesc>getTablets(com.mapr.cliframework.base.CommandOutput.OutputHierarchy out, int start, int limit, 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)
-
Constructor Details
-
TabletStats
-
-
Method Details
-
getTablets
public 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 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 List<com.mapr.fs.proto.Dbserver.TabletDesc> getTablets(com.mapr.cliframework.base.CommandOutput.OutputHierarchy out, int start, int limit, 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 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 InterruptedException, ExecutionException
-