public class GrantPermissionsStatement extends PermissionsManagementStatement
CQLStatement.Raw, CQLStatement.SingleKeyspaceCqlStatementgrantee, permissions, resourcebindVariables| Constructor and Description |
|---|
GrantPermissionsStatement(java.util.Set<Permission> permissions,
IResource resource,
RoleName grantee) |
| Modifier and Type | Method and Description |
|---|---|
ResultMessage |
execute(ClientState state) |
AuditLogContext |
getAuditLogContext()
Provides the context needed for audit logging statements.
|
authorize, toString, validateexecute, executeLocally, maybeCorrectResource, preparesetBindVariablesclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetBindVariables, getFunctions, getPartitionKeyBindVariableIndexes, hasConditionspublic GrantPermissionsStatement(java.util.Set<Permission> permissions, IResource resource, RoleName grantee)
public ResultMessage execute(ClientState state) throws RequestValidationException, RequestExecutionException
execute in class AuthorizationStatementRequestValidationExceptionRequestExecutionExceptionpublic AuditLogContext getAuditLogContext()
CQLStatementCopyright © 2009-2022 The Apache Software Foundation