Class RevokePermissionsStatement
java.lang.Object
org.apache.cassandra.cql3.CQLStatement.Raw
org.apache.cassandra.cql3.statements.AuthorizationStatement
org.apache.cassandra.cql3.statements.PermissionsManagementStatement
org.apache.cassandra.cql3.statements.RevokePermissionsStatement
- All Implemented Interfaces:
CQLStatement
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.cassandra.cql3.CQLStatement
CQLStatement.Raw, CQLStatement.SingleKeyspaceCqlStatement -
Field Summary
Fields inherited from class org.apache.cassandra.cql3.statements.PermissionsManagementStatement
grantee, permissions, resourceFields inherited from class org.apache.cassandra.cql3.CQLStatement.Raw
bindVariables -
Constructor Summary
ConstructorsConstructorDescriptionRevokePermissionsStatement(Set<Permission> permissions, IResource resource, RoleName grantee) -
Method Summary
Modifier and TypeMethodDescriptionexecute(ClientState state) Provides the context needed for audit logging statements.toString()Methods inherited from class org.apache.cassandra.cql3.statements.PermissionsManagementStatement
authorize, validateMethods inherited from class org.apache.cassandra.cql3.statements.AuthorizationStatement
execute, executeLocally, maybeCorrectResource, prepareMethods inherited from class org.apache.cassandra.cql3.CQLStatement.Raw
setBindVariablesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.cassandra.cql3.CQLStatement
getBindVariables, getFunctions, getPartitionKeyBindVariableIndexes, hasConditions
-
Constructor Details
-
RevokePermissionsStatement
public RevokePermissionsStatement(Set<Permission> permissions, IResource resource, RoleName grantee)
-
-
Method Details
-
execute
public ResultMessage execute(ClientState state) throws RequestValidationException, RequestExecutionException - Specified by:
executein classAuthorizationStatement- Throws:
RequestValidationExceptionRequestExecutionException
-
toString
- Overrides:
toStringin classPermissionsManagementStatement
-
getAuditLogContext
Description copied from interface:CQLStatementProvides the context needed for audit logging statements.
-