public class org.apache.cassandra.cql3.statements.DropViewStatement 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.DropViewStatement
super_class: org.apache.cassandra.cql3.statements.SchemaAlteringStatement
{
public final boolean ifExists;
descriptor: Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public void <init>(org.apache.cassandra.cql3.CFName, boolean);
descriptor: (Lorg/apache/cassandra/cql3/CFName;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
aload 1
invokespecial org.apache.cassandra.cql3.statements.SchemaAlteringStatement.<init>:(Lorg/apache/cassandra/cql3/CFName;)V
1: aload 0
iload 2
putfield org.apache.cassandra.cql3.statements.DropViewStatement.ifExists:Z
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/cql3/statements/DropViewStatement;
0 3 1 cf Lorg/apache/cassandra/cql3/CFName;
0 3 2 ifExists Z
MethodParameters:
Name Flags
cf
ifExists
public void checkAccess(org.apache.cassandra.service.ClientState);
descriptor: (Lorg/apache/cassandra/service/ClientState;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.cassandra.cql3.statements.DropViewStatement.keyspace:()Ljava/lang/String;
aload 0
invokevirtual org.apache.cassandra.cql3.statements.DropViewStatement.columnFamily:()Ljava/lang/String;
invokestatic org.apache.cassandra.db.view.View.findBaseTable:(Ljava/lang/String;Ljava/lang/String;)Lorg/apache/cassandra/config/CFMetaData;
astore 2
start local 2 1: aload 2
ifnull 3
2: aload 1
aload 0
invokevirtual org.apache.cassandra.cql3.statements.DropViewStatement.keyspace:()Ljava/lang/String;
aload 2
getfield org.apache.cassandra.config.CFMetaData.cfName:Ljava/lang/String;
getstatic org.apache.cassandra.auth.Permission.ALTER:Lorg/apache/cassandra/auth/Permission;
invokevirtual org.apache.cassandra.service.ClientState.hasColumnFamilyAccess:(Ljava/lang/String;Ljava/lang/String;Lorg/apache/cassandra/auth/Permission;)V
3: StackMap locals: org.apache.cassandra.config.CFMetaData
StackMap stack:
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/DropViewStatement;
0 4 1 state Lorg/apache/cassandra/service/ClientState;
1 4 2 baseTable Lorg/apache/cassandra/config/CFMetaData;
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=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cql3/statements/DropViewStatement;
0 1 1 state Lorg/apache/cassandra/service/ClientState;
MethodParameters:
Name Flags
state
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=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.apache.cassandra.cql3.statements.DropViewStatement.keyspace:()Ljava/lang/String;
aload 0
invokevirtual org.apache.cassandra.cql3.statements.DropViewStatement.columnFamily:()Ljava/lang/String;
iload 2
invokestatic org.apache.cassandra.service.MigrationManager.announceViewDrop:(Ljava/lang/String;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;
getstatic org.apache.cassandra.transport.Event$SchemaChange$Target.TABLE:Lorg/apache/cassandra/transport/Event$SchemaChange$Target;
aload 0
invokevirtual org.apache.cassandra.cql3.statements.DropViewStatement.keyspace:()Ljava/lang/String;
aload 0
invokevirtual org.apache.cassandra.cql3.statements.DropViewStatement.columnFamily:()Ljava/lang/String;
invokespecial org.apache.cassandra.transport.Event$SchemaChange.<init>:(Lorg/apache/cassandra/transport/Event$SchemaChange$Change;Lorg/apache/cassandra/transport/Event$SchemaChange$Target;Ljava/lang/String;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.DropViewStatement.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/DropViewStatement;
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.InvalidRequestException, org.apache.cassandra.exceptions.ConfigurationException
MethodParameters:
Name Flags
queryState
isLocalOnly
}
SourceFile: "DropViewStatement.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
public final Target = org.apache.cassandra.transport.Event$SchemaChange$Target of org.apache.cassandra.transport.Event$SchemaChange