public class org.apache.cassandra.cql3.Maps$Value extends org.apache.cassandra.cql3.Term$Terminal
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.cql3.Maps$Value
super_class: org.apache.cassandra.cql3.Term$Terminal
{
public final java.util.Map<java.nio.ByteBuffer, java.nio.ByteBuffer> map;
descriptor: Ljava/util/Map;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Signature: Ljava/util/Map<Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;>;
public void <init>(java.util.Map<java.nio.ByteBuffer, java.nio.ByteBuffer>);
descriptor: (Ljava/util/Map;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.apache.cassandra.cql3.Term$Terminal.<init>:()V
1: aload 0
aload 1
putfield org.apache.cassandra.cql3.Maps$Value.map:Ljava/util/Map;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/cql3/Maps$Value;
0 3 1 map Ljava/util/Map<Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;>;
Signature: (Ljava/util/Map<Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;>;)V
MethodParameters:
Name Flags
map
public static org.apache.cassandra.cql3.Maps$Value fromSerialized(java.nio.ByteBuffer, org.apache.cassandra.db.marshal.MapType, org.apache.cassandra.transport.ProtocolVersion);
descriptor: (Ljava/nio/ByteBuffer;Lorg/apache/cassandra/db/marshal/MapType;Lorg/apache/cassandra/transport/ProtocolVersion;)Lorg/apache/cassandra/cql3/Maps$Value;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual org.apache.cassandra.db.marshal.MapType.getSerializer:()Lorg/apache/cassandra/serializers/MapSerializer;
aload 0
aload 2
invokevirtual org.apache.cassandra.serializers.MapSerializer.deserializeForNativeProtocol:(Ljava/nio/ByteBuffer;Lorg/apache/cassandra/transport/ProtocolVersion;)Ljava/util/Map;
astore 3
start local 3 1: new java.util.LinkedHashMap
dup
aload 3
invokeinterface java.util.Map.size:()I
invokespecial java.util.LinkedHashMap.<init>:(I)V
astore 4
start local 4 2: aload 3
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 6
goto 5
StackMap locals: java.nio.ByteBuffer org.apache.cassandra.db.marshal.MapType org.apache.cassandra.transport.ProtocolVersion java.util.Map java.util.Map top java.util.Iterator
StackMap stack:
3: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 5
start local 5 4: aload 4
aload 1
invokevirtual org.apache.cassandra.db.marshal.MapType.getKeysType:()Lorg/apache/cassandra/db/marshal/AbstractType;
aload 5
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
invokevirtual org.apache.cassandra.db.marshal.AbstractType.decompose:(Ljava/lang/Object;)Ljava/nio/ByteBuffer;
aload 1
invokevirtual org.apache.cassandra.db.marshal.MapType.getValuesType:()Lorg/apache/cassandra/db/marshal/AbstractType;
aload 5
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
invokevirtual org.apache.cassandra.db.marshal.AbstractType.decompose:(Ljava/lang/Object;)Ljava/nio/ByteBuffer;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 5 5: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
6: new org.apache.cassandra.cql3.Maps$Value
dup
aload 4
invokespecial org.apache.cassandra.cql3.Maps$Value.<init>:(Ljava/util/Map;)V
7: areturn
end local 4 end local 3 8: StackMap locals: java.nio.ByteBuffer org.apache.cassandra.db.marshal.MapType org.apache.cassandra.transport.ProtocolVersion
StackMap stack: org.apache.cassandra.serializers.MarshalException
astore 3
start local 3 9: new org.apache.cassandra.exceptions.InvalidRequestException
dup
aload 3
invokevirtual org.apache.cassandra.serializers.MarshalException.getMessage:()Ljava/lang/String;
invokespecial org.apache.cassandra.exceptions.InvalidRequestException.<init>:(Ljava/lang/String;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 value Ljava/nio/ByteBuffer;
0 10 1 type Lorg/apache/cassandra/db/marshal/MapType;
0 10 2 version Lorg/apache/cassandra/transport/ProtocolVersion;
1 8 3 m Ljava/util/Map<**>;
2 8 4 map Ljava/util/Map<Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;>;
4 5 5 entry Ljava/util/Map$Entry<**>;
9 10 3 e Lorg/apache/cassandra/serializers/MarshalException;
Exception table:
from to target type
0 7 8 Class org.apache.cassandra.serializers.MarshalException
Exceptions:
throws org.apache.cassandra.exceptions.InvalidRequestException
MethodParameters:
Name Flags
value
type
version
public java.nio.ByteBuffer get(org.apache.cassandra.transport.ProtocolVersion);
descriptor: (Lorg/apache/cassandra/transport/ProtocolVersion;)Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: new java.util.ArrayList
dup
iconst_2
aload 0
getfield org.apache.cassandra.cql3.Maps$Value.map:Ljava/util/Map;
invokeinterface java.util.Map.size:()I
imul
invokespecial java.util.ArrayList.<init>:(I)V
astore 2
start local 2 1: aload 0
getfield org.apache.cassandra.cql3.Maps$Value.map:Ljava/util/Map;
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 5
StackMap locals: org.apache.cassandra.cql3.Maps$Value org.apache.cassandra.transport.ProtocolVersion java.util.List top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 3
start local 3 3: aload 2
aload 3
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.nio.ByteBuffer
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
4: aload 2
aload 3
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.nio.ByteBuffer
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 3 5: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
6: aload 2
aload 0
getfield org.apache.cassandra.cql3.Maps$Value.map:Ljava/util/Map;
invokeinterface java.util.Map.size:()I
aload 1
invokestatic org.apache.cassandra.serializers.CollectionSerializer.pack:(Ljava/util/Collection;ILorg/apache/cassandra/transport/ProtocolVersion;)Ljava/nio/ByteBuffer;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/cassandra/cql3/Maps$Value;
0 7 1 protocolVersion Lorg/apache/cassandra/transport/ProtocolVersion;
1 7 2 buffers Ljava/util/List<Ljava/nio/ByteBuffer;>;
3 5 3 entry Ljava/util/Map$Entry<Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;>;
MethodParameters:
Name Flags
protocolVersion
public boolean equals(org.apache.cassandra.db.marshal.MapType, org.apache.cassandra.cql3.Maps$Value);
descriptor: (Lorg/apache/cassandra/db/marshal/MapType;Lorg/apache/cassandra/cql3/Maps$Value;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.cassandra.cql3.Maps$Value.map:Ljava/util/Map;
invokeinterface java.util.Map.size:()I
aload 2
getfield org.apache.cassandra.cql3.Maps$Value.map:Ljava/util/Map;
invokeinterface java.util.Map.size:()I
if_icmpeq 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.cql3.Maps$Value.map:Ljava/util/Map;
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
start local 3 3: aload 2
getfield org.apache.cassandra.cql3.Maps$Value.map:Ljava/util/Map;
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
start local 4 4: goto 9
5: StackMap locals: java.util.Iterator java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 5
start local 5 6: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 6
start local 6 7: aload 1
invokevirtual org.apache.cassandra.db.marshal.MapType.getKeysType:()Lorg/apache/cassandra/db/marshal/AbstractType;
aload 5
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.nio.ByteBuffer
aload 6
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.nio.ByteBuffer
invokevirtual org.apache.cassandra.db.marshal.AbstractType.compare:(Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)I
ifne 8
aload 1
invokevirtual org.apache.cassandra.db.marshal.MapType.getValuesType:()Lorg/apache/cassandra/db/marshal/AbstractType;
aload 5
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.nio.ByteBuffer
aload 6
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.nio.ByteBuffer
invokevirtual org.apache.cassandra.db.marshal.AbstractType.compare:(Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)I
ifeq 9
8: StackMap locals: java.util.Map$Entry java.util.Map$Entry
StackMap stack:
iconst_0
ireturn
end local 6 end local 5 9: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
10: iconst_1
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/cassandra/cql3/Maps$Value;
0 11 1 mt Lorg/apache/cassandra/db/marshal/MapType;
0 11 2 v Lorg/apache/cassandra/cql3/Maps$Value;
3 11 3 thisIter Ljava/util/Iterator<Ljava/util/Map$Entry<Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;>;>;
4 11 4 thatIter Ljava/util/Iterator<Ljava/util/Map$Entry<Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;>;>;
6 9 5 thisEntry Ljava/util/Map$Entry<Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;>;
7 9 6 thatEntry Ljava/util/Map$Entry<Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;>;
MethodParameters:
Name Flags
mt
v
}
SourceFile: "Maps.java"
NestHost: org.apache.cassandra.cql3.Maps
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map
public Value = org.apache.cassandra.cql3.Maps$Value of org.apache.cassandra.cql3.Maps
public abstract Terminal = org.apache.cassandra.cql3.Term$Terminal of org.apache.cassandra.cql3.Term