Class StreamUpstreamCommands

  • All Implemented Interfaces:
    com.mapr.cliframework.base.CLIInterface

    public class StreamUpstreamCommands
    extends DbUpstreamCommands
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String COLUMNS_PARAM_NAME  
      static java.lang.String LIMIT_PARAM_NAME  
      static java.lang.String OUTPUT_PARAM_NAME  
      static java.lang.String START_PARAM_NAME  
      static com.mapr.cliframework.base.CLICommand upstreamCommands  
      • Fields inherited from class com.mapr.cliframework.base.CLIBaseClass

        cliCommand, CLUSTER_NAME_PARAM, clusterParams, HELP_PARAM, input, isServerCall, NOT_REQUIRED, output, REQUIRED, userInfo, version
      • Fields inherited from interface com.mapr.cliframework.base.CLIInterface

        PASSWORD_PREFIX
    • Constructor Summary

      Constructors 
      Constructor Description
      StreamUpstreamCommands​(com.mapr.cliframework.base.ProcessedInput input, com.mapr.cliframework.base.CLICommand cliCommand)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void addUpstream​(com.mapr.cliframework.base.CommandOutput.OutputHierarchy out)  
      java.lang.String entityName()  
      com.mapr.cliframework.base.CommandOutput executeRealCommand()  
      protected RecentTablesListManager getRecentListManager​(java.lang.String user)  
      protected void listUpstream​(com.mapr.cliframework.base.CommandOutput.OutputHierarchy out)  
      protected void removeUpstream​(com.mapr.cliframework.base.CommandOutput.OutputHierarchy out)  
      • Methods inherited from class com.mapr.cliframework.base.CLIBaseClass

        executeCommand, executeSimpleSHHCommand, executeSimpleSHHCommand, getCLICommand, getCommandUsage, getGIds, getInput, getKeyType, getParamBooleanValue, getParamDateValue, getParamIntValue, getParamLongValue, getParamObjectValue, getParamTextValue, getUserCredentials, getUserId, getUserLoginId, getVersion, isParamPresent, isParamValueEmpty, setServerCall, setUserCredentials, setVersion, validateInput
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface com.mapr.cliframework.base.CLIInterface

        executeCommand, getCLICommand, getGIds, getUserId, getUserLoginId, setServerCall, setUserCredentials, setVersion, validateInput
    • Field Detail

      • COLUMNS_PARAM_NAME

        public static final java.lang.String COLUMNS_PARAM_NAME
        See Also:
        Constant Field Values
      • OUTPUT_PARAM_NAME

        public static final java.lang.String OUTPUT_PARAM_NAME
        See Also:
        Constant Field Values
      • START_PARAM_NAME

        public static final java.lang.String START_PARAM_NAME
        See Also:
        Constant Field Values
      • LIMIT_PARAM_NAME

        public static final java.lang.String LIMIT_PARAM_NAME
        See Also:
        Constant Field Values
      • upstreamCommands

        public static final com.mapr.cliframework.base.CLICommand upstreamCommands
    • Constructor Detail

      • StreamUpstreamCommands

        public StreamUpstreamCommands​(com.mapr.cliframework.base.ProcessedInput input,
                                      com.mapr.cliframework.base.CLICommand cliCommand)
    • Method Detail

      • executeRealCommand

        public com.mapr.cliframework.base.CommandOutput executeRealCommand()
                                                                    throws com.mapr.cliframework.base.CLIProcessingException
        Overrides:
        executeRealCommand in class DbUpstreamCommands
        Throws:
        com.mapr.cliframework.base.CLIProcessingException
      • addUpstream

        protected void addUpstream​(com.mapr.cliframework.base.CommandOutput.OutputHierarchy out)
                            throws com.mapr.cliframework.base.CLIProcessingException
        Overrides:
        addUpstream in class DbUpstreamCommands
        Throws:
        com.mapr.cliframework.base.CLIProcessingException
      • listUpstream

        protected void listUpstream​(com.mapr.cliframework.base.CommandOutput.OutputHierarchy out)
                             throws com.mapr.cliframework.base.CLIProcessingException
        Overrides:
        listUpstream in class DbUpstreamCommands
        Throws:
        com.mapr.cliframework.base.CLIProcessingException
      • removeUpstream

        protected void removeUpstream​(com.mapr.cliframework.base.CommandOutput.OutputHierarchy out)
                               throws com.mapr.cliframework.base.CLIProcessingException
        Overrides:
        removeUpstream in class DbUpstreamCommands
        Throws:
        com.mapr.cliframework.base.CLIProcessingException