public class Heatmap extends ListCommand implements com.mapr.cliframework.base.CLIInterface
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
FILTER_PARAM_NAME |
static com.mapr.cliframework.base.CLICommand |
heatmapCmds |
static java.lang.String |
VIEW_PARAM_NAME |
| Constructor and Description |
|---|
Heatmap(com.mapr.cliframework.base.ProcessedInput input,
com.mapr.cliframework.base.CLICommand cliCommand) |
| Modifier and Type | Method and Description |
|---|---|
com.mapr.fs.cldb.proto.CLDBProto.FileServerListRequest |
buildNextRequest(com.google.protobuf.MessageLite prevReq,
com.google.protobuf.MessageLite prevResp)
Builds the next request object by inspecting the previous request and previous response.
|
com.mapr.cliframework.base.CommandOutput |
executeRealCommand() |
boolean |
hasMore(com.google.protobuf.MessageLite prevReq,
com.google.protobuf.MessageLite prevResp)
Inspect the last request and last response to see if there are more records to be fetched.
|
void |
processResponse(com.mapr.cliframework.base.CommandOutput.OutputHierarchy out,
com.google.protobuf.MessageLite response)
Parse the response and populate the output hierarchy.
|
com.mapr.fs.cldb.proto.CLDBProto.FileServerListResponse |
sendRequest(com.google.protobuf.MessageLite request)
Send the request using RPC and fetch the response.
|
getFilters, getNextLimiter, hasMore, listexecuteCommand, executeSimpleSHHCommand, executeSimpleSHHCommand, getCLICommand, getCommandUsage, getGIds, getInput, getKeyType, getParamBooleanValue, getParamDateValue, getParamIntValue, getParamLongValue, getParamObjectValue, getParamTextValue, getUserCredentials, getUserId, getUserLoginId, getVersion, isParamPresent, isParamValueEmpty, setServerCall, setUserCredentials, setVersion, validateInputpublic static final java.lang.String VIEW_PARAM_NAME
public static final java.lang.String FILTER_PARAM_NAME
public static final com.mapr.cliframework.base.CLICommand heatmapCmds
public Heatmap(com.mapr.cliframework.base.ProcessedInput input,
com.mapr.cliframework.base.CLICommand cliCommand)
public com.mapr.cliframework.base.CommandOutput executeRealCommand()
throws com.mapr.cliframework.base.CLIProcessingException
executeRealCommand in class com.mapr.cliframework.base.CLIBaseClasscom.mapr.cliframework.base.CLIProcessingExceptionpublic com.mapr.fs.cldb.proto.CLDBProto.FileServerListRequest buildNextRequest(com.google.protobuf.MessageLite prevReq,
com.google.protobuf.MessageLite prevResp)
throws com.mapr.cliframework.base.CLIProcessingException
ListIteratorbuildNextRequest in interface ListIteratorbuildNextRequest in class ListCommandcom.mapr.cliframework.base.CLIProcessingExceptionpublic boolean hasMore(com.google.protobuf.MessageLite prevReq,
com.google.protobuf.MessageLite prevResp)
throws com.mapr.cliframework.base.CLIProcessingException
ListIteratorhasMore in interface ListIteratorhasMore in class ListCommandcom.mapr.cliframework.base.CLIProcessingExceptionpublic void processResponse(com.mapr.cliframework.base.CommandOutput.OutputHierarchy out,
com.google.protobuf.MessageLite response)
throws com.mapr.cliframework.base.CLIProcessingException
ListIteratorprocessResponse in interface ListIteratorprocessResponse in class ListCommandout - - CommandOutput.OutputHierarchyresponse - - response objectcom.mapr.cliframework.base.CLIProcessingExceptionpublic com.mapr.fs.cldb.proto.CLDBProto.FileServerListResponse sendRequest(com.google.protobuf.MessageLite request)
throws com.mapr.cliframework.base.CLIProcessingException
ListIteratorsendRequest in interface ListIteratorsendRequest in class ListCommandrequest - - request object.com.mapr.cliframework.base.CLIProcessingException