public class org.apache.cassandra.cql3.Operation$SetField implements org.apache.cassandra.cql3.Operation$RawUpdate
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.cql3.Operation$SetField
super_class: java.lang.Object
{
private final org.apache.cassandra.cql3.FieldIdentifier field;
descriptor: Lorg/apache/cassandra/cql3/FieldIdentifier;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.cassandra.cql3.Term$Raw value;
descriptor: Lorg/apache/cassandra/cql3/Term$Raw;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(org.apache.cassandra.cql3.FieldIdentifier, org.apache.cassandra.cql3.Term$Raw);
descriptor: (Lorg/apache/cassandra/cql3/FieldIdentifier;Lorg/apache/cassandra/cql3/Term$Raw;)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 java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.apache.cassandra.cql3.Operation$SetField.field:Lorg/apache/cassandra/cql3/FieldIdentifier;
2: aload 0
aload 2
putfield org.apache.cassandra.cql3.Operation$SetField.value:Lorg/apache/cassandra/cql3/Term$Raw;
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/Operation$SetField;
0 4 1 field Lorg/apache/cassandra/cql3/FieldIdentifier;
0 4 2 value Lorg/apache/cassandra/cql3/Term$Raw;
MethodParameters:
Name Flags
field
value
public org.apache.cassandra.cql3.Operation prepare(org.apache.cassandra.config.CFMetaData, org.apache.cassandra.config.ColumnDefinition);
descriptor: (Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/config/ColumnDefinition;)Lorg/apache/cassandra/cql3/Operation;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 2
getfield org.apache.cassandra.config.ColumnDefinition.type:Lorg/apache/cassandra/db/marshal/AbstractType;
invokevirtual org.apache.cassandra.db.marshal.AbstractType.isUDT:()Z
ifne 2
1: new org.apache.cassandra.exceptions.InvalidRequestException
dup
ldc "Invalid operation (%s) for non-UDT column %s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
aload 2
invokevirtual org.apache.cassandra.cql3.Operation$SetField.toString:(Lorg/apache/cassandra/cql3/ColumnSpecification;)Ljava/lang/String;
aastore
dup
iconst_1
aload 2
getfield org.apache.cassandra.config.ColumnDefinition.name:Lorg/apache/cassandra/cql3/ColumnIdentifier;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial org.apache.cassandra.exceptions.InvalidRequestException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 2
getfield org.apache.cassandra.config.ColumnDefinition.type:Lorg/apache/cassandra/db/marshal/AbstractType;
invokevirtual org.apache.cassandra.db.marshal.AbstractType.isMultiCell:()Z
ifne 4
3: new org.apache.cassandra.exceptions.InvalidRequestException
dup
ldc "Invalid operation (%s) for frozen UDT column %s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
aload 2
invokevirtual org.apache.cassandra.cql3.Operation$SetField.toString:(Lorg/apache/cassandra/cql3/ColumnSpecification;)Ljava/lang/String;
aastore
dup
iconst_1
aload 2
getfield org.apache.cassandra.config.ColumnDefinition.name:Lorg/apache/cassandra/cql3/ColumnIdentifier;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial org.apache.cassandra.exceptions.InvalidRequestException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 2
getfield org.apache.cassandra.config.ColumnDefinition.type:Lorg/apache/cassandra/db/marshal/AbstractType;
checkcast org.apache.cassandra.db.marshal.UserType
aload 0
getfield org.apache.cassandra.cql3.Operation$SetField.field:Lorg/apache/cassandra/cql3/FieldIdentifier;
invokevirtual org.apache.cassandra.db.marshal.UserType.fieldPosition:(Lorg/apache/cassandra/cql3/FieldIdentifier;)I
istore 3
start local 3 5: iload 3
iconst_m1
if_icmpne 7
6: new org.apache.cassandra.exceptions.InvalidRequestException
dup
ldc "UDT column %s does not have a field named %s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 2
getfield org.apache.cassandra.config.ColumnDefinition.name:Lorg/apache/cassandra/cql3/ColumnIdentifier;
aastore
dup
iconst_1
aload 0
getfield org.apache.cassandra.cql3.Operation$SetField.field:Lorg/apache/cassandra/cql3/FieldIdentifier;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial org.apache.cassandra.exceptions.InvalidRequestException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals: int
StackMap stack:
aload 0
getfield org.apache.cassandra.cql3.Operation$SetField.value:Lorg/apache/cassandra/cql3/Term$Raw;
aload 1
getfield org.apache.cassandra.config.CFMetaData.ksName:Ljava/lang/String;
aload 2
iload 3
invokestatic org.apache.cassandra.cql3.UserTypes.fieldSpecOf:(Lorg/apache/cassandra/cql3/ColumnSpecification;I)Lorg/apache/cassandra/cql3/ColumnSpecification;
invokevirtual org.apache.cassandra.cql3.Term$Raw.prepare:(Ljava/lang/String;Lorg/apache/cassandra/cql3/ColumnSpecification;)Lorg/apache/cassandra/cql3/Term;
astore 4
start local 4 8: new org.apache.cassandra.cql3.UserTypes$SetterByField
dup
aload 2
aload 0
getfield org.apache.cassandra.cql3.Operation$SetField.field:Lorg/apache/cassandra/cql3/FieldIdentifier;
aload 4
invokespecial org.apache.cassandra.cql3.UserTypes$SetterByField.<init>:(Lorg/apache/cassandra/config/ColumnDefinition;Lorg/apache/cassandra/cql3/FieldIdentifier;Lorg/apache/cassandra/cql3/Term;)V
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/cassandra/cql3/Operation$SetField;
0 9 1 cfm Lorg/apache/cassandra/config/CFMetaData;
0 9 2 receiver Lorg/apache/cassandra/config/ColumnDefinition;
5 9 3 fieldPosition I
8 9 4 val Lorg/apache/cassandra/cql3/Term;
Exceptions:
throws org.apache.cassandra.exceptions.InvalidRequestException
MethodParameters:
Name Flags
cfm
receiver
protected java.lang.String toString(org.apache.cassandra.cql3.ColumnSpecification);
descriptor: (Lorg/apache/cassandra/cql3/ColumnSpecification;)Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: ldc "%s.%s = %s"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 1
getfield org.apache.cassandra.cql3.ColumnSpecification.name:Lorg/apache/cassandra/cql3/ColumnIdentifier;
aastore
dup
iconst_1
aload 0
getfield org.apache.cassandra.cql3.Operation$SetField.field:Lorg/apache/cassandra/cql3/FieldIdentifier;
aastore
dup
iconst_2
aload 0
getfield org.apache.cassandra.cql3.Operation$SetField.value:Lorg/apache/cassandra/cql3/Term$Raw;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cql3/Operation$SetField;
0 1 1 column Lorg/apache/cassandra/cql3/ColumnSpecification;
MethodParameters:
Name Flags
column
public boolean isCompatibleWith(org.apache.cassandra.cql3.Operation$RawUpdate);
descriptor: (Lorg/apache/cassandra/cql3/Operation$RawUpdate;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.apache.cassandra.cql3.Operation$SetField
ifeq 4
1: aload 1
checkcast org.apache.cassandra.cql3.Operation$SetField
getfield org.apache.cassandra.cql3.Operation$SetField.field:Lorg/apache/cassandra/cql3/FieldIdentifier;
aload 0
getfield org.apache.cassandra.cql3.Operation$SetField.field:Lorg/apache/cassandra/cql3/FieldIdentifier;
invokevirtual org.apache.cassandra.cql3.FieldIdentifier.equals:(Ljava/lang/Object;)Z
ifeq 2
iconst_0
goto 3
StackMap locals:
StackMap stack:
2: iconst_1
StackMap locals:
StackMap stack: int
3: ireturn
4: StackMap locals:
StackMap stack:
aload 1
instanceof org.apache.cassandra.cql3.Operation$SetValue
ifeq 5
iconst_0
goto 6
StackMap locals:
StackMap stack:
5: iconst_1
StackMap locals:
StackMap stack: int
6: ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/cassandra/cql3/Operation$SetField;
0 7 1 other Lorg/apache/cassandra/cql3/Operation$RawUpdate;
MethodParameters:
Name Flags
other
}
SourceFile: "Operation.java"
NestHost: org.apache.cassandra.cql3.Operation
InnerClasses:
public abstract RawUpdate = org.apache.cassandra.cql3.Operation$RawUpdate of org.apache.cassandra.cql3.Operation
public SetField = org.apache.cassandra.cql3.Operation$SetField of org.apache.cassandra.cql3.Operation
public SetValue = org.apache.cassandra.cql3.Operation$SetValue of org.apache.cassandra.cql3.Operation
public abstract Raw = org.apache.cassandra.cql3.Term$Raw of org.apache.cassandra.cql3.Term
public SetterByField = org.apache.cassandra.cql3.UserTypes$SetterByField of org.apache.cassandra.cql3.UserTypes