public class org.apache.cassandra.serializers.MapSerializer<K, V> extends org.apache.cassandra.serializers.CollectionSerializer<java.util.Map<K, V>>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.serializers.MapSerializer
super_class: org.apache.cassandra.serializers.CollectionSerializer
{
private static final java.util.Map<org.apache.cassandra.utils.Pair<org.apache.cassandra.serializers.TypeSerializer<?>, org.apache.cassandra.serializers.TypeSerializer<?>>, org.apache.cassandra.serializers.MapSerializer> instances;
descriptor: Ljava/util/Map;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Map<Lorg/apache/cassandra/utils/Pair<Lorg/apache/cassandra/serializers/TypeSerializer<*>;Lorg/apache/cassandra/serializers/TypeSerializer<*>;>;Lorg/apache/cassandra/serializers/MapSerializer;>;
public final org.apache.cassandra.serializers.TypeSerializer<K> keys;
descriptor: Lorg/apache/cassandra/serializers/TypeSerializer;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Signature: Lorg/apache/cassandra/serializers/TypeSerializer<TK;>;
public final org.apache.cassandra.serializers.TypeSerializer<V> values;
descriptor: Lorg/apache/cassandra/serializers/TypeSerializer;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Signature: Lorg/apache/cassandra/serializers/TypeSerializer<TV;>;
private final java.util.Comparator<org.apache.cassandra.utils.Pair<java.nio.ByteBuffer, java.nio.ByteBuffer>> comparator;
descriptor: Ljava/util/Comparator;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Comparator<Lorg/apache/cassandra/utils/Pair<Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;>;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putstatic org.apache.cassandra.serializers.MapSerializer.instances:Ljava/util/Map;
return
LocalVariableTable:
Start End Slot Name Signature
public static synchronized <K, V> org.apache.cassandra.serializers.MapSerializer<K, V> getInstance(org.apache.cassandra.serializers.TypeSerializer<K>, org.apache.cassandra.serializers.TypeSerializer<V>, java.util.Comparator<java.nio.ByteBuffer>);
descriptor: (Lorg/apache/cassandra/serializers/TypeSerializer;Lorg/apache/cassandra/serializers/TypeSerializer;Ljava/util/Comparator;)Lorg/apache/cassandra/serializers/MapSerializer;
flags: (0x0029) ACC_PUBLIC, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokestatic org.apache.cassandra.utils.Pair.create:(Ljava/lang/Object;Ljava/lang/Object;)Lorg/apache/cassandra/utils/Pair;
astore 3
start local 3 1: getstatic org.apache.cassandra.serializers.MapSerializer.instances:Ljava/util/Map;
aload 3
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.cassandra.serializers.MapSerializer
astore 4
start local 4 2: aload 4
ifnonnull 5
3: new org.apache.cassandra.serializers.MapSerializer
dup
aload 0
aload 1
aload 2
invokespecial org.apache.cassandra.serializers.MapSerializer.<init>:(Lorg/apache/cassandra/serializers/TypeSerializer;Lorg/apache/cassandra/serializers/TypeSerializer;Ljava/util/Comparator;)V
astore 4
4: getstatic org.apache.cassandra.serializers.MapSerializer.instances:Ljava/util/Map;
aload 3
aload 4
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
5: StackMap locals: org.apache.cassandra.utils.Pair org.apache.cassandra.serializers.MapSerializer
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 keys Lorg/apache/cassandra/serializers/TypeSerializer<TK;>;
0 6 1 values Lorg/apache/cassandra/serializers/TypeSerializer<TV;>;
0 6 2 comparator Ljava/util/Comparator<Ljava/nio/ByteBuffer;>;
1 6 3 p Lorg/apache/cassandra/utils/Pair<Lorg/apache/cassandra/serializers/TypeSerializer<*>;Lorg/apache/cassandra/serializers/TypeSerializer<*>;>;
2 6 4 t Lorg/apache/cassandra/serializers/MapSerializer<TK;TV;>;
Signature: <K:Ljava/lang/Object;V:Ljava/lang/Object;>(Lorg/apache/cassandra/serializers/TypeSerializer<TK;>;Lorg/apache/cassandra/serializers/TypeSerializer<TV;>;Ljava/util/Comparator<Ljava/nio/ByteBuffer;>;)Lorg/apache/cassandra/serializers/MapSerializer<TK;TV;>;
MethodParameters:
Name Flags
keys
values
comparator
private void <init>(org.apache.cassandra.serializers.TypeSerializer<K>, org.apache.cassandra.serializers.TypeSerializer<V>, java.util.Comparator<java.nio.ByteBuffer>);
descriptor: (Lorg/apache/cassandra/serializers/TypeSerializer;Lorg/apache/cassandra/serializers/TypeSerializer;Ljava/util/Comparator;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial org.apache.cassandra.serializers.CollectionSerializer.<init>:()V
1: aload 0
aload 1
putfield org.apache.cassandra.serializers.MapSerializer.keys:Lorg/apache/cassandra/serializers/TypeSerializer;
2: aload 0
aload 2
putfield org.apache.cassandra.serializers.MapSerializer.values:Lorg/apache/cassandra/serializers/TypeSerializer;
3: aload 0
aload 3
invokedynamic compare(Ljava/util/Comparator;)Ljava/util/Comparator;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;Ljava/lang/Object;)I
org/apache/cassandra/serializers/MapSerializer.lambda$0(Ljava/util/Comparator;Lorg/apache/cassandra/utils/Pair;Lorg/apache/cassandra/utils/Pair;)I (6)
(Lorg/apache/cassandra/utils/Pair;Lorg/apache/cassandra/utils/Pair;)I
putfield org.apache.cassandra.serializers.MapSerializer.comparator:Ljava/util/Comparator;
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/serializers/MapSerializer<TK;TV;>;
0 5 1 keys Lorg/apache/cassandra/serializers/TypeSerializer<TK;>;
0 5 2 values Lorg/apache/cassandra/serializers/TypeSerializer<TV;>;
0 5 3 comparator Ljava/util/Comparator<Ljava/nio/ByteBuffer;>;
Signature: (Lorg/apache/cassandra/serializers/TypeSerializer<TK;>;Lorg/apache/cassandra/serializers/TypeSerializer<TV;>;Ljava/util/Comparator<Ljava/nio/ByteBuffer;>;)V
MethodParameters:
Name Flags
keys
values
comparator
public java.util.List<java.nio.ByteBuffer> serializeValues(java.util.Map<K, V>);
descriptor: (Ljava/util/Map;)Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: new java.util.ArrayList
dup
aload 1
invokeinterface java.util.Map.size:()I
invokespecial java.util.ArrayList.<init>:(I)V
astore 2
start local 2 1: aload 1
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 4
StackMap locals: org.apache.cassandra.serializers.MapSerializer java.util.Map 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 0
getfield org.apache.cassandra.serializers.MapSerializer.keys:Lorg/apache/cassandra/serializers/TypeSerializer;
aload 3
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
invokeinterface org.apache.cassandra.serializers.TypeSerializer.serialize:(Ljava/lang/Object;)Ljava/nio/ByteBuffer;
aload 0
getfield org.apache.cassandra.serializers.MapSerializer.values:Lorg/apache/cassandra/serializers/TypeSerializer;
aload 3
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
invokeinterface org.apache.cassandra.serializers.TypeSerializer.serialize:(Ljava/lang/Object;)Ljava/nio/ByteBuffer;
invokestatic org.apache.cassandra.utils.Pair.create:(Ljava/lang/Object;Ljava/lang/Object;)Lorg/apache/cassandra/utils/Pair;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 3 4: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: aload 2
aload 0
getfield org.apache.cassandra.serializers.MapSerializer.comparator:Ljava/util/Comparator;
invokestatic java.util.Collections.sort:(Ljava/util/List;Ljava/util/Comparator;)V
6: new java.util.ArrayList
dup
aload 2
invokeinterface java.util.List.size:()I
iconst_2
imul
invokespecial java.util.ArrayList.<init>:(I)V
astore 3
start local 3 7: aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 11
StackMap locals: org.apache.cassandra.serializers.MapSerializer java.util.Map java.util.List java.util.List top java.util.Iterator
StackMap stack:
8: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.utils.Pair
astore 4
start local 4 9: aload 3
aload 4
getfield org.apache.cassandra.utils.Pair.left:Ljava/lang/Object;
checkcast java.nio.ByteBuffer
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
10: aload 3
aload 4
getfield org.apache.cassandra.utils.Pair.right:Ljava/lang/Object;
checkcast java.nio.ByteBuffer
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 4 11: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 8
12: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/apache/cassandra/serializers/MapSerializer<TK;TV;>;
0 13 1 map Ljava/util/Map<TK;TV;>;
1 13 2 pairs Ljava/util/List<Lorg/apache/cassandra/utils/Pair<Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;>;>;
3 4 3 entry Ljava/util/Map$Entry<TK;TV;>;
7 13 3 buffers Ljava/util/List<Ljava/nio/ByteBuffer;>;
9 11 4 p Lorg/apache/cassandra/utils/Pair<Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;>;
Signature: (Ljava/util/Map<TK;TV;>;)Ljava/util/List<Ljava/nio/ByteBuffer;>;
MethodParameters:
Name Flags
map
public int getElementCount(java.util.Map<K, V>);
descriptor: (Ljava/util/Map;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.util.Map.size:()I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/serializers/MapSerializer<TK;TV;>;
0 1 1 value Ljava/util/Map<TK;TV;>;
Signature: (Ljava/util/Map<TK;TV;>;)I
MethodParameters:
Name Flags
value
public void validateForNativeProtocol(java.nio.ByteBuffer, org.apache.cassandra.transport.ProtocolVersion);
descriptor: (Ljava/nio/ByteBuffer;Lorg/apache/cassandra/transport/ProtocolVersion;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual java.nio.ByteBuffer.duplicate:()Ljava/nio/ByteBuffer;
astore 3
start local 3 1: aload 3
aload 2
invokestatic org.apache.cassandra.serializers.MapSerializer.readCollectionSize:(Ljava/nio/ByteBuffer;Lorg/apache/cassandra/transport/ProtocolVersion;)I
istore 4
start local 4 2: iconst_0
istore 5
start local 5 3: goto 7
4: StackMap locals: java.nio.ByteBuffer int int
StackMap stack:
aload 0
getfield org.apache.cassandra.serializers.MapSerializer.keys:Lorg/apache/cassandra/serializers/TypeSerializer;
aload 3
aload 2
invokestatic org.apache.cassandra.serializers.MapSerializer.readValue:(Ljava/nio/ByteBuffer;Lorg/apache/cassandra/transport/ProtocolVersion;)Ljava/nio/ByteBuffer;
invokeinterface org.apache.cassandra.serializers.TypeSerializer.validate:(Ljava/nio/ByteBuffer;)V
5: aload 0
getfield org.apache.cassandra.serializers.MapSerializer.values:Lorg/apache/cassandra/serializers/TypeSerializer;
aload 3
aload 2
invokestatic org.apache.cassandra.serializers.MapSerializer.readValue:(Ljava/nio/ByteBuffer;Lorg/apache/cassandra/transport/ProtocolVersion;)Ljava/nio/ByteBuffer;
invokeinterface org.apache.cassandra.serializers.TypeSerializer.validate:(Ljava/nio/ByteBuffer;)V
6: iinc 5 1
StackMap locals:
StackMap stack:
7: iload 5
iload 4
if_icmplt 4
end local 5 8: aload 3
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifeq 12
9: new org.apache.cassandra.serializers.MarshalException
dup
ldc "Unexpected extraneous bytes after map value"
invokespecial org.apache.cassandra.serializers.MarshalException.<init>:(Ljava/lang/String;)V
athrow
end local 4 end local 3 10: StackMap locals: org.apache.cassandra.serializers.MapSerializer java.nio.ByteBuffer org.apache.cassandra.transport.ProtocolVersion
StackMap stack: java.nio.BufferUnderflowException
pop
11: new org.apache.cassandra.serializers.MarshalException
dup
ldc "Not enough bytes to read a map"
invokespecial org.apache.cassandra.serializers.MarshalException.<init>:(Ljava/lang/String;)V
athrow
12: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/apache/cassandra/serializers/MapSerializer<TK;TV;>;
0 13 1 bytes Ljava/nio/ByteBuffer;
0 13 2 version Lorg/apache/cassandra/transport/ProtocolVersion;
1 10 3 input Ljava/nio/ByteBuffer;
2 10 4 n I
3 8 5 i I
Exception table:
from to target type
0 10 10 Class java.nio.BufferUnderflowException
MethodParameters:
Name Flags
bytes
version
public java.util.Map<K, V> deserializeForNativeProtocol(java.nio.ByteBuffer, org.apache.cassandra.transport.ProtocolVersion);
descriptor: (Ljava/nio/ByteBuffer;Lorg/apache/cassandra/transport/ProtocolVersion;)Ljava/util/Map;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual java.nio.ByteBuffer.duplicate:()Ljava/nio/ByteBuffer;
astore 3
start local 3 1: aload 3
aload 2
invokestatic org.apache.cassandra.serializers.MapSerializer.readCollectionSize:(Ljava/nio/ByteBuffer;Lorg/apache/cassandra/transport/ProtocolVersion;)I
istore 4
start local 4 2: iload 4
ifge 4
3: new org.apache.cassandra.serializers.MarshalException
dup
ldc "The data cannot be deserialized as a map"
invokespecial org.apache.cassandra.serializers.MarshalException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals: java.nio.ByteBuffer int
StackMap stack:
new java.util.LinkedHashMap
dup
iload 4
sipush 256
invokestatic java.lang.Math.min:(II)I
invokespecial java.util.LinkedHashMap.<init>:(I)V
astore 5
start local 5 5: iconst_0
istore 6
start local 6 6: goto 13
7: StackMap locals: java.util.Map int
StackMap stack:
aload 3
aload 2
invokestatic org.apache.cassandra.serializers.MapSerializer.readValue:(Ljava/nio/ByteBuffer;Lorg/apache/cassandra/transport/ProtocolVersion;)Ljava/nio/ByteBuffer;
astore 7
start local 7 8: aload 0
getfield org.apache.cassandra.serializers.MapSerializer.keys:Lorg/apache/cassandra/serializers/TypeSerializer;
aload 7
invokeinterface org.apache.cassandra.serializers.TypeSerializer.validate:(Ljava/nio/ByteBuffer;)V
9: aload 3
aload 2
invokestatic org.apache.cassandra.serializers.MapSerializer.readValue:(Ljava/nio/ByteBuffer;Lorg/apache/cassandra/transport/ProtocolVersion;)Ljava/nio/ByteBuffer;
astore 8
start local 8 10: aload 0
getfield org.apache.cassandra.serializers.MapSerializer.values:Lorg/apache/cassandra/serializers/TypeSerializer;
aload 8
invokeinterface org.apache.cassandra.serializers.TypeSerializer.validate:(Ljava/nio/ByteBuffer;)V
11: aload 5
aload 0
getfield org.apache.cassandra.serializers.MapSerializer.keys:Lorg/apache/cassandra/serializers/TypeSerializer;
aload 7
invokeinterface org.apache.cassandra.serializers.TypeSerializer.deserialize:(Ljava/nio/ByteBuffer;)Ljava/lang/Object;
aload 0
getfield org.apache.cassandra.serializers.MapSerializer.values:Lorg/apache/cassandra/serializers/TypeSerializer;
aload 8
invokeinterface org.apache.cassandra.serializers.TypeSerializer.deserialize:(Ljava/nio/ByteBuffer;)Ljava/lang/Object;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 8 end local 7 12: iinc 6 1
StackMap locals:
StackMap stack:
13: iload 6
iload 4
if_icmplt 7
end local 6 14: aload 3
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifeq 16
15: new org.apache.cassandra.serializers.MarshalException
dup
ldc "Unexpected extraneous bytes after map value"
invokespecial org.apache.cassandra.serializers.MarshalException.<init>:(Ljava/lang/String;)V
athrow
16: StackMap locals:
StackMap stack:
aload 5
17: areturn
end local 5 end local 4 end local 3 18: StackMap locals: org.apache.cassandra.serializers.MapSerializer java.nio.ByteBuffer org.apache.cassandra.transport.ProtocolVersion
StackMap stack: java.nio.BufferUnderflowException
pop
19: new org.apache.cassandra.serializers.MarshalException
dup
ldc "Not enough bytes to read a map"
invokespecial org.apache.cassandra.serializers.MarshalException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lorg/apache/cassandra/serializers/MapSerializer<TK;TV;>;
0 20 1 bytes Ljava/nio/ByteBuffer;
0 20 2 version Lorg/apache/cassandra/transport/ProtocolVersion;
1 18 3 input Ljava/nio/ByteBuffer;
2 18 4 n I
5 18 5 m Ljava/util/Map<TK;TV;>;
6 14 6 i I
8 12 7 kbb Ljava/nio/ByteBuffer;
10 12 8 vbb Ljava/nio/ByteBuffer;
Exception table:
from to target type
0 17 18 Class java.nio.BufferUnderflowException
Signature: (Ljava/nio/ByteBuffer;Lorg/apache/cassandra/transport/ProtocolVersion;)Ljava/util/Map<TK;TV;>;
MethodParameters:
Name Flags
bytes
version
public java.nio.ByteBuffer getSerializedValue(java.nio.ByteBuffer, java.nio.ByteBuffer, org.apache.cassandra.db.marshal.AbstractType);
descriptor: (Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;Lorg/apache/cassandra/db/marshal/AbstractType;)Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokevirtual java.nio.ByteBuffer.duplicate:()Ljava/nio/ByteBuffer;
astore 4
start local 4 1: aload 4
getstatic org.apache.cassandra.transport.ProtocolVersion.V3:Lorg/apache/cassandra/transport/ProtocolVersion;
invokestatic org.apache.cassandra.serializers.MapSerializer.readCollectionSize:(Ljava/nio/ByteBuffer;Lorg/apache/cassandra/transport/ProtocolVersion;)I
istore 5
start local 5 2: iconst_0
istore 6
start local 6 3: goto 13
4: StackMap locals: java.nio.ByteBuffer int int
StackMap stack:
aload 4
getstatic org.apache.cassandra.transport.ProtocolVersion.V3:Lorg/apache/cassandra/transport/ProtocolVersion;
invokestatic org.apache.cassandra.serializers.MapSerializer.readValue:(Ljava/nio/ByteBuffer;Lorg/apache/cassandra/transport/ProtocolVersion;)Ljava/nio/ByteBuffer;
astore 7
start local 7 5: aload 4
getstatic org.apache.cassandra.transport.ProtocolVersion.V3:Lorg/apache/cassandra/transport/ProtocolVersion;
invokestatic org.apache.cassandra.serializers.MapSerializer.readValue:(Ljava/nio/ByteBuffer;Lorg/apache/cassandra/transport/ProtocolVersion;)Ljava/nio/ByteBuffer;
astore 8
start local 8 6: aload 3
aload 7
aload 2
invokevirtual org.apache.cassandra.db.marshal.AbstractType.compare:(Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)I
istore 9
start local 9 7: iload 9
ifne 10
8: aload 8
9: areturn
10: StackMap locals: java.nio.ByteBuffer java.nio.ByteBuffer int
StackMap stack:
iload 9
ifle 12
11: aconst_null
areturn
end local 9 end local 8 end local 7 12: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
13: iload 6
iload 5
if_icmplt 4
end local 6 14: aconst_null
areturn
end local 5 end local 4 15: StackMap locals: org.apache.cassandra.serializers.MapSerializer java.nio.ByteBuffer java.nio.ByteBuffer org.apache.cassandra.db.marshal.AbstractType
StackMap stack: java.nio.BufferUnderflowException
pop
16: new org.apache.cassandra.serializers.MarshalException
dup
ldc "Not enough bytes to read a map"
invokespecial org.apache.cassandra.serializers.MarshalException.<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 17 0 this Lorg/apache/cassandra/serializers/MapSerializer<TK;TV;>;
0 17 1 serializedMap Ljava/nio/ByteBuffer;
0 17 2 serializedKey Ljava/nio/ByteBuffer;
0 17 3 keyType Lorg/apache/cassandra/db/marshal/AbstractType;
1 15 4 input Ljava/nio/ByteBuffer;
2 15 5 n I
3 14 6 i I
5 12 7 kbb Ljava/nio/ByteBuffer;
6 12 8 vbb Ljava/nio/ByteBuffer;
7 12 9 comparison I
Exception table:
from to target type
0 9 15 Class java.nio.BufferUnderflowException
10 11 15 Class java.nio.BufferUnderflowException
12 14 15 Class java.nio.BufferUnderflowException
MethodParameters:
Name Flags
serializedMap
serializedKey
keyType
public java.lang.String toString(java.util.Map<K, V>);
descriptor: (Ljava/util/Map;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 2
start local 2 1: aload 2
bipush 123
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
2: iconst_1
istore 3
start local 3 3: aload 1
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 5
goto 11
StackMap locals: org.apache.cassandra.serializers.MapSerializer java.util.Map java.lang.StringBuilder int top java.util.Iterator
StackMap stack:
4: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 4
start local 4 5: iload 3
ifeq 7
6: iconst_0
istore 3
goto 8
7: StackMap locals: org.apache.cassandra.serializers.MapSerializer java.util.Map java.lang.StringBuilder int java.util.Map$Entry java.util.Iterator
StackMap stack:
aload 2
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
8: StackMap locals:
StackMap stack:
aload 2
aload 0
getfield org.apache.cassandra.serializers.MapSerializer.keys:Lorg/apache/cassandra/serializers/TypeSerializer;
aload 4
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
invokeinterface org.apache.cassandra.serializers.TypeSerializer.toString:(Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
9: aload 2
ldc ": "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
10: aload 2
aload 0
getfield org.apache.cassandra.serializers.MapSerializer.values:Lorg/apache/cassandra/serializers/TypeSerializer;
aload 4
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
invokeinterface org.apache.cassandra.serializers.TypeSerializer.toString:(Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 4 11: StackMap locals: org.apache.cassandra.serializers.MapSerializer java.util.Map java.lang.StringBuilder int top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
12: aload 2
bipush 125
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
13: aload 2
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/apache/cassandra/serializers/MapSerializer<TK;TV;>;
0 14 1 value Ljava/util/Map<TK;TV;>;
1 14 2 sb Ljava/lang/StringBuilder;
3 14 3 isFirst Z
5 11 4 element Ljava/util/Map$Entry<TK;TV;>;
Signature: (Ljava/util/Map<TK;TV;>;)Ljava/lang/String;
MethodParameters:
Name Flags
value
public java.lang.Class<java.util.Map<K, V>> getType();
descriptor: ()Ljava/lang/Class;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc Ljava/util/Map;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/serializers/MapSerializer<TK;TV;>;
Signature: ()Ljava/lang/Class<Ljava/util/Map<TK;TV;>;>;
public java.util.List serializeValues(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/util/List;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast java.util.Map
invokevirtual org.apache.cassandra.serializers.MapSerializer.serializeValues:(Ljava/util/Map;)Ljava/util/List;
areturn
LocalVariableTable:
Start End Slot Name Signature
public int getElementCount(java.lang.Object);
descriptor: (Ljava/lang/Object;)I
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast java.util.Map
invokevirtual org.apache.cassandra.serializers.MapSerializer.getElementCount:(Ljava/util/Map;)I
ireturn
LocalVariableTable:
Start End Slot Name Signature
public java.lang.String toString(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/String;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast java.util.Map
invokevirtual org.apache.cassandra.serializers.MapSerializer.toString:(Ljava/util/Map;)Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
public java.lang.Object deserializeForNativeProtocol(java.nio.ByteBuffer, org.apache.cassandra.transport.ProtocolVersion);
descriptor: (Ljava/nio/ByteBuffer;Lorg/apache/cassandra/transport/ProtocolVersion;)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
aload 2
invokevirtual org.apache.cassandra.serializers.MapSerializer.deserializeForNativeProtocol:(Ljava/nio/ByteBuffer;Lorg/apache/cassandra/transport/ProtocolVersion;)Ljava/util/Map;
areturn
LocalVariableTable:
Start End Slot Name Signature
private static int lambda$0(java.util.Comparator, org.apache.cassandra.utils.Pair, org.apache.cassandra.utils.Pair);
descriptor: (Ljava/util/Comparator;Lorg/apache/cassandra/utils/Pair;Lorg/apache/cassandra/utils/Pair;)I
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
start local 1 start local 2 0: aload 0
aload 1
getfield org.apache.cassandra.utils.Pair.left:Ljava/lang/Object;
checkcast java.nio.ByteBuffer
aload 2
getfield org.apache.cassandra.utils.Pair.left:Ljava/lang/Object;
checkcast java.nio.ByteBuffer
invokeinterface java.util.Comparator.compare:(Ljava/lang/Object;Ljava/lang/Object;)I
ireturn
end local 2 end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 p1 Lorg/apache/cassandra/utils/Pair<Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;>;
0 1 2 p2 Lorg/apache/cassandra/utils/Pair<Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;>;
}
Signature: <K:Ljava/lang/Object;V:Ljava/lang/Object;>Lorg/apache/cassandra/serializers/CollectionSerializer<Ljava/util/Map<TK;TV;>;>;
SourceFile: "MapSerializer.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract Entry = java.util.Map$Entry of java.util.Map