Package com.mapr.cli.marlin
Class StreamReplicaCommands
- java.lang.Object
-
- com.mapr.cliframework.base.CLIBaseClass
-
- com.mapr.cli.DbReplicaCommands
-
- com.mapr.cli.marlin.StreamReplicaCommands
-
- All Implemented Interfaces:
com.mapr.baseutils.utils.AceHelper.DBPermission,com.mapr.cliframework.base.CLIInterface
public class StreamReplicaCommands extends DbReplicaCommands
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCOLUMNS_PARAM_NAMEstatic java.lang.StringLIMIT_PARAM_NAMEstatic java.lang.StringOUTPUT_PARAM_NAMEstatic com.mapr.cliframework.base.CLICommandreplicaCommandsstatic java.lang.StringSTART_PARAM_NAME
-
Constructor Summary
Constructors Constructor Description StreamReplicaCommands(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 voidaddReplica(com.mapr.cliframework.base.CommandOutput.OutputHierarchy out)protected voidautoSetup(com.mapr.cliframework.base.CommandOutput.OutputHierarchy out)protected voideditReplica(com.mapr.cliframework.base.CommandOutput.OutputHierarchy out)java.lang.StringentityName()com.mapr.cliframework.base.CommandOutputexecuteRealCommand()protected RecentTablesListManagergetRecentListManager(java.lang.String user)protected voidlistReplica(com.mapr.cliframework.base.CommandOutput.OutputHierarchy out)protected voidpauseOrResumeReplica(com.mapr.cliframework.base.CommandOutput.OutputHierarchy out, boolean pause)protected voidremoveReplica(com.mapr.cliframework.base.CommandOutput.OutputHierarchy out)-
Methods inherited from class com.mapr.cli.DbReplicaCommands
addCfQualifiers, addIncludeDataCfQualifiers, autoSetupInternal, changeLogSetup, copyTable, editChangelogReplica, famAttrsToFams, familyIdToName, familyIdToNameByColumnFamily, getAllFamilies, getCliParam, getCompressionName, getCompressionType, getTransformedTablePath, isChangelogDestination, isChangelogDestination, isExternalDestination, isExternalDestination, listChangelogReplica, listLogCompactionReplica, parseColList, parseStreamTopicName, pauseOrResumeChangelogReplica, pauseOrResumeReplication, pauseOrResumeReplication, removeChangelogReplica, setupMultiMaster, setupReplication, setupReplication, validateIndexedFields, validateTopicName, verifyExternalDstSanity, verifyExternalDstSanity, verifyStreamPath, verifyStreamPath
-
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
-
-
-
-
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
-
replicaCommands
public static final com.mapr.cliframework.base.CLICommand replicaCommands
-
-
Method Detail
-
entityName
public java.lang.String entityName()
- Overrides:
entityNamein classDbReplicaCommands
-
executeRealCommand
public com.mapr.cliframework.base.CommandOutput executeRealCommand() throws com.mapr.cliframework.base.CLIProcessingException- Overrides:
executeRealCommandin classDbReplicaCommands- Throws:
com.mapr.cliframework.base.CLIProcessingException
-
autoSetup
protected void autoSetup(com.mapr.cliframework.base.CommandOutput.OutputHierarchy out) throws com.mapr.cliframework.base.CLIProcessingException- Overrides:
autoSetupin classDbReplicaCommands- Throws:
com.mapr.cliframework.base.CLIProcessingException
-
addReplica
protected void addReplica(com.mapr.cliframework.base.CommandOutput.OutputHierarchy out) throws com.mapr.cliframework.base.CLIProcessingException- Overrides:
addReplicain classDbReplicaCommands- Throws:
com.mapr.cliframework.base.CLIProcessingException
-
listReplica
protected void listReplica(com.mapr.cliframework.base.CommandOutput.OutputHierarchy out) throws com.mapr.cliframework.base.CLIProcessingException- Overrides:
listReplicain classDbReplicaCommands- Throws:
com.mapr.cliframework.base.CLIProcessingException
-
editReplica
protected void editReplica(com.mapr.cliframework.base.CommandOutput.OutputHierarchy out) throws com.mapr.cliframework.base.CLIProcessingException- Overrides:
editReplicain classDbReplicaCommands- Throws:
com.mapr.cliframework.base.CLIProcessingException
-
removeReplica
protected void removeReplica(com.mapr.cliframework.base.CommandOutput.OutputHierarchy out) throws com.mapr.cliframework.base.CLIProcessingException- Overrides:
removeReplicain classDbReplicaCommands- Throws:
com.mapr.cliframework.base.CLIProcessingException
-
pauseOrResumeReplica
protected void pauseOrResumeReplica(com.mapr.cliframework.base.CommandOutput.OutputHierarchy out, boolean pause) throws com.mapr.cliframework.base.CLIProcessingException- Overrides:
pauseOrResumeReplicain classDbReplicaCommands- Throws:
com.mapr.cliframework.base.CLIProcessingException
-
getRecentListManager
protected RecentTablesListManager getRecentListManager(java.lang.String user)
- Overrides:
getRecentListManagerin classDbReplicaCommands
-
-