public class org.apache.cassandra.io.sstable.IndexSummary$IndexSummarySerializer
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.io.sstable.IndexSummary$IndexSummarySerializer
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/io/sstable/IndexSummary$IndexSummarySerializer;
public void serialize(org.apache.cassandra.io.sstable.IndexSummary, org.apache.cassandra.io.util.DataOutputPlus, boolean);
descriptor: (Lorg/apache/cassandra/io/sstable/IndexSummary;Lorg/apache/cassandra/io/util/DataOutputPlus;Z)V
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 2
aload 1
getfield org.apache.cassandra.io.sstable.IndexSummary.minIndexInterval:I
invokeinterface org.apache.cassandra.io.util.DataOutputPlus.writeInt:(I)V
1: aload 2
aload 1
getfield org.apache.cassandra.io.sstable.IndexSummary.offsetCount:I
invokeinterface org.apache.cassandra.io.util.DataOutputPlus.writeInt:(I)V
2: aload 2
aload 1
invokevirtual org.apache.cassandra.io.sstable.IndexSummary.getOffHeapSize:()J
invokeinterface org.apache.cassandra.io.util.DataOutputPlus.writeLong:(J)V
3: iload 3
ifeq 6
4: aload 2
aload 1
getfield org.apache.cassandra.io.sstable.IndexSummary.samplingLevel:I
invokeinterface org.apache.cassandra.io.util.DataOutputPlus.writeInt:(I)V
5: aload 2
aload 1
getfield org.apache.cassandra.io.sstable.IndexSummary.sizeAtFullSampling:I
invokeinterface org.apache.cassandra.io.util.DataOutputPlus.writeInt:(I)V
6: StackMap locals:
StackMap stack:
aload 1
getfield org.apache.cassandra.io.sstable.IndexSummary.offsetCount:I
iconst_4
imul
istore 4
start local 4 7: iconst_0
istore 5
start local 5 8: goto 14
9: StackMap locals: int int
StackMap stack:
aload 1
getfield org.apache.cassandra.io.sstable.IndexSummary.offsets:Lorg/apache/cassandra/io/util/Memory;
iload 5
iconst_4
imul
i2l
invokevirtual org.apache.cassandra.io.util.Memory.getInt:(J)I
iload 4
iadd
istore 6
start local 6 10: invokestatic java.nio.ByteOrder.nativeOrder:()Ljava/nio/ByteOrder;
getstatic java.nio.ByteOrder.BIG_ENDIAN:Ljava/nio/ByteOrder;
if_acmpeq 12
11: iload 6
invokestatic java.lang.Integer.reverseBytes:(I)I
istore 6
12: StackMap locals: int
StackMap stack:
aload 2
iload 6
invokeinterface org.apache.cassandra.io.util.DataOutputPlus.writeInt:(I)V
end local 6 13: iinc 5 1
StackMap locals:
StackMap stack:
14: iload 5
aload 1
getfield org.apache.cassandra.io.sstable.IndexSummary.offsetCount:I
if_icmplt 9
end local 5 15: aload 2
aload 1
getfield org.apache.cassandra.io.sstable.IndexSummary.entries:Lorg/apache/cassandra/io/util/Memory;
lconst_0
aload 1
getfield org.apache.cassandra.io.sstable.IndexSummary.entriesLength:J
invokeinterface org.apache.cassandra.io.util.DataOutputPlus.write:(Lorg/apache/cassandra/io/util/Memory;JJ)V
16: return
end local 4 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/io/sstable/IndexSummary$IndexSummarySerializer;
0 17 1 t Lorg/apache/cassandra/io/sstable/IndexSummary;
0 17 2 out Lorg/apache/cassandra/io/util/DataOutputPlus;
0 17 3 withSamplingLevel Z
7 17 4 baseOffset I
8 15 5 i I
10 13 6 offset I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
t
out
withSamplingLevel
public org.apache.cassandra.io.sstable.IndexSummary deserialize(java.io.DataInputStream, org.apache.cassandra.dht.IPartitioner, boolean, int, int);
descriptor: (Ljava/io/DataInputStream;Lorg/apache/cassandra/dht/IPartitioner;ZII)Lorg/apache/cassandra/io/sstable/IndexSummary;
flags: (0x0001) ACC_PUBLIC
Code:
stack=11, locals=16, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 1
invokevirtual java.io.DataInputStream.readInt:()I
istore 6
start local 6 1: iload 6
iload 4
if_icmpeq 5
2: new java.io.IOException
dup
ldc "Cannot read index summary because min_index_interval changed from %d to %d."
iconst_2
anewarray java.lang.Object
dup
iconst_0
3: iload 6
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
iload 4
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
4: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: int
StackMap stack:
aload 1
invokevirtual java.io.DataInputStream.readInt:()I
istore 7
start local 7 6: aload 1
invokevirtual java.io.DataInputStream.readLong:()J
lstore 8
start local 8 7: iload 3
ifeq 11
8: aload 1
invokevirtual java.io.DataInputStream.readInt:()I
istore 10
start local 10 9: aload 1
invokevirtual java.io.DataInputStream.readInt:()I
istore 11
start local 11 10: goto 13
end local 11 end local 10 11: StackMap locals: int long
StackMap stack:
sipush 128
istore 10
start local 10 12: iload 7
istore 11
start local 11 13: StackMap locals: int int
StackMap stack:
ldc 128.0
iload 10
i2d
ddiv
iload 6
i2d
dmul
invokestatic java.lang.Math.ceil:(D)D
d2i
istore 12
start local 12 14: iload 12
iload 5
if_icmple 18
15: new java.io.IOException
dup
ldc "Rebuilding index summary because the effective index interval (%d) is higher than the current max index interval (%d)"
iconst_2
anewarray java.lang.Object
dup
iconst_0
16: iload 12
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
iload 5
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
17: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
18: StackMap locals: int
StackMap stack:
iload 7
iconst_4
imul
i2l
invokestatic org.apache.cassandra.io.util.Memory.allocate:(J)Lorg/apache/cassandra/io/util/Memory;
astore 13
start local 13 19: lload 8
aload 13
invokevirtual org.apache.cassandra.io.util.Memory.size:()J
lsub
invokestatic org.apache.cassandra.io.util.Memory.allocate:(J)Lorg/apache/cassandra/io/util/Memory;
astore 14
start local 14 20: aload 1
new org.apache.cassandra.io.util.MemoryOutputStream
dup
aload 13
invokespecial org.apache.cassandra.io.util.MemoryOutputStream.<init>:(Lorg/apache/cassandra/io/util/Memory;)V
aload 13
invokevirtual org.apache.cassandra.io.util.Memory.size:()J
invokestatic org.apache.cassandra.utils.FBUtilities.copy:(Ljava/io/InputStream;Ljava/io/OutputStream;J)J
pop2
21: aload 1
new org.apache.cassandra.io.util.MemoryOutputStream
dup
aload 14
invokespecial org.apache.cassandra.io.util.MemoryOutputStream.<init>:(Lorg/apache/cassandra/io/util/Memory;)V
aload 14
invokevirtual org.apache.cassandra.io.util.Memory.size:()J
invokestatic org.apache.cassandra.utils.FBUtilities.copy:(Ljava/io/InputStream;Ljava/io/OutputStream;J)J
pop2
22: goto 27
23: StackMap locals: org.apache.cassandra.io.sstable.IndexSummary$IndexSummarySerializer java.io.DataInputStream org.apache.cassandra.dht.IPartitioner int int int int int long int int int org.apache.cassandra.io.util.Memory org.apache.cassandra.io.util.Memory
StackMap stack: java.io.IOException
astore 15
start local 15 24: aload 13
invokevirtual org.apache.cassandra.io.util.Memory.free:()V
25: aload 14
invokevirtual org.apache.cassandra.io.util.Memory.free:()V
26: aload 15
athrow
end local 15 27: StackMap locals:
StackMap stack:
iconst_0
istore 15
start local 15 28: goto 31
29: StackMap locals: int
StackMap stack:
aload 13
iload 15
i2l
aload 13
iload 15
i2l
invokevirtual org.apache.cassandra.io.util.Memory.getInt:(J)I
i2l
aload 13
invokevirtual org.apache.cassandra.io.util.Memory.size:()J
lsub
l2i
invokevirtual org.apache.cassandra.io.util.Memory.setInt:(JI)V
30: iinc 15 4
StackMap locals:
StackMap stack:
31: iload 15
i2l
aload 13
invokevirtual org.apache.cassandra.io.util.Memory.size:()J
lcmp
iflt 29
end local 15 32: new org.apache.cassandra.io.sstable.IndexSummary
dup
aload 2
aload 13
iload 7
aload 14
aload 14
invokevirtual org.apache.cassandra.io.util.Memory.size:()J
iload 11
iload 6
iload 10
invokespecial org.apache.cassandra.io.sstable.IndexSummary.<init>:(Lorg/apache/cassandra/dht/IPartitioner;Lorg/apache/cassandra/io/util/Memory;ILorg/apache/cassandra/io/util/Memory;JIII)V
areturn
end local 14 end local 13 end local 12 end local 11 end local 10 end local 8 end local 7 end local 6 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 33 0 this Lorg/apache/cassandra/io/sstable/IndexSummary$IndexSummarySerializer;
0 33 1 in Ljava/io/DataInputStream;
0 33 2 partitioner Lorg/apache/cassandra/dht/IPartitioner;
0 33 3 haveSamplingLevel Z
0 33 4 expectedMinIndexInterval I
0 33 5 maxIndexInterval I
1 33 6 minIndexInterval I
6 33 7 offsetCount I
7 33 8 offheapSize J
9 11 10 samplingLevel I
12 33 10 samplingLevel I
10 11 11 fullSamplingSummarySize I
13 33 11 fullSamplingSummarySize I
14 33 12 effectiveIndexInterval I
19 33 13 offsets Lorg/apache/cassandra/io/util/Memory;
20 33 14 entries Lorg/apache/cassandra/io/util/Memory;
24 27 15 ioe Ljava/io/IOException;
28 32 15 i I
Exception table:
from to target type
20 22 23 Class java.io.IOException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
in
partitioner
haveSamplingLevel
expectedMinIndexInterval
maxIndexInterval
public org.apache.cassandra.utils.Pair<org.apache.cassandra.db.DecoratedKey, org.apache.cassandra.db.DecoratedKey> deserializeFirstLastKey(java.io.DataInputStream, org.apache.cassandra.dht.IPartitioner, boolean);
descriptor: (Ljava/io/DataInputStream;Lorg/apache/cassandra/dht/IPartitioner;Z)Lorg/apache/cassandra/utils/Pair;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
iconst_4
invokevirtual java.io.DataInputStream.skipBytes:(I)I
pop
1: aload 1
invokevirtual java.io.DataInputStream.readInt:()I
istore 4
start local 4 2: aload 1
invokevirtual java.io.DataInputStream.readLong:()J
lstore 5
start local 5 3: iload 3
ifeq 5
4: aload 1
bipush 8
invokevirtual java.io.DataInputStream.skipBytes:(I)I
pop
5: StackMap locals: int long
StackMap stack:
aload 1
iload 4
iconst_4
imul
i2l
invokevirtual java.io.DataInputStream.skip:(J)J
pop2
6: aload 1
lload 5
iload 4
iconst_4
imul
i2l
lsub
invokevirtual java.io.DataInputStream.skip:(J)J
pop2
7: aload 2
aload 1
invokestatic org.apache.cassandra.utils.ByteBufferUtil.readWithLength:(Ljava/io/DataInput;)Ljava/nio/ByteBuffer;
invokeinterface org.apache.cassandra.dht.IPartitioner.decorateKey:(Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/db/DecoratedKey;
astore 7
start local 7 8: aload 2
aload 1
invokestatic org.apache.cassandra.utils.ByteBufferUtil.readWithLength:(Ljava/io/DataInput;)Ljava/nio/ByteBuffer;
invokeinterface org.apache.cassandra.dht.IPartitioner.decorateKey:(Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/db/DecoratedKey;
astore 8
start local 8 9: aload 7
aload 8
invokestatic org.apache.cassandra.utils.Pair.create:(Ljava/lang/Object;Ljava/lang/Object;)Lorg/apache/cassandra/utils/Pair;
areturn
end local 8 end local 7 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 10 0 this Lorg/apache/cassandra/io/sstable/IndexSummary$IndexSummarySerializer;
0 10 1 in Ljava/io/DataInputStream;
0 10 2 partitioner Lorg/apache/cassandra/dht/IPartitioner;
0 10 3 haveSamplingLevel Z
2 10 4 offsetCount I
3 10 5 offheapSize J
8 10 7 first Lorg/apache/cassandra/db/DecoratedKey;
9 10 8 last Lorg/apache/cassandra/db/DecoratedKey;
Exceptions:
throws java.io.IOException
Signature: (Ljava/io/DataInputStream;Lorg/apache/cassandra/dht/IPartitioner;Z)Lorg/apache/cassandra/utils/Pair<Lorg/apache/cassandra/db/DecoratedKey;Lorg/apache/cassandra/db/DecoratedKey;>;
MethodParameters:
Name Flags
in
partitioner
haveSamplingLevel
}
SourceFile: "IndexSummary.java"
NestHost: org.apache.cassandra.io.sstable.IndexSummary
InnerClasses:
public IndexSummarySerializer = org.apache.cassandra.io.sstable.IndexSummary$IndexSummarySerializer of org.apache.cassandra.io.sstable.IndexSummary