public abstract class org.apache.cassandra.cql3.statements.AuthenticationStatement extends org.apache.cassandra.cql3.statements.ParsedStatement implements org.apache.cassandra.cql3.CQLStatement
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.apache.cassandra.cql3.statements.AuthenticationStatement
super_class: org.apache.cassandra.cql3.statements.ParsedStatement
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.apache.cassandra.cql3.statements.ParsedStatement.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cql3/statements/AuthenticationStatement;
public org.apache.cassandra.cql3.statements.ParsedStatement$Prepared prepare(org.apache.cassandra.service.ClientState);
descriptor: (Lorg/apache/cassandra/service/ClientState;)Lorg/apache/cassandra/cql3/statements/ParsedStatement$Prepared;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new org.apache.cassandra.cql3.statements.ParsedStatement$Prepared
dup
aload 0
invokespecial org.apache.cassandra.cql3.statements.ParsedStatement$Prepared.<init>:(Lorg/apache/cassandra/cql3/CQLStatement;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cql3/statements/AuthenticationStatement;
0 1 1 clientState Lorg/apache/cassandra/service/ClientState;
MethodParameters:
Name Flags
clientState
public int getBoundTerms();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cql3/statements/AuthenticationStatement;
public org.apache.cassandra.transport.messages.ResultMessage execute(org.apache.cassandra.service.QueryState, org.apache.cassandra.cql3.QueryOptions, long);
descriptor: (Lorg/apache/cassandra/service/QueryState;Lorg/apache/cassandra/cql3/QueryOptions;J)Lorg/apache/cassandra/transport/messages/ResultMessage;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
invokevirtual org.apache.cassandra.service.QueryState.getClientState:()Lorg/apache/cassandra/service/ClientState;
invokevirtual org.apache.cassandra.cql3.statements.AuthenticationStatement.execute:(Lorg/apache/cassandra/service/ClientState;)Lorg/apache/cassandra/transport/messages/ResultMessage;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cql3/statements/AuthenticationStatement;
0 1 1 state Lorg/apache/cassandra/service/QueryState;
0 1 2 options Lorg/apache/cassandra/cql3/QueryOptions;
0 1 3 queryStartNanoTime J
Exceptions:
throws org.apache.cassandra.exceptions.RequestExecutionException, org.apache.cassandra.exceptions.RequestValidationException
MethodParameters:
Name Flags
state
options
queryStartNanoTime
public abstract 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: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws org.apache.cassandra.exceptions.RequestExecutionException, org.apache.cassandra.exceptions.RequestValidationException
MethodParameters:
Name Flags
state
public org.apache.cassandra.transport.messages.ResultMessage executeInternal(org.apache.cassandra.service.QueryState, org.apache.cassandra.cql3.QueryOptions);
descriptor: (Lorg/apache/cassandra/service/QueryState;Lorg/apache/cassandra/cql3/QueryOptions;)Lorg/apache/cassandra/transport/messages/ResultMessage;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cql3/statements/AuthenticationStatement;
0 1 1 state Lorg/apache/cassandra/service/QueryState;
0 1 2 options Lorg/apache/cassandra/cql3/QueryOptions;
MethodParameters:
Name Flags
state
options
public void checkPermission(org.apache.cassandra.service.ClientState, org.apache.cassandra.auth.Permission, org.apache.cassandra.auth.RoleResource);
descriptor: (Lorg/apache/cassandra/service/ClientState;Lorg/apache/cassandra/auth/Permission;Lorg/apache/cassandra/auth/RoleResource;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
aload 2
aload 3
invokevirtual org.apache.cassandra.service.ClientState.ensureHasPermission:(Lorg/apache/cassandra/auth/Permission;Lorg/apache/cassandra/auth/IResource;)V
1: goto 6
2: StackMap locals:
StackMap stack: org.apache.cassandra.exceptions.UnauthorizedException
pop
3: new org.apache.cassandra.exceptions.UnauthorizedException
dup
ldc "User %s does not have sufficient privileges to perform the requested operation"
iconst_1
anewarray java.lang.Object
dup
iconst_0
4: aload 1
invokevirtual org.apache.cassandra.service.ClientState.getUser:()Lorg/apache/cassandra/auth/AuthenticatedUser;
invokevirtual org.apache.cassandra.auth.AuthenticatedUser.getName:()Ljava/lang/String;
aastore
5: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial org.apache.cassandra.exceptions.UnauthorizedException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/cassandra/cql3/statements/AuthenticationStatement;
0 7 1 state Lorg/apache/cassandra/service/ClientState;
0 7 2 required Lorg/apache/cassandra/auth/Permission;
0 7 3 resource Lorg/apache/cassandra/auth/RoleResource;
Exception table:
from to target type
0 1 2 Class org.apache.cassandra.exceptions.UnauthorizedException
Exceptions:
throws org.apache.cassandra.exceptions.UnauthorizedException
MethodParameters:
Name Flags
state
required
resource
}
SourceFile: "AuthenticationStatement.java"
InnerClasses:
public Prepared = org.apache.cassandra.cql3.statements.ParsedStatement$Prepared of org.apache.cassandra.cql3.statements.ParsedStatement