public class org.apache.cassandra.cql3.statements.RevokeRoleStatement extends org.apache.cassandra.cql3.statements.RoleManagementStatement
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.cql3.statements.RevokeRoleStatement
super_class: org.apache.cassandra.cql3.statements.RoleManagementStatement
{
public void <init>(org.apache.cassandra.cql3.RoleName, org.apache.cassandra.cql3.RoleName);
descriptor: (Lorg/apache/cassandra/cql3/RoleName;Lorg/apache/cassandra/cql3/RoleName;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 // org.apache.cassandra.cql3.statements.RevokeRoleStatement this
start local 1 // org.apache.cassandra.cql3.RoleName name
start local 2 // org.apache.cassandra.cql3.RoleName grantee
0: .line 31
aload 0 /* this */
aload 1 /* name */
aload 2 /* grantee */
invokespecial org.apache.cassandra.cql3.statements.RoleManagementStatement.<init>:(Lorg/apache/cassandra/cql3/RoleName;Lorg/apache/cassandra/cql3/RoleName;)V
1: .line 32
return
end local 2 // org.apache.cassandra.cql3.RoleName grantee
end local 1 // org.apache.cassandra.cql3.RoleName name
end local 0 // org.apache.cassandra.cql3.statements.RevokeRoleStatement this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/cql3/statements/RevokeRoleStatement;
0 2 1 name Lorg/apache/cassandra/cql3/RoleName;
0 2 2 grantee Lorg/apache/cassandra/cql3/RoleName;
MethodParameters:
Name Flags
name
grantee
public org.apache.cassandra.transport.messages.ResultMessage execute(org.apache.cassandra.service.ClientState);
descriptor: (Lorg/apache/cassandra/service/ClientState;)Lorg/apache/cassandra/transport/messages/ResultMessage;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 // org.apache.cassandra.cql3.statements.RevokeRoleStatement this
start local 1 // org.apache.cassandra.service.ClientState state
0: .line 36
invokestatic org.apache.cassandra.config.DatabaseDescriptor.getRoleManager:()Lorg/apache/cassandra/auth/IRoleManager;
aload 1 /* state */
invokevirtual org.apache.cassandra.service.ClientState.getUser:()Lorg/apache/cassandra/auth/AuthenticatedUser;
aload 0 /* this */
getfield org.apache.cassandra.cql3.statements.RevokeRoleStatement.role:Lorg/apache/cassandra/auth/RoleResource;
aload 0 /* this */
getfield org.apache.cassandra.cql3.statements.RevokeRoleStatement.grantee:Lorg/apache/cassandra/auth/RoleResource;
invokeinterface org.apache.cassandra.auth.IRoleManager.revokeRole:(Lorg/apache/cassandra/auth/AuthenticatedUser;Lorg/apache/cassandra/auth/RoleResource;Lorg/apache/cassandra/auth/RoleResource;)V
1: .line 37
aconst_null
areturn
end local 1 // org.apache.cassandra.service.ClientState state
end local 0 // org.apache.cassandra.cql3.statements.RevokeRoleStatement this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/cql3/statements/RevokeRoleStatement;
0 2 1 state Lorg/apache/cassandra/service/ClientState;
Exceptions:
throws org.apache.cassandra.exceptions.RequestValidationException, org.apache.cassandra.exceptions.RequestExecutionException
MethodParameters:
Name Flags
state
}
SourceFile: "RevokeRoleStatement.java"