public class org.apache.cassandra.cql3.statements.DropKeyspaceStatement extends org.apache.cassandra.cql3.statements.SchemaAlteringStatement
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.cql3.statements.DropKeyspaceStatement
super_class: org.apache.cassandra.cql3.statements.SchemaAlteringStatement
{
private final java.lang.String keyspace;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean ifExists;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial org.apache.cassandra.cql3.statements.SchemaAlteringStatement.<init>:()V
1: aload 0
aload 1
putfield org.apache.cassandra.cql3.statements.DropKeyspaceStatement.keyspace:Ljava/lang/String;
2: aload 0
iload 2
putfield org.apache.cassandra.cql3.statements.DropKeyspaceStatement.ifExists:Z
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/cql3/statements/DropKeyspaceStatement;
0 4 1 keyspace Ljava/lang/String;
0 4 2 ifExists Z
MethodParameters:
Name Flags
keyspace
ifExists
public void checkAccess(org.apache.cassandra.service.ClientState);
descriptor: (Lorg/apache/cassandra/service/ClientState;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield org.apache.cassandra.cql3.statements.DropKeyspaceStatement.keyspace:Ljava/lang/String;
getstatic org.apache.cassandra.auth.Permission.DROP:Lorg/apache/cassandra/auth/Permission;
invokevirtual org.apache.cassandra.service.ClientState.hasKeyspaceAccess:(Ljava/lang/String;Lorg/apache/cassandra/auth/Permission;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/cql3/statements/DropKeyspaceStatement;
0 2 1 state Lorg/apache/cassandra/service/ClientState;
Exceptions:
throws org.apache.cassandra.exceptions.UnauthorizedException, org.apache.cassandra.exceptions.InvalidRequestException
MethodParameters:
Name Flags
state
public void validate(org.apache.cassandra.service.ClientState);
descriptor: (Lorg/apache/cassandra/service/ClientState;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.cql3.statements.DropKeyspaceStatement.keyspace:Ljava/lang/String;
invokestatic org.apache.cassandra.thrift.ThriftValidation.validateKeyspaceNotSystem:(Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/cql3/statements/DropKeyspaceStatement;
0 2 1 state Lorg/apache/cassandra/service/ClientState;
Exceptions:
throws org.apache.cassandra.exceptions.RequestValidationException
MethodParameters:
Name Flags
state
public java.lang.String keyspace();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.cql3.statements.DropKeyspaceStatement.keyspace:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cql3/statements/DropKeyspaceStatement;
public org.apache.cassandra.transport.Event$SchemaChange announceMigration(org.apache.cassandra.service.QueryState, boolean);
descriptor: (Lorg/apache/cassandra/service/QueryState;Z)Lorg/apache/cassandra/transport/Event$SchemaChange;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.cassandra.cql3.statements.DropKeyspaceStatement.keyspace:Ljava/lang/String;
iload 2
invokestatic org.apache.cassandra.service.MigrationManager.announceKeyspaceDrop:(Ljava/lang/String;Z)V
1: new org.apache.cassandra.transport.Event$SchemaChange
dup
getstatic org.apache.cassandra.transport.Event$SchemaChange$Change.DROPPED:Lorg/apache/cassandra/transport/Event$SchemaChange$Change;
aload 0
invokevirtual org.apache.cassandra.cql3.statements.DropKeyspaceStatement.keyspace:()Ljava/lang/String;
invokespecial org.apache.cassandra.transport.Event$SchemaChange.<init>:(Lorg/apache/cassandra/transport/Event$SchemaChange$Change;Ljava/lang/String;)V
2: areturn
3: StackMap locals:
StackMap stack: org.apache.cassandra.exceptions.ConfigurationException
astore 3
start local 3 4: aload 0
getfield org.apache.cassandra.cql3.statements.DropKeyspaceStatement.ifExists:Z
ifeq 6
5: aconst_null
areturn
6: StackMap locals: org.apache.cassandra.exceptions.ConfigurationException
StackMap stack:
aload 3
athrow
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/DropKeyspaceStatement;
0 7 1 queryState Lorg/apache/cassandra/service/QueryState;
0 7 2 isLocalOnly Z
4 7 3 e Lorg/apache/cassandra/exceptions/ConfigurationException;
Exception table:
from to target type
0 2 3 Class org.apache.cassandra.exceptions.ConfigurationException
Exceptions:
throws org.apache.cassandra.exceptions.ConfigurationException
MethodParameters:
Name Flags
queryState
isLocalOnly
}
SourceFile: "DropKeyspaceStatement.java"
InnerClasses:
public SchemaChange = org.apache.cassandra.transport.Event$SchemaChange of org.apache.cassandra.transport.Event
public final Change = org.apache.cassandra.transport.Event$SchemaChange$Change of org.apache.cassandra.transport.Event$SchemaChange