public class AlterRoleStatement extends AuthenticationStatement
ParsedStatement.Prepared| Constructor and Description | 
|---|
| AlterRoleStatement(RoleName name,
                  RoleOptions opts) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | checkAccess(ClientState state)Perform any access verification necessary for the statement. | 
| ResultMessage | execute(ClientState state) | 
| void | validate(ClientState state)Perform additional validation required by the statment. | 
checkPermission, execute, executeInternal, getBoundTerms, preparegetBoundVariables, getFunctions, setBoundVariables, setBoundVariablesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFunctionspublic AlterRoleStatement(RoleName name, RoleOptions opts)
public void validate(ClientState state) throws RequestValidationException
CQLStatementstate - the current client stateRequestValidationExceptionpublic void checkAccess(ClientState state) throws UnauthorizedException
CQLStatementstate - the current client stateUnauthorizedExceptionpublic ResultMessage execute(ClientState state) throws RequestValidationException, RequestExecutionException
execute in class AuthenticationStatementRequestValidationExceptionRequestExecutionExceptionCopyright © 2018 The Apache Software Foundation