public class CreateRoleStatement extends AuthenticationStatement
CQLStatement.RawbindVariables| Constructor and Description |
|---|
CreateRoleStatement(RoleName name,
RoleOptions options,
DCPermissions dcPermissions,
boolean ifNotExists) |
| 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 CreateRoleStatement(RoleName name, RoleOptions options, DCPermissions dcPermissions, boolean ifNotExists)
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 RequestExecutionException, RequestValidationException
execute in class AuthenticationStatementRequestExecutionExceptionRequestValidationExceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic AuditLogContext getAuditLogContext()
CQLStatementCopyright © 2009-2020 The Apache Software Foundation