Package com.mapr.cli
Class InsightCommands
- java.lang.Object
-
- com.mapr.cliframework.base.CLIBaseClass
-
- com.mapr.cli.InsightCommands
-
- All Implemented Interfaces:
com.mapr.cliframework.base.CLIInterface
public class InsightCommands extends com.mapr.cliframework.base.CLIBaseClass implements com.mapr.cliframework.base.CLIInterface
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringENABLE_PARAMstatic java.lang.StringINSIGHT_PARAMstatic java.lang.StringINSIGHT_USAGEstatic com.mapr.cliframework.base.CLICommandinsightCommandsstatic intMAX_CHARS_COUNTstatic java.lang.StringMODE_USAGEstatic java.lang.StringNODES_PARAMstatic java.lang.StringPURGE_PARAMstatic java.lang.StringPURGE_USAGEstatic com.mapr.cliframework.base.CLICommandpurgeCommandstatic java.lang.StringRETENTION_DAYS_PARAMstatic java.lang.StringSETCONFIG_PARAMstatic java.lang.StringSETCONFIG_USAGEstatic com.mapr.cliframework.base.CLICommandsetConfigCommandstatic java.lang.StringSTATUS_PARAMstatic java.lang.StringSTATUS_USAGEstatic com.mapr.cliframework.base.CLICommandstatusCommandstatic java.lang.StringTRIALMODE_PARAMstatic java.lang.StringTYPE_PARAM
-
Constructor Summary
Constructors Constructor Description InsightCommands(com.mapr.cliframework.base.ProcessedInput input, com.mapr.cliframework.base.CLICommand cliCommand)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.lang.StringepochMillisToStr(long epochTimeMillis)com.mapr.cliframework.base.CommandOutputexecuteRealCommand()-
Methods inherited from class com.mapr.cliframework.base.CLIBaseClass
executeCommand, executeSimpleSHHCommand, executeSimpleSHHCommand, getBooleanParam, getCLICommand, getCommandUsage, getGIds, getInput, getKeyType, getParamBooleanValue, getParamDateValue, getParamIntValue, getParamLongValue, getParamObjectValue, getParamTextValue, getUserClusterOps, getUserCredentials, getUserId, getUserLoginId, getVersion, isParamPresent, isParamValueEmpty, setServerCall, setUserClusterOps, setUserCredentials, setUserCredentialsByJwt, setVersion, skipValidation, validateInput
-
-
-
-
Field Detail
-
MAX_CHARS_COUNT
public static final int MAX_CHARS_COUNT
- See Also:
- Constant Field Values
-
INSIGHT_PARAM
public static final java.lang.String INSIGHT_PARAM
- See Also:
- Constant Field Values
-
SETCONFIG_PARAM
public static final java.lang.String SETCONFIG_PARAM
- See Also:
- Constant Field Values
-
STATUS_PARAM
public static final java.lang.String STATUS_PARAM
- See Also:
- Constant Field Values
-
PURGE_PARAM
public static final java.lang.String PURGE_PARAM
- See Also:
- Constant Field Values
-
ENABLE_PARAM
public static final java.lang.String ENABLE_PARAM
- See Also:
- Constant Field Values
-
TRIALMODE_PARAM
public static final java.lang.String TRIALMODE_PARAM
- See Also:
- Constant Field Values
-
NODES_PARAM
public static final java.lang.String NODES_PARAM
- See Also:
- Constant Field Values
-
TYPE_PARAM
public static final java.lang.String TYPE_PARAM
- See Also:
- Constant Field Values
-
RETENTION_DAYS_PARAM
public static final java.lang.String RETENTION_DAYS_PARAM
- See Also:
- Constant Field Values
-
INSIGHT_USAGE
public static final java.lang.String INSIGHT_USAGE
- See Also:
- Constant Field Values
-
SETCONFIG_USAGE
public static final java.lang.String SETCONFIG_USAGE
- See Also:
- Constant Field Values
-
STATUS_USAGE
public static final java.lang.String STATUS_USAGE
- See Also:
- Constant Field Values
-
PURGE_USAGE
public static final java.lang.String PURGE_USAGE
- See Also:
- Constant Field Values
-
MODE_USAGE
public static final java.lang.String MODE_USAGE
- See Also:
- Constant Field Values
-
setConfigCommand
public static final com.mapr.cliframework.base.CLICommand setConfigCommand
-
statusCommand
public static final com.mapr.cliframework.base.CLICommand statusCommand
-
purgeCommand
public static final com.mapr.cliframework.base.CLICommand purgeCommand
-
insightCommands
public static final com.mapr.cliframework.base.CLICommand insightCommands
-
-
Method Detail
-
executeRealCommand
public com.mapr.cliframework.base.CommandOutput executeRealCommand() throws com.mapr.cliframework.base.CLIProcessingException- Specified by:
executeRealCommandin classcom.mapr.cliframework.base.CLIBaseClass- Throws:
com.mapr.cliframework.base.CLIProcessingException
-
epochMillisToStr
public static java.lang.String epochMillisToStr(long epochTimeMillis)
-
-