public class DropRoleStatement extends AuthenticationStatement
CQLStatement.RawbindVariables| Constructor and Description |
|---|
DropRoleStatement(RoleName name,
boolean ifExists) |
| 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 |
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 DropRoleStatement(RoleName name, boolean ifExists)
public void authorize(ClientState state) throws UnauthorizedException
CQLStatementstate - the current client stateUnauthorizedExceptionpublic void validate(ClientState state) throws RequestValidationException
CQLStatementstate - the current client stateRequestValidationExceptionpublic ResultMessage execute(ClientState state) throws RequestValidationException, RequestExecutionException
execute in class AuthenticationStatementRequestValidationExceptionRequestExecutionExceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic AuditLogContext getAuditLogContext()
CQLStatementCopyright © 2009-2020 The Apache Software Foundation