Package com.mapr.cli
Class ClusterGroupCommands
java.lang.Object
com.mapr.cliframework.base.CLIBaseClass
com.mapr.cli.common.ListCommand
com.mapr.cli.ClusterGroupCommands
- All Implemented Interfaces:
ListIterator,com.mapr.cliframework.base.CLIInterface
public class ClusterGroupCommands
extends ListCommand
implements com.mapr.cliframework.base.CLIInterface
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final com.mapr.cliframework.base.CLICommandstatic final Stringstatic final com.mapr.cliframework.base.CLICommand[]static final Stringstatic final com.mapr.cliframework.base.CLICommandstatic final com.mapr.cliframework.base.CLICommandstatic final Stringstatic final com.mapr.cliframework.base.CLICommandstatic final Stringstatic final com.mapr.cliframework.base.CLICommandstatic final Stringstatic final com.mapr.cliframework.base.CLICommandstatic final Stringstatic final com.mapr.cliframework.base.CLICommandstatic final Stringstatic final com.mapr.cliframework.base.CLICommandstatic final Stringstatic final com.mapr.cliframework.base.CLICommandstatic final Stringstatic final com.mapr.cliframework.base.CLICommandstatic final Stringstatic final com.mapr.cliframework.base.CLICommandstatic final Stringstatic final com.mapr.cliframework.base.CLICommandstatic final Stringstatic final com.mapr.cliframework.base.CLICommandstatic final com.mapr.cliframework.base.CLICommandstatic final Stringstatic final com.mapr.cliframework.base.CLICommandstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic Map<com.mapr.fs.cldb.proto.CLDBProto.ClusterGroupConfInfoFields,com.mapr.cliframework.util.FieldInfo> static final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class com.mapr.cliframework.base.CLIBaseClass
cliCommand, CLUSTER_NAME_PARAM, clusterParams, HELP_PARAM, input, isServerCall, NOT_REQUIRED, output, REQUIRED, userInfo, versionFields inherited from interface com.mapr.cliframework.base.CLIInterface
KEY_PREFIX, PASSWORD_PREFIX -
Constructor Summary
ConstructorsConstructorDescriptionClusterGroupCommands(com.mapr.cliframework.base.ProcessedInput input, com.mapr.cliframework.base.CLICommand cliCommand) -
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.MessageLitebuildNextRequest(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.CommandOutputbooleanhasMore(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.voidprocessResponse(com.mapr.cliframework.base.CommandOutput.OutputHierarchy out, com.google.protobuf.MessageLite response) Parse the response and populate the output hierarchy.com.google.protobuf.MessageLitesendRequest(com.google.protobuf.MessageLite request) Send the request using RPC and fetch the response.Methods inherited from class com.mapr.cli.common.ListCommand
getFilters, getNextLimiter, hasMore, listMethods 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, validateInputMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.mapr.cliframework.base.CLIInterface
executeCommand, getCLICommand, getGIds, getUserId, getUserLoginId, setServerCall, setUserCredentials, setUserCredentialsByJwt, setVersion, validateInput
-
Field Details
-
CONF_FILE
- See Also:
-
TICKET_FILE
- See Also:
-
TMP_CONF_FILE
- See Also:
-
TMP_TICKET_FILE
- See Also:
-
NFS_EXPORT_FILE
- See Also:
-
CLUSTERGROUP_COMMAND_SETPRIMARY
- See Also:
-
CLUSTERGROUP_COMMAND_UPDATEPRIMARY
- See Also:
-
CLUSTERGROUP_COMMAND_LIST
- See Also:
-
CLUSTERGROUP_COMMAND_GET_CG_TABLE
- See Also:
-
CLUSTERGROUP_COMMAND_REMOVE
- See Also:
-
CLUSTERGROUP_COMMAND_ADD_EXTERNAL
- See Also:
-
CLUSTERGROUP_COMMAND_UPDATE_S3_USER
- See Also:
-
CLUSTERGROUP_COMMAND_SETUPGRADE
- See Also:
-
CLUSTERGROUP_COMMAND_SHOW_CLUSTER_CERT
- See Also:
-
CLUSTERGROUP_COMMAND_FETCH_CHAIN_CA
- See Also:
-
CLUSTERGROUP_COMMAND_GET_NFS_EXPORTS
- See Also:
-
CLUSTERGROUP_COMMAND_GENERATE_CLUSTER_CONF
- See Also:
-
CLUSTERGROUP_COMMAND_S3GNS
- See Also:
-
CLUSTERGROUP_COMMAND_RESTORE_TABLE
- See Also:
-
CLUSTERGROUP_COMMAND_GLOBALPOLICYIAM
- See Also:
-
TABLEPATH_PARAM
- See Also:
-
ALLTABLES_PARAM
- See Also:
-
RESTORE_FORCE_PARAM
- See Also:
-
CLUSTERNAME_PARAM
- See Also:
-
ALLCLUSTERS_PARAM
- See Also:
-
SHOW_PRIMARY_PARAM
- See Also:
-
CLDBIPS_PARAM
- See Also:
-
CLDBEXTIPS_PARAM
- See Also:
-
APIIPS_PARAM
- See Also:
-
COLUMNS_PARAM_NAME
- See Also:
-
CROSSCLUSTER_TICKET_PARAM
- See Also:
-
CCTK_FILEPATH_PARAM
- See Also:
-
EXTERNAL_SERVER_TYPE_PARAM
- See Also:
-
EXTERNAL_SERVER_NAME_PARAM
- See Also:
-
EXTERNAL_SERVER_IPS_PARAM
- See Also:
-
EXTERNAL_SERVER_IPS_SKIP_CHECK
- See Also:
-
EXTERNAL_SERVER_ACCESSKEY_PARAM
- See Also:
-
EXTERNAL_SERVER_SECRETEKEY_PARAM
- See Also:
-
EXTERNAL_SERVER_S3VENDOR
- See Also:
-
EXTERNAL_SERVER_AWSREGION
- See Also:
-
EXTERNAL_SERVER_GCPREGION
- See Also:
-
EXTERNAL_SERVER_AWS_WEBIDROLE_ARN
- See Also:
-
EXTERNAL_SERVER_S3TLS
- See Also:
-
EXTERNAL_SERVER_S3CERT
- See Also:
-
EXTERNAL_SERVER_S3CERTPATH
- See Also:
-
EXTERNAL_SERVER_S3PORT
- See Also:
-
EXTERNAL_SERVER_S3PROTO
- See Also:
-
EXTERNAL_SERVER_S3_ACCESSORUSERS
- See Also:
-
EXTERNAL_SERVER_S3_ACCESSORGROUPS
- See Also:
-
EXTERNAL_SERVER_S3_OWNER
- See Also:
-
EXTERNAL_SERVER_S3_USER_ACTION
- See Also:
-
FILTER_PARAM_NAME
- See Also:
-
SORTBY_PARAM_NAME
- See Also:
-
SORTING_ORDER_PARAM_NAME
- See Also:
-
ASCENDING_SORTING_ORDER_PARAM_NAME
- See Also:
-
DESCENDING_SORTING_ORDER_PARAM_NAME
- See Also:
-
SORT_DIRECTION_PARAM_NAME
- See Also:
-
OUTPUT_PARAM_NAME
- See Also:
-
START_PARAM_NAME
- See Also:
-
LIMIT_PARAM_NAME
- See Also:
-
LICENSE_INFO_PARAM_NAME
- See Also:
-
clusterGroupCommandsUsage
- See Also:
-
ClusterGroupSetPrimaryUsage
- See Also:
-
ClusterGroupUpdatePrimaryUsage
- See Also:
-
ClusterGroupRemoveUsage
- See Also:
-
ClusterGroupListUsage
- See Also:
-
ClusterGroupGetCgTableUsage
- See Also:
-
ClusterGroupGenerateClusterConfUsage
- See Also:
-
ClusterGroupSetUpgradeUsage
- See Also:
-
ClusterGroupAddExternalUsage
- See Also:
-
ClusterGroupGetNfsExportsUsage
- See Also:
-
ClusterGroupUpdateS3UserUsage
- See Also:
-
ClusterGroupS3GNSUsage
- See Also:
-
ClusterGroupGlobalIAMPolicyServerUsage
- See Also:
-
baseParams
-
fieldTable
public static Map<com.mapr.fs.cldb.proto.CLDBProto.ClusterGroupConfInfoFields,com.mapr.cliframework.util.FieldInfo> fieldTable -
ClusterGroupSetPrimaryCommand
public static final com.mapr.cliframework.base.CLICommand ClusterGroupSetPrimaryCommand -
ClusterGroupUpdatePrimaryCommand
public static final com.mapr.cliframework.base.CLICommand ClusterGroupUpdatePrimaryCommand -
ClusterGroupS3Command
public static final com.mapr.cliframework.base.CLICommand ClusterGroupS3Command -
ClusterGroupGlobalIAMPolicyServerCommand
public static final com.mapr.cliframework.base.CLICommand ClusterGroupGlobalIAMPolicyServerCommand -
ClusterGroupRemoveCommand
public static final com.mapr.cliframework.base.CLICommand ClusterGroupRemoveCommand -
ClusterGroupAddExternalCommand
public static final com.mapr.cliframework.base.CLICommand ClusterGroupAddExternalCommand -
ClusterGroupGetCgTableCommand
public static final com.mapr.cliframework.base.CLICommand ClusterGroupGetCgTableCommand -
ClusterGroupSetUpgradeCommand
public static final com.mapr.cliframework.base.CLICommand ClusterGroupSetUpgradeCommand -
ClusterGroupShowClusterCertCommand
public static final com.mapr.cliframework.base.CLICommand ClusterGroupShowClusterCertCommand -
ClusterGroupFetchChainCaCommand
public static final com.mapr.cliframework.base.CLICommand ClusterGroupFetchChainCaCommand -
ClusterGroupGenerateClusterConfCommand
public static final com.mapr.cliframework.base.CLICommand ClusterGroupGenerateClusterConfCommand -
ClusterGroupListCommand
public static final com.mapr.cliframework.base.CLICommand ClusterGroupListCommand -
ClusterGroupGetNfsExportsCommand
public static final com.mapr.cliframework.base.CLICommand ClusterGroupGetNfsExportsCommand -
ClusterGroupUpdateS3UserCommand
public static final com.mapr.cliframework.base.CLICommand ClusterGroupUpdateS3UserCommand -
ClusterGroupRestoreTableUsage
- See Also:
-
ClusterGroupRestoreTableCommand
public static final com.mapr.cliframework.base.CLICommand ClusterGroupRestoreTableCommand -
clusterGroupCommands
public static final com.mapr.cliframework.base.CLICommand[] clusterGroupCommands
-
-
Constructor Details
-
ClusterGroupCommands
public ClusterGroupCommands(com.mapr.cliframework.base.ProcessedInput input, com.mapr.cliframework.base.CLICommand cliCommand)
-
-
Method Details
-
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
-
processResponse
public void processResponse(com.mapr.cliframework.base.CommandOutput.OutputHierarchy out, com.google.protobuf.MessageLite response) throws com.mapr.cliframework.base.CLIProcessingException Description copied from interface:ListIteratorParse the response and populate the output hierarchy.- Specified by:
processResponsein interfaceListIterator- Specified by:
processResponsein classListCommand- Parameters:
out- -CommandOutput.OutputHierarchyresponse- - response object- Throws:
com.mapr.cliframework.base.CLIProcessingException
-
sendRequest
public com.google.protobuf.MessageLite sendRequest(com.google.protobuf.MessageLite request) throws com.mapr.cliframework.base.CLIProcessingException Description copied from interface:ListIteratorSend the request using RPC and fetch the response.- Specified by:
sendRequestin interfaceListIterator- Specified by:
sendRequestin classListCommand- Parameters:
request- - request object.- Returns:
- - the response object.
- Throws:
com.mapr.cliframework.base.CLIProcessingException
-
buildNextRequest
public com.google.protobuf.MessageLite buildNextRequest(com.google.protobuf.MessageLite prevReq, com.google.protobuf.MessageLite prevResp) throws com.mapr.cliframework.base.CLIProcessingException Description copied from interface:ListIteratorBuilds the next request object by inspecting the previous request and previous response.- Specified by:
buildNextRequestin interfaceListIterator- Specified by:
buildNextRequestin classListCommand- Returns:
- - new request object
- Throws:
com.mapr.cliframework.base.CLIProcessingException
-
hasMore
public boolean hasMore(com.google.protobuf.MessageLite prevReq, com.google.protobuf.MessageLite prevResp) throws com.mapr.cliframework.base.CLIProcessingException Description copied from interface:ListIteratorInspect the last request and last response to see if there are more records to be fetched.- Specified by:
hasMorein interfaceListIterator- Specified by:
hasMorein classListCommand- Returns:
- - true, if there are more records. false, if no more.
- Throws:
com.mapr.cliframework.base.CLIProcessingException
-