public class TabletStats
extends java.lang.Object
| Constructor and Description |
|---|
TabletStats(java.lang.String path,
java.lang.String userId) |
| Modifier and Type | Method and 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) |
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
out - Output errorsstart - The tablet record to start fromlimit - The total amount of tablet records to retrieve. If 0, then gets allcom.mapr.cliframework.base.CLIProcessingExceptionpublic 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
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.com.mapr.cliframework.base.CLIProcessingExceptionpublic com.mapr.fs.proto.Dbserver.TabletStatResponse getTabletStatResponse(com.mapr.fs.proto.Dbserver.TabletDesc tablet)
throws java.lang.InterruptedException,
java.util.concurrent.ExecutionException
java.lang.InterruptedExceptionjava.util.concurrent.ExecutionException