public class org.apache.cassandra.service.pager.PagingState
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.service.pager.PagingState
super_class: java.lang.Object
{
public final java.nio.ByteBuffer partitionKey;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final org.apache.cassandra.service.pager.PagingState$RowMark rowMark;
descriptor: Lorg/apache/cassandra/service/pager/PagingState$RowMark;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final int remaining;
descriptor: I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final int remainingInPartition;
descriptor: I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/apache/cassandra/service/pager/PagingState;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic org.apache.cassandra.service.pager.PagingState.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.nio.ByteBuffer, org.apache.cassandra.service.pager.PagingState$RowMark, int, int);
descriptor: (Ljava/nio/ByteBuffer;Lorg/apache/cassandra/service/pager/PagingState$RowMark;II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.apache.cassandra.service.pager.PagingState.partitionKey:Ljava/nio/ByteBuffer;
2: aload 0
aload 2
putfield org.apache.cassandra.service.pager.PagingState.rowMark:Lorg/apache/cassandra/service/pager/PagingState$RowMark;
3: aload 0
iload 3
putfield org.apache.cassandra.service.pager.PagingState.remaining:I
4: aload 0
iload 4
putfield org.apache.cassandra.service.pager.PagingState.remainingInPartition:I
5: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/cassandra/service/pager/PagingState;
0 6 1 partitionKey Ljava/nio/ByteBuffer;
0 6 2 rowMark Lorg/apache/cassandra/service/pager/PagingState$RowMark;
0 6 3 remaining I
0 6 4 remainingInPartition I
MethodParameters:
Name Flags
partitionKey
rowMark
remaining
remainingInPartition
public java.nio.ByteBuffer serialize(org.apache.cassandra.transport.ProtocolVersion);
descriptor: (Lorg/apache/cassandra/transport/ProtocolVersion;)Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: getstatic org.apache.cassandra.service.pager.PagingState.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.apache.cassandra.service.pager.PagingState.rowMark:Lorg/apache/cassandra/service/pager/PagingState$RowMark;
ifnull 1
aload 1
aload 0
getfield org.apache.cassandra.service.pager.PagingState.rowMark:Lorg/apache/cassandra/service/pager/PagingState$RowMark;
getfield org.apache.cassandra.service.pager.PagingState$RowMark.protocolVersion:Lorg/apache/cassandra/transport/ProtocolVersion;
if_acmpeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 1
getstatic org.apache.cassandra.transport.ProtocolVersion.V3:Lorg/apache/cassandra/transport/ProtocolVersion;
invokevirtual org.apache.cassandra.transport.ProtocolVersion.isGreaterThan:(Lorg/apache/cassandra/transport/ProtocolVersion;)Z
ifeq 2
aload 0
invokevirtual org.apache.cassandra.service.pager.PagingState.modernSerialize:()Ljava/nio/ByteBuffer;
goto 3
StackMap locals:
StackMap stack:
2: aload 0
iconst_1
invokevirtual org.apache.cassandra.service.pager.PagingState.legacySerialize:(Z)Ljava/nio/ByteBuffer;
StackMap locals:
StackMap stack: java.nio.ByteBuffer
3: areturn
4: StackMap locals:
StackMap stack: java.io.IOException
astore 2
start local 2 5: new java.lang.RuntimeException
dup
aload 2
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/cassandra/service/pager/PagingState;
0 6 1 protocolVersion Lorg/apache/cassandra/transport/ProtocolVersion;
5 6 2 e Ljava/io/IOException;
Exception table:
from to target type
1 3 4 Class java.io.IOException
MethodParameters:
Name Flags
protocolVersion
public int serializedSize(org.apache.cassandra.transport.ProtocolVersion);
descriptor: (Lorg/apache/cassandra/transport/ProtocolVersion;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.apache.cassandra.service.pager.PagingState.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.apache.cassandra.service.pager.PagingState.rowMark:Lorg/apache/cassandra/service/pager/PagingState$RowMark;
ifnull 1
aload 1
aload 0
getfield org.apache.cassandra.service.pager.PagingState.rowMark:Lorg/apache/cassandra/service/pager/PagingState$RowMark;
getfield org.apache.cassandra.service.pager.PagingState$RowMark.protocolVersion:Lorg/apache/cassandra/transport/ProtocolVersion;
if_acmpeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 1
getstatic org.apache.cassandra.transport.ProtocolVersion.V3:Lorg/apache/cassandra/transport/ProtocolVersion;
invokevirtual org.apache.cassandra.transport.ProtocolVersion.isGreaterThan:(Lorg/apache/cassandra/transport/ProtocolVersion;)Z
ifeq 2
aload 0
invokevirtual org.apache.cassandra.service.pager.PagingState.modernSerializedSize:()I
goto 3
StackMap locals:
StackMap stack:
2: aload 0
iconst_1
invokevirtual org.apache.cassandra.service.pager.PagingState.legacySerializedSize:(Z)I
StackMap locals:
StackMap stack: int
3: ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/service/pager/PagingState;
0 4 1 protocolVersion Lorg/apache/cassandra/transport/ProtocolVersion;
MethodParameters:
Name Flags
protocolVersion
public static org.apache.cassandra.service.pager.PagingState deserialize(java.nio.ByteBuffer, org.apache.cassandra.transport.ProtocolVersion);
descriptor: (Ljava/nio/ByteBuffer;Lorg/apache/cassandra/transport/ProtocolVersion;)Lorg/apache/cassandra/service/pager/PagingState;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 1
getstatic org.apache.cassandra.transport.ProtocolVersion.V3:Lorg/apache/cassandra/transport/ProtocolVersion;
invokevirtual org.apache.cassandra.transport.ProtocolVersion.isGreaterThan:(Lorg/apache/cassandra/transport/ProtocolVersion;)Z
ifeq 7
3: aload 0
invokestatic org.apache.cassandra.service.pager.PagingState.isModernSerialized:(Ljava/nio/ByteBuffer;)Z
ifeq 5
aload 0
aload 1
invokestatic org.apache.cassandra.service.pager.PagingState.modernDeserialize:(Ljava/nio/ByteBuffer;Lorg/apache/cassandra/transport/ProtocolVersion;)Lorg/apache/cassandra/service/pager/PagingState;
4: areturn
5: StackMap locals:
StackMap stack:
aload 0
invokestatic org.apache.cassandra.service.pager.PagingState.isLegacySerialized:(Ljava/nio/ByteBuffer;)Z
ifeq 7
aload 0
getstatic org.apache.cassandra.transport.ProtocolVersion.V3:Lorg/apache/cassandra/transport/ProtocolVersion;
invokestatic org.apache.cassandra.service.pager.PagingState.legacyDeserialize:(Ljava/nio/ByteBuffer;Lorg/apache/cassandra/transport/ProtocolVersion;)Lorg/apache/cassandra/service/pager/PagingState;
6: areturn
7: StackMap locals:
StackMap stack:
aload 1
getstatic org.apache.cassandra.transport.ProtocolVersion.V4:Lorg/apache/cassandra/transport/ProtocolVersion;
invokevirtual org.apache.cassandra.transport.ProtocolVersion.isSmallerThan:(Lorg/apache/cassandra/transport/ProtocolVersion;)Z
ifeq 14
8: aload 0
invokestatic org.apache.cassandra.service.pager.PagingState.isLegacySerialized:(Ljava/nio/ByteBuffer;)Z
ifeq 10
aload 0
aload 1
invokestatic org.apache.cassandra.service.pager.PagingState.legacyDeserialize:(Ljava/nio/ByteBuffer;Lorg/apache/cassandra/transport/ProtocolVersion;)Lorg/apache/cassandra/service/pager/PagingState;
9: areturn
10: StackMap locals:
StackMap stack:
aload 0
invokestatic org.apache.cassandra.service.pager.PagingState.isModernSerialized:(Ljava/nio/ByteBuffer;)Z
ifeq 14
aload 0
getstatic org.apache.cassandra.transport.ProtocolVersion.V4:Lorg/apache/cassandra/transport/ProtocolVersion;
invokestatic org.apache.cassandra.service.pager.PagingState.modernDeserialize:(Ljava/nio/ByteBuffer;Lorg/apache/cassandra/transport/ProtocolVersion;)Lorg/apache/cassandra/service/pager/PagingState;
11: areturn
12: StackMap locals:
StackMap stack: java.io.IOException
pop
13: new org.apache.cassandra.transport.ProtocolException
dup
ldc "Invalid value for the paging state"
invokespecial org.apache.cassandra.transport.ProtocolException.<init>:(Ljava/lang/String;)V
athrow
14: StackMap locals:
StackMap stack:
new org.apache.cassandra.transport.ProtocolException
dup
ldc "Invalid value for the paging state"
invokespecial org.apache.cassandra.transport.ProtocolException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 bytes Ljava/nio/ByteBuffer;
0 15 1 protocolVersion Lorg/apache/cassandra/transport/ProtocolVersion;
Exception table:
from to target type
2 4 12 Class java.io.IOException
5 6 12 Class java.io.IOException
7 9 12 Class java.io.IOException
10 11 12 Class java.io.IOException
MethodParameters:
Name Flags
bytes
protocolVersion
private java.nio.ByteBuffer modernSerialize();
descriptor: ()Ljava/nio/ByteBuffer;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=1
start local 0 0: new org.apache.cassandra.io.util.DataOutputBufferFixed
dup
aload 0
invokevirtual org.apache.cassandra.service.pager.PagingState.modernSerializedSize:()I
invokespecial org.apache.cassandra.io.util.DataOutputBufferFixed.<init>:(I)V
astore 1
start local 1 1: aload 0
getfield org.apache.cassandra.service.pager.PagingState.partitionKey:Ljava/nio/ByteBuffer;
ifnonnull 2
getstatic org.apache.cassandra.utils.ByteBufferUtil.EMPTY_BYTE_BUFFER:Ljava/nio/ByteBuffer;
goto 3
StackMap locals: org.apache.cassandra.io.util.DataOutputBuffer
StackMap stack:
2: aload 0
getfield org.apache.cassandra.service.pager.PagingState.partitionKey:Ljava/nio/ByteBuffer;
StackMap locals:
StackMap stack: java.nio.ByteBuffer
3: aload 1
invokestatic org.apache.cassandra.utils.ByteBufferUtil.writeWithVIntLength:(Ljava/nio/ByteBuffer;Lorg/apache/cassandra/io/util/DataOutputPlus;)V
4: aload 0
getfield org.apache.cassandra.service.pager.PagingState.rowMark:Lorg/apache/cassandra/service/pager/PagingState$RowMark;
ifnonnull 5
getstatic org.apache.cassandra.utils.ByteBufferUtil.EMPTY_BYTE_BUFFER:Ljava/nio/ByteBuffer;
goto 6
StackMap locals:
StackMap stack:
5: aload 0
getfield org.apache.cassandra.service.pager.PagingState.rowMark:Lorg/apache/cassandra/service/pager/PagingState$RowMark;
getfield org.apache.cassandra.service.pager.PagingState$RowMark.mark:Ljava/nio/ByteBuffer;
StackMap locals:
StackMap stack: java.nio.ByteBuffer
6: aload 1
invokestatic org.apache.cassandra.utils.ByteBufferUtil.writeWithVIntLength:(Ljava/nio/ByteBuffer;Lorg/apache/cassandra/io/util/DataOutputPlus;)V
7: aload 1
aload 0
getfield org.apache.cassandra.service.pager.PagingState.remaining:I
i2l
invokevirtual org.apache.cassandra.io.util.DataOutputBuffer.writeUnsignedVInt:(J)V
8: aload 1
aload 0
getfield org.apache.cassandra.service.pager.PagingState.remainingInPartition:I
i2l
invokevirtual org.apache.cassandra.io.util.DataOutputBuffer.writeUnsignedVInt:(J)V
9: aload 1
iconst_0
invokevirtual org.apache.cassandra.io.util.DataOutputBuffer.buffer:(Z)Ljava/nio/ByteBuffer;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/cassandra/service/pager/PagingState;
1 10 1 out Lorg/apache/cassandra/io/util/DataOutputBuffer;
Exceptions:
throws java.io.IOException
private static boolean isModernSerialized(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=11, args_size=1
start local 0 0: aload 0
invokevirtual java.nio.ByteBuffer.position:()I
istore 1
start local 1 1: aload 0
invokevirtual java.nio.ByteBuffer.limit:()I
istore 2
start local 2 2: aload 0
iload 1
iload 2
invokestatic org.apache.cassandra.utils.vint.VIntCoding.getUnsignedVInt:(Ljava/nio/ByteBuffer;II)J
lstore 3
start local 3 3: lload 3
lconst_0
lcmp
ifge 5
4: iconst_0
ireturn
5: StackMap locals: int int long
StackMap stack:
iload 1
i2l
lload 3
invokestatic org.apache.cassandra.utils.vint.VIntCoding.computeUnsignedVIntSize:(J)I
i2l
lload 3
ladd
ladd
l2i
istore 1
6: iload 1
iload 2
if_icmplt 8
7: iconst_0
ireturn
8: StackMap locals:
StackMap stack:
aload 0
iload 1
iload 2
invokestatic org.apache.cassandra.utils.vint.VIntCoding.getUnsignedVInt:(Ljava/nio/ByteBuffer;II)J
lstore 5
start local 5 9: lload 5
lconst_0
lcmp
ifge 11
10: iconst_0
ireturn
11: StackMap locals: long
StackMap stack:
iload 1
i2l
lload 5
invokestatic org.apache.cassandra.utils.vint.VIntCoding.computeUnsignedVIntSize:(J)I
i2l
lload 5
ladd
ladd
l2i
istore 1
12: iload 1
iload 2
if_icmplt 14
13: iconst_0
ireturn
14: StackMap locals:
StackMap stack:
aload 0
iload 1
iload 2
invokestatic org.apache.cassandra.utils.vint.VIntCoding.getUnsignedVInt:(Ljava/nio/ByteBuffer;II)J
lstore 7
start local 7 15: lload 7
lconst_0
lcmp
ifge 17
16: iconst_0
ireturn
17: StackMap locals: long
StackMap stack:
iload 1
lload 7
invokestatic org.apache.cassandra.utils.vint.VIntCoding.computeUnsignedVIntSize:(J)I
iadd
istore 1
18: iload 1
iload 2
if_icmplt 20
19: iconst_0
ireturn
20: StackMap locals:
StackMap stack:
aload 0
iload 1
iload 2
invokestatic org.apache.cassandra.utils.vint.VIntCoding.getUnsignedVInt:(Ljava/nio/ByteBuffer;II)J
lstore 9
start local 9 21: lload 9
lconst_0
lcmp
ifge 23
22: iconst_0
ireturn
23: StackMap locals: long
StackMap stack:
iload 1
lload 9
invokestatic org.apache.cassandra.utils.vint.VIntCoding.computeUnsignedVIntSize:(J)I
iadd
istore 1
24: iload 1
iload 2
if_icmpne 25
iconst_1
ireturn
StackMap locals:
StackMap stack:
25: iconst_0
ireturn
end local 9 end local 7 end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 bytes Ljava/nio/ByteBuffer;
1 26 1 index I
2 26 2 limit I
3 26 3 partitionKeyLen J
9 26 5 rowMarkerLen J
15 26 7 remaining J
21 26 9 remainingInPartition J
MethodParameters:
Name Flags
bytes
private static org.apache.cassandra.service.pager.PagingState modernDeserialize(java.nio.ByteBuffer, org.apache.cassandra.transport.ProtocolVersion);
descriptor: (Ljava/nio/ByteBuffer;Lorg/apache/cassandra/transport/ProtocolVersion;)Lorg/apache/cassandra/service/pager/PagingState;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=7, args_size=2
start local 0 start local 1 0: aload 1
getstatic org.apache.cassandra.transport.ProtocolVersion.V4:Lorg/apache/cassandra/transport/ProtocolVersion;
invokevirtual org.apache.cassandra.transport.ProtocolVersion.isSmallerThan:(Lorg/apache/cassandra/transport/ProtocolVersion;)Z
ifeq 2
1: new java.lang.IllegalArgumentException
dup
invokespecial java.lang.IllegalArgumentException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
new org.apache.cassandra.io.util.DataInputBuffer
dup
aload 0
iconst_0
invokespecial org.apache.cassandra.io.util.DataInputBuffer.<init>:(Ljava/nio/ByteBuffer;Z)V
astore 2
start local 2 3: aload 2
invokestatic org.apache.cassandra.utils.ByteBufferUtil.readWithVIntLength:(Lorg/apache/cassandra/io/util/DataInputPlus;)Ljava/nio/ByteBuffer;
astore 3
start local 3 4: aload 2
invokestatic org.apache.cassandra.utils.ByteBufferUtil.readWithVIntLength:(Lorg/apache/cassandra/io/util/DataInputPlus;)Ljava/nio/ByteBuffer;
astore 4
start local 4 5: aload 2
invokevirtual org.apache.cassandra.io.util.DataInputBuffer.readUnsignedVInt:()J
invokestatic com.google.common.primitives.Ints.checkedCast:(J)I
istore 5
start local 5 6: aload 2
invokevirtual org.apache.cassandra.io.util.DataInputBuffer.readUnsignedVInt:()J
invokestatic com.google.common.primitives.Ints.checkedCast:(J)I
istore 6
start local 6 7: new org.apache.cassandra.service.pager.PagingState
dup
aload 3
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifeq 8
aload 3
goto 9
StackMap locals: java.nio.ByteBuffer org.apache.cassandra.transport.ProtocolVersion org.apache.cassandra.io.util.DataInputBuffer java.nio.ByteBuffer java.nio.ByteBuffer int int
StackMap stack: new 7 new 7
8: aconst_null
9: StackMap locals: java.nio.ByteBuffer org.apache.cassandra.transport.ProtocolVersion org.apache.cassandra.io.util.DataInputBuffer java.nio.ByteBuffer java.nio.ByteBuffer int int
StackMap stack: new 7 new 7 java.nio.ByteBuffer
aload 4
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifeq 10
new org.apache.cassandra.service.pager.PagingState$RowMark
dup
aload 4
aload 1
invokespecial org.apache.cassandra.service.pager.PagingState$RowMark.<init>:(Ljava/nio/ByteBuffer;Lorg/apache/cassandra/transport/ProtocolVersion;)V
goto 11
StackMap locals: java.nio.ByteBuffer org.apache.cassandra.transport.ProtocolVersion org.apache.cassandra.io.util.DataInputBuffer java.nio.ByteBuffer java.nio.ByteBuffer int int
StackMap stack: new 7 new 7 java.nio.ByteBuffer
10: aconst_null
11: StackMap locals: java.nio.ByteBuffer org.apache.cassandra.transport.ProtocolVersion org.apache.cassandra.io.util.DataInputBuffer java.nio.ByteBuffer java.nio.ByteBuffer int int
StackMap stack: new 7 new 7 java.nio.ByteBuffer org.apache.cassandra.service.pager.PagingState$RowMark
iload 5
12: iload 6
13: invokespecial org.apache.cassandra.service.pager.PagingState.<init>:(Ljava/nio/ByteBuffer;Lorg/apache/cassandra/service/pager/PagingState$RowMark;II)V
areturn
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 14 0 bytes Ljava/nio/ByteBuffer;
0 14 1 protocolVersion Lorg/apache/cassandra/transport/ProtocolVersion;
3 14 2 in Lorg/apache/cassandra/io/util/DataInputBuffer;
4 14 3 partitionKey Ljava/nio/ByteBuffer;
5 14 4 rawMark Ljava/nio/ByteBuffer;
6 14 5 remaining I
7 14 6 remainingInPartition I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
bytes
protocolVersion
private int modernSerializedSize();
descriptor: ()I
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.service.pager.PagingState.partitionKey:Ljava/nio/ByteBuffer;
ifnonnull 1
getstatic org.apache.cassandra.utils.ByteBufferUtil.EMPTY_BYTE_BUFFER:Ljava/nio/ByteBuffer;
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield org.apache.cassandra.service.pager.PagingState.partitionKey:Ljava/nio/ByteBuffer;
StackMap locals:
StackMap stack: java.nio.ByteBuffer
2: invokestatic org.apache.cassandra.utils.ByteBufferUtil.serializedSizeWithVIntLength:(Ljava/nio/ByteBuffer;)I
3: aload 0
getfield org.apache.cassandra.service.pager.PagingState.rowMark:Lorg/apache/cassandra/service/pager/PagingState$RowMark;
ifnonnull 4
getstatic org.apache.cassandra.utils.ByteBufferUtil.EMPTY_BYTE_BUFFER:Ljava/nio/ByteBuffer;
goto 5
StackMap locals:
StackMap stack: int
4: aload 0
getfield org.apache.cassandra.service.pager.PagingState.rowMark:Lorg/apache/cassandra/service/pager/PagingState$RowMark;
getfield org.apache.cassandra.service.pager.PagingState$RowMark.mark:Ljava/nio/ByteBuffer;
StackMap locals: org.apache.cassandra.service.pager.PagingState
StackMap stack: int java.nio.ByteBuffer
5: invokestatic org.apache.cassandra.utils.ByteBufferUtil.serializedSizeWithVIntLength:(Ljava/nio/ByteBuffer;)I
6: iadd
7: aload 0
getfield org.apache.cassandra.service.pager.PagingState.remaining:I
i2l
invokestatic org.apache.cassandra.db.TypeSizes.sizeofUnsignedVInt:(J)I
8: iadd
9: aload 0
getfield org.apache.cassandra.service.pager.PagingState.remainingInPartition:I
i2l
invokestatic org.apache.cassandra.db.TypeSizes.sizeofUnsignedVInt:(J)I
10: iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/cassandra/service/pager/PagingState;
java.nio.ByteBuffer legacySerialize(boolean);
descriptor: (Z)Ljava/nio/ByteBuffer;
flags: (0x0000)
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: new org.apache.cassandra.io.util.DataOutputBufferFixed
dup
aload 0
iload 1
invokevirtual org.apache.cassandra.service.pager.PagingState.legacySerializedSize:(Z)I
invokespecial org.apache.cassandra.io.util.DataOutputBufferFixed.<init>:(I)V
astore 2
start local 2 1: aload 0
getfield org.apache.cassandra.service.pager.PagingState.partitionKey:Ljava/nio/ByteBuffer;
ifnonnull 2
getstatic org.apache.cassandra.utils.ByteBufferUtil.EMPTY_BYTE_BUFFER:Ljava/nio/ByteBuffer;
goto 3
StackMap locals: org.apache.cassandra.io.util.DataOutputBuffer
StackMap stack:
2: aload 0
getfield org.apache.cassandra.service.pager.PagingState.partitionKey:Ljava/nio/ByteBuffer;
StackMap locals:
StackMap stack: java.nio.ByteBuffer
3: aload 2
invokestatic org.apache.cassandra.utils.ByteBufferUtil.writeWithShortLength:(Ljava/nio/ByteBuffer;Lorg/apache/cassandra/io/util/DataOutputPlus;)V
4: aload 0
getfield org.apache.cassandra.service.pager.PagingState.rowMark:Lorg/apache/cassandra/service/pager/PagingState$RowMark;
ifnonnull 5
getstatic org.apache.cassandra.utils.ByteBufferUtil.EMPTY_BYTE_BUFFER:Ljava/nio/ByteBuffer;
goto 6
StackMap locals:
StackMap stack:
5: aload 0
getfield org.apache.cassandra.service.pager.PagingState.rowMark:Lorg/apache/cassandra/service/pager/PagingState$RowMark;
getfield org.apache.cassandra.service.pager.PagingState$RowMark.mark:Ljava/nio/ByteBuffer;
StackMap locals:
StackMap stack: java.nio.ByteBuffer
6: aload 2
invokestatic org.apache.cassandra.utils.ByteBufferUtil.writeWithShortLength:(Ljava/nio/ByteBuffer;Lorg/apache/cassandra/io/util/DataOutputPlus;)V
7: aload 2
aload 0
getfield org.apache.cassandra.service.pager.PagingState.remaining:I
invokevirtual org.apache.cassandra.io.util.DataOutputBuffer.writeInt:(I)V
8: iload 1
ifeq 10
9: aload 2
aload 0
getfield org.apache.cassandra.service.pager.PagingState.remainingInPartition:I
invokevirtual org.apache.cassandra.io.util.DataOutputBuffer.writeInt:(I)V
10: StackMap locals:
StackMap stack:
aload 2
iconst_0
invokevirtual org.apache.cassandra.io.util.DataOutputBuffer.buffer:(Z)Ljava/nio/ByteBuffer;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/cassandra/service/pager/PagingState;
0 11 1 withRemainingInPartition Z
1 11 2 out Lorg/apache/cassandra/io/util/DataOutputBuffer;
Exceptions:
throws java.io.IOException
RuntimeInvisibleAnnotations:
com.google.common.annotations.VisibleForTesting()
RuntimeInvisibleTypeAnnotations:
METHOD_RETURN
com.google.common.annotations.VisibleForTesting()
MethodParameters:
Name Flags
withRemainingInPartition
private static boolean isLegacySerialized(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=7, args_size=1
start local 0 0: aload 0
invokevirtual java.nio.ByteBuffer.position:()I
istore 1
start local 1 1: aload 0
invokevirtual java.nio.ByteBuffer.limit:()I
istore 2
start local 2 2: iload 2
iload 1
isub
iconst_2
if_icmpge 4
3: iconst_0
ireturn
4: StackMap locals: int int
StackMap stack:
aload 0
iload 1
invokevirtual java.nio.ByteBuffer.getShort:(I)S
istore 3
start local 3 5: iload 3
ifge 7
6: iconst_0
ireturn
7: StackMap locals: int
StackMap stack:
iload 1
iconst_2
iload 3
iadd
iadd
istore 1
8: iload 2
iload 1
isub
iconst_2
if_icmpge 10
9: iconst_0
ireturn
10: StackMap locals:
StackMap stack:
aload 0
iload 1
invokevirtual java.nio.ByteBuffer.getShort:(I)S
istore 4
start local 4 11: iload 4
ifge 13
12: iconst_0
ireturn
13: StackMap locals: int
StackMap stack:
iload 1
iconst_2
iload 4
iadd
iadd
istore 1
14: iload 2
iload 1
isub
iconst_4
if_icmpge 16
15: iconst_0
ireturn
16: StackMap locals:
StackMap stack:
aload 0
iload 1
invokevirtual java.nio.ByteBuffer.getInt:(I)I
istore 5
start local 5 17: iload 5
ifge 19
18: iconst_0
ireturn
19: StackMap locals: int
StackMap stack:
iinc 1 4
20: iload 1
iload 2
if_icmpne 22
21: iconst_1
ireturn
22: StackMap locals:
StackMap stack:
iload 2
iload 1
isub
iconst_4
if_icmpne 26
23: aload 0
iload 1
invokevirtual java.nio.ByteBuffer.getInt:(I)I
istore 6
start local 6 24: iload 6
iflt 25
iconst_1
ireturn
StackMap locals: int
StackMap stack:
25: iconst_0
ireturn
end local 6 26: StackMap locals:
StackMap stack:
iconst_0
ireturn
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 27 0 bytes Ljava/nio/ByteBuffer;
1 27 1 index I
2 27 2 limit I
5 27 3 partitionKeyLen S
11 27 4 rowMarkerLen S
17 27 5 remaining I
24 26 6 remainingInPartition I
MethodParameters:
Name Flags
bytes
private static org.apache.cassandra.service.pager.PagingState legacyDeserialize(java.nio.ByteBuffer, org.apache.cassandra.transport.ProtocolVersion);
descriptor: (Ljava/nio/ByteBuffer;Lorg/apache/cassandra/transport/ProtocolVersion;)Lorg/apache/cassandra/service/pager/PagingState;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=7, args_size=2
start local 0 start local 1 0: aload 1
getstatic org.apache.cassandra.transport.ProtocolVersion.V3:Lorg/apache/cassandra/transport/ProtocolVersion;
invokevirtual org.apache.cassandra.transport.ProtocolVersion.isGreaterThan:(Lorg/apache/cassandra/transport/ProtocolVersion;)Z
ifeq 2
1: new java.lang.IllegalArgumentException
dup
invokespecial java.lang.IllegalArgumentException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
new org.apache.cassandra.io.util.DataInputBuffer
dup
aload 0
iconst_0
invokespecial org.apache.cassandra.io.util.DataInputBuffer.<init>:(Ljava/nio/ByteBuffer;Z)V
astore 2
start local 2 3: aload 2
invokestatic org.apache.cassandra.utils.ByteBufferUtil.readWithShortLength:(Ljava/io/DataInput;)Ljava/nio/ByteBuffer;
astore 3
start local 3 4: aload 2
invokestatic org.apache.cassandra.utils.ByteBufferUtil.readWithShortLength:(Ljava/io/DataInput;)Ljava/nio/ByteBuffer;
astore 4
start local 4 5: aload 2
invokevirtual org.apache.cassandra.io.util.DataInputBuffer.readInt:()I
istore 5
start local 5 6: aload 2
invokevirtual org.apache.cassandra.io.util.DataInputBuffer.available:()I
ifle 7
aload 2
invokevirtual org.apache.cassandra.io.util.DataInputBuffer.readInt:()I
goto 8
StackMap locals: java.nio.ByteBuffer org.apache.cassandra.transport.ProtocolVersion org.apache.cassandra.io.util.DataInputBuffer java.nio.ByteBuffer java.nio.ByteBuffer int
StackMap stack:
7: ldc 2147483647
StackMap locals:
StackMap stack: int
8: istore 6
start local 6 9: new org.apache.cassandra.service.pager.PagingState
dup
aload 3
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifeq 10
aload 3
goto 11
StackMap locals: java.nio.ByteBuffer org.apache.cassandra.transport.ProtocolVersion org.apache.cassandra.io.util.DataInputBuffer java.nio.ByteBuffer java.nio.ByteBuffer int int
StackMap stack: new 9 new 9
10: aconst_null
11: StackMap locals: java.nio.ByteBuffer org.apache.cassandra.transport.ProtocolVersion org.apache.cassandra.io.util.DataInputBuffer java.nio.ByteBuffer java.nio.ByteBuffer int int
StackMap stack: new 9 new 9 java.nio.ByteBuffer
aload 4
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifeq 12
new org.apache.cassandra.service.pager.PagingState$RowMark
dup
aload 4
aload 1
invokespecial org.apache.cassandra.service.pager.PagingState$RowMark.<init>:(Ljava/nio/ByteBuffer;Lorg/apache/cassandra/transport/ProtocolVersion;)V
goto 13
StackMap locals: java.nio.ByteBuffer org.apache.cassandra.transport.ProtocolVersion org.apache.cassandra.io.util.DataInputBuffer java.nio.ByteBuffer java.nio.ByteBuffer int int
StackMap stack: new 9 new 9 java.nio.ByteBuffer
12: aconst_null
13: StackMap locals: java.nio.ByteBuffer org.apache.cassandra.transport.ProtocolVersion org.apache.cassandra.io.util.DataInputBuffer java.nio.ByteBuffer java.nio.ByteBuffer int int
StackMap stack: new 9 new 9 java.nio.ByteBuffer org.apache.cassandra.service.pager.PagingState$RowMark
iload 5
14: iload 6
15: invokespecial org.apache.cassandra.service.pager.PagingState.<init>:(Ljava/nio/ByteBuffer;Lorg/apache/cassandra/service/pager/PagingState$RowMark;II)V
areturn
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 16 0 bytes Ljava/nio/ByteBuffer;
0 16 1 protocolVersion Lorg/apache/cassandra/transport/ProtocolVersion;
3 16 2 in Lorg/apache/cassandra/io/util/DataInputBuffer;
4 16 3 partitionKey Ljava/nio/ByteBuffer;
5 16 4 rawMark Ljava/nio/ByteBuffer;
6 16 5 remaining I
9 16 6 remainingInPartition I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
bytes
protocolVersion
int legacySerializedSize(boolean);
descriptor: (Z)I
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.service.pager.PagingState.partitionKey:Ljava/nio/ByteBuffer;
ifnonnull 1
getstatic org.apache.cassandra.utils.ByteBufferUtil.EMPTY_BYTE_BUFFER:Ljava/nio/ByteBuffer;
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield org.apache.cassandra.service.pager.PagingState.partitionKey:Ljava/nio/ByteBuffer;
StackMap locals:
StackMap stack: java.nio.ByteBuffer
2: invokestatic org.apache.cassandra.utils.ByteBufferUtil.serializedSizeWithShortLength:(Ljava/nio/ByteBuffer;)I
3: aload 0
getfield org.apache.cassandra.service.pager.PagingState.rowMark:Lorg/apache/cassandra/service/pager/PagingState$RowMark;
ifnonnull 4
getstatic org.apache.cassandra.utils.ByteBufferUtil.EMPTY_BYTE_BUFFER:Ljava/nio/ByteBuffer;
goto 5
StackMap locals:
StackMap stack: int
4: aload 0
getfield org.apache.cassandra.service.pager.PagingState.rowMark:Lorg/apache/cassandra/service/pager/PagingState$RowMark;
getfield org.apache.cassandra.service.pager.PagingState$RowMark.mark:Ljava/nio/ByteBuffer;
StackMap locals: org.apache.cassandra.service.pager.PagingState int
StackMap stack: int java.nio.ByteBuffer
5: invokestatic org.apache.cassandra.utils.ByteBufferUtil.serializedSizeWithShortLength:(Ljava/nio/ByteBuffer;)I
6: iadd
7: aload 0
getfield org.apache.cassandra.service.pager.PagingState.remaining:I
invokestatic org.apache.cassandra.db.TypeSizes.sizeof:(I)I
8: iadd
9: iload 1
ifeq 10
aload 0
getfield org.apache.cassandra.service.pager.PagingState.remainingInPartition:I
invokestatic org.apache.cassandra.db.TypeSizes.sizeof:(I)I
goto 11
StackMap locals:
StackMap stack: int
10: iconst_0
11: StackMap locals: org.apache.cassandra.service.pager.PagingState int
StackMap stack: int int
iadd
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/apache/cassandra/service/pager/PagingState;
0 12 1 withRemainingInPartition Z
RuntimeInvisibleAnnotations:
com.google.common.annotations.VisibleForTesting()
RuntimeInvisibleTypeAnnotations:
METHOD_RETURN
com.google.common.annotations.VisibleForTesting()
MethodParameters:
Name Flags
withRemainingInPartition
public final int hashCode();
descriptor: ()I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=1, args_size=1
start local 0 0: iconst_4
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.apache.cassandra.service.pager.PagingState.partitionKey:Ljava/nio/ByteBuffer;
aastore
dup
iconst_1
aload 0
getfield org.apache.cassandra.service.pager.PagingState.rowMark:Lorg/apache/cassandra/service/pager/PagingState$RowMark;
aastore
dup
iconst_2
aload 0
getfield org.apache.cassandra.service.pager.PagingState.remaining:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
aload 0
getfield org.apache.cassandra.service.pager.PagingState.remainingInPartition:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.util.Objects.hash:([Ljava/lang/Object;)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/service/pager/PagingState;
public final boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.apache.cassandra.service.pager.PagingState
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
checkcast org.apache.cassandra.service.pager.PagingState
astore 2
start local 2 3: aload 0
getfield org.apache.cassandra.service.pager.PagingState.partitionKey:Ljava/nio/ByteBuffer;
aload 2
getfield org.apache.cassandra.service.pager.PagingState.partitionKey:Ljava/nio/ByteBuffer;
invokestatic java.util.Objects.equals:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 8
4: aload 0
getfield org.apache.cassandra.service.pager.PagingState.rowMark:Lorg/apache/cassandra/service/pager/PagingState$RowMark;
aload 2
getfield org.apache.cassandra.service.pager.PagingState.rowMark:Lorg/apache/cassandra/service/pager/PagingState$RowMark;
invokestatic java.util.Objects.equals:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 8
5: aload 0
getfield org.apache.cassandra.service.pager.PagingState.remaining:I
aload 2
getfield org.apache.cassandra.service.pager.PagingState.remaining:I
if_icmpne 8
6: aload 0
getfield org.apache.cassandra.service.pager.PagingState.remainingInPartition:I
aload 2
getfield org.apache.cassandra.service.pager.PagingState.remainingInPartition:I
if_icmpne 8
7: iconst_1
ireturn
StackMap locals: org.apache.cassandra.service.pager.PagingState
StackMap stack:
8: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/cassandra/service/pager/PagingState;
0 9 1 o Ljava/lang/Object;
3 9 2 that Lorg/apache/cassandra/service/pager/PagingState;
MethodParameters:
Name Flags
o
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: ldc "PagingState(key=%s, cellname=%s, remaining=%d, remainingInPartition=%d"
iconst_4
anewarray java.lang.Object
dup
iconst_0
1: aload 0
getfield org.apache.cassandra.service.pager.PagingState.partitionKey:Ljava/nio/ByteBuffer;
ifnull 2
aload 0
getfield org.apache.cassandra.service.pager.PagingState.partitionKey:Ljava/nio/ByteBuffer;
invokestatic org.apache.cassandra.utils.ByteBufferUtil.bytesToHex:(Ljava/nio/ByteBuffer;)Ljava/lang/String;
goto 3
StackMap locals: org.apache.cassandra.service.pager.PagingState
StackMap stack: java.lang.String java.lang.Object[] java.lang.Object[] int
2: aconst_null
StackMap locals: org.apache.cassandra.service.pager.PagingState
StackMap stack: java.lang.String java.lang.Object[] java.lang.Object[] int java.lang.String
3: aastore
dup
iconst_1
4: aload 0
getfield org.apache.cassandra.service.pager.PagingState.rowMark:Lorg/apache/cassandra/service/pager/PagingState$RowMark;
aastore
dup
iconst_2
5: aload 0
getfield org.apache.cassandra.service.pager.PagingState.remaining:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
6: aload 0
getfield org.apache.cassandra.service.pager.PagingState.remainingInPartition:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
7: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/cassandra/service/pager/PagingState;
}
SourceFile: "PagingState.java"
NestMembers:
org.apache.cassandra.service.pager.PagingState$RowMark
InnerClasses:
public RowMark = org.apache.cassandra.service.pager.PagingState$RowMark of org.apache.cassandra.service.pager.PagingState