public class AlterRoleStatement extends AuthenticationStatement
CQLStatement.Raw, CQLStatement.SingleKeyspaceCqlStatementbindVariables| Constructor and Description |
|---|
AlterRoleStatement(RoleName name,
RoleOptions opts) |
AlterRoleStatement(RoleName name,
RoleOptions opts,
DCPermissions dcPermissions) |
| Modifier and Type | Method and Description |
|---|---|
void |
authorize(ClientState state)
Perform any access verification necessary for the statement.
|
ResultMessage |
execute(ClientState state) |
AuditLogContext |
getAuditLogContext()
Provides the context needed for audit logging statements.
|
java.lang.String |
obfuscatePassword(java.lang.String query) |
java.lang.String |
toString() |
void |
validate(ClientState state)
Perform additional validation required by the statment.
|
checkPermission, execute, executeLocally, preparesetBindVariablesclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetBindVariables, getFunctions, getPartitionKeyBindVariableIndexes, hasConditionspublic AlterRoleStatement(RoleName name, RoleOptions opts)
public AlterRoleStatement(RoleName name, RoleOptions opts, DCPermissions dcPermissions)
public void validate(ClientState state) throws RequestValidationException
CQLStatementstate - the current client stateRequestValidationExceptionpublic void authorize(ClientState state) throws UnauthorizedException
CQLStatementstate - the current client stateUnauthorizedExceptionpublic ResultMessage execute(ClientState state) throws RequestValidationException, RequestExecutionException
execute in class AuthenticationStatementRequestValidationExceptionRequestExecutionExceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic AuditLogContext getAuditLogContext()
CQLStatementpublic java.lang.String obfuscatePassword(java.lang.String query)
obfuscatePassword in class AuthenticationStatementCopyright © 2009-2022 The Apache Software Foundation