public class org.apache.cassandra.db.Slices$Serializer
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.db.Slices$Serializer
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/Slices$Serializer;
public void serialize(org.apache.cassandra.db.Slices, org.apache.cassandra.io.util.DataOutputPlus, int);
descriptor: (Lorg/apache/cassandra/db/Slices;Lorg/apache/cassandra/io/util/DataOutputPlus;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokevirtual org.apache.cassandra.db.Slices.size:()I
istore 4
start local 4 1: aload 2
iload 4
i2l
invokeinterface org.apache.cassandra.io.util.DataOutputPlus.writeUnsignedVInt:(J)V
2: iload 4
ifne 4
3: return
4: StackMap locals: int
StackMap stack:
aload 1
getstatic org.apache.cassandra.db.Slices.ALL:Lorg/apache/cassandra/db/Slices;
if_acmpne 6
5: invokestatic java.util.Collections.emptyList:()Ljava/util/List;
goto 7
6: StackMap locals:
StackMap stack:
aload 1
checkcast org.apache.cassandra.db.Slices$ArrayBackedSlices
getfield org.apache.cassandra.db.Slices$ArrayBackedSlices.comparator:Lorg/apache/cassandra/db/ClusteringComparator;
invokevirtual org.apache.cassandra.db.ClusteringComparator.subtypes:()Ljava/util/List;
7: StackMap locals:
StackMap stack: java.util.List
astore 5
start local 5 8: aload 1
invokevirtual org.apache.cassandra.db.Slices.iterator:()Ljava/util/Iterator;
astore 7
goto 11
StackMap locals: org.apache.cassandra.db.Slices$Serializer org.apache.cassandra.db.Slices org.apache.cassandra.io.util.DataOutputPlus int int java.util.List top java.util.Iterator
StackMap stack:
9: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.db.Slice
astore 6
start local 6 10: getstatic org.apache.cassandra.db.Slice.serializer:Lorg/apache/cassandra/db/Slice$Serializer;
aload 6
aload 2
iload 3
aload 5
invokevirtual org.apache.cassandra.db.Slice$Serializer.serialize:(Lorg/apache/cassandra/db/Slice;Lorg/apache/cassandra/io/util/DataOutputPlus;ILjava/util/List;)V
end local 6 11: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 9
12: return
end local 5 end local 4 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/db/Slices$Serializer;
0 13 1 slices Lorg/apache/cassandra/db/Slices;
0 13 2 out Lorg/apache/cassandra/io/util/DataOutputPlus;
0 13 3 version I
1 13 4 size I
8 13 5 types Ljava/util/List<Lorg/apache/cassandra/db/marshal/AbstractType<*>;>;
10 11 6 slice Lorg/apache/cassandra/db/Slice;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
slices
out
version
public long serializedSize(org.apache.cassandra.db.Slices, int);
descriptor: (Lorg/apache/cassandra/db/Slices;I)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual org.apache.cassandra.db.Slices.size:()I
i2l
invokestatic org.apache.cassandra.db.TypeSizes.sizeofUnsignedVInt:(J)I
i2l
lstore 3
start local 3 1: aload 1
invokevirtual org.apache.cassandra.db.Slices.size:()I
ifne 3
2: lload 3
lreturn
3: StackMap locals: long
StackMap stack:
aload 1
instanceof org.apache.cassandra.db.Slices$SelectAllSlices
ifeq 5
4: invokestatic java.util.Collections.emptyList:()Ljava/util/List;
goto 6
5: StackMap locals:
StackMap stack:
aload 1
checkcast org.apache.cassandra.db.Slices$ArrayBackedSlices
getfield org.apache.cassandra.db.Slices$ArrayBackedSlices.comparator:Lorg/apache/cassandra/db/ClusteringComparator;
invokevirtual org.apache.cassandra.db.ClusteringComparator.subtypes:()Ljava/util/List;
6: StackMap locals:
StackMap stack: java.util.List
astore 5
start local 5 7: aload 1
invokevirtual org.apache.cassandra.db.Slices.iterator:()Ljava/util/Iterator;
astore 7
goto 10
StackMap locals: org.apache.cassandra.db.Slices$Serializer org.apache.cassandra.db.Slices int long java.util.List top java.util.Iterator
StackMap stack:
8: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.db.Slice
astore 6
start local 6 9: lload 3
getstatic org.apache.cassandra.db.Slice.serializer:Lorg/apache/cassandra/db/Slice$Serializer;
aload 6
iload 2
aload 5
invokevirtual org.apache.cassandra.db.Slice$Serializer.serializedSize:(Lorg/apache/cassandra/db/Slice;ILjava/util/List;)J
ladd
lstore 3
end local 6 10: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 8
11: lload 3
lreturn
end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/apache/cassandra/db/Slices$Serializer;
0 12 1 slices Lorg/apache/cassandra/db/Slices;
0 12 2 version I
1 12 3 size J
7 12 5 types Ljava/util/List<Lorg/apache/cassandra/db/marshal/AbstractType<*>;>;
9 10 6 slice Lorg/apache/cassandra/db/Slice;
MethodParameters:
Name Flags
slices
version
public org.apache.cassandra.db.Slices deserialize(org.apache.cassandra.io.util.DataInputPlus, int, org.apache.cassandra.config.CFMetaData);
descriptor: (Lorg/apache/cassandra/io/util/DataInputPlus;ILorg/apache/cassandra/config/CFMetaData;)Lorg/apache/cassandra/db/Slices;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokeinterface org.apache.cassandra.io.util.DataInputPlus.readUnsignedVInt:()J
l2i
istore 4
start local 4 1: iload 4
ifne 3
2: getstatic org.apache.cassandra.db.Slices.NONE:Lorg/apache/cassandra/db/Slices;
areturn
3: StackMap locals: int
StackMap stack:
iload 4
anewarray org.apache.cassandra.db.Slice
astore 5
start local 5 4: iconst_0
istore 6
start local 6 5: goto 8
6: StackMap locals: org.apache.cassandra.db.Slice[] int
StackMap stack:
aload 5
iload 6
getstatic org.apache.cassandra.db.Slice.serializer:Lorg/apache/cassandra/db/Slice$Serializer;
aload 1
iload 2
aload 3
getfield org.apache.cassandra.config.CFMetaData.comparator:Lorg/apache/cassandra/db/ClusteringComparator;
invokevirtual org.apache.cassandra.db.ClusteringComparator.subtypes:()Ljava/util/List;
invokevirtual org.apache.cassandra.db.Slice$Serializer.deserialize:(Lorg/apache/cassandra/io/util/DataInputPlus;ILjava/util/List;)Lorg/apache/cassandra/db/Slice;
aastore
7: iinc 6 1
StackMap locals:
StackMap stack:
8: iload 6
iload 4
if_icmplt 6
end local 6 9: iload 4
iconst_1
if_icmpne 11
aload 5
iconst_0
aaload
invokevirtual org.apache.cassandra.db.Slice.start:()Lorg/apache/cassandra/db/ClusteringBound;
getstatic org.apache.cassandra.db.ClusteringBound.BOTTOM:Lorg/apache/cassandra/db/ClusteringBound;
if_acmpne 11
aload 5
iconst_0
aaload
invokevirtual org.apache.cassandra.db.Slice.end:()Lorg/apache/cassandra/db/ClusteringBound;
getstatic org.apache.cassandra.db.ClusteringBound.TOP:Lorg/apache/cassandra/db/ClusteringBound;
if_acmpne 11
10: getstatic org.apache.cassandra.db.Slices.ALL:Lorg/apache/cassandra/db/Slices;
areturn
11: StackMap locals:
StackMap stack:
new org.apache.cassandra.db.Slices$ArrayBackedSlices
dup
aload 3
getfield org.apache.cassandra.config.CFMetaData.comparator:Lorg/apache/cassandra/db/ClusteringComparator;
aload 5
invokespecial org.apache.cassandra.db.Slices$ArrayBackedSlices.<init>:(Lorg/apache/cassandra/db/ClusteringComparator;[Lorg/apache/cassandra/db/Slice;)V
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/apache/cassandra/db/Slices$Serializer;
0 12 1 in Lorg/apache/cassandra/io/util/DataInputPlus;
0 12 2 version I
0 12 3 metadata Lorg/apache/cassandra/config/CFMetaData;
1 12 4 size I
4 12 5 slices [Lorg/apache/cassandra/db/Slice;
5 9 6 i I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
in
version
metadata
}
SourceFile: "Slices.java"
NestHost: org.apache.cassandra.db.Slices
InnerClasses:
public Serializer = org.apache.cassandra.db.Slice$Serializer of org.apache.cassandra.db.Slice
private ArrayBackedSlices = org.apache.cassandra.db.Slices$ArrayBackedSlices of org.apache.cassandra.db.Slices
private SelectAllSlices = org.apache.cassandra.db.Slices$SelectAllSlices of org.apache.cassandra.db.Slices
public Serializer = org.apache.cassandra.db.Slices$Serializer of org.apache.cassandra.db.Slices