public class org.apache.cassandra.db.PartitionPosition$RowPositionSerializer implements org.apache.cassandra.dht.IPartitionerDependentSerializer<org.apache.cassandra.db.PartitionPosition>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.db.PartitionPosition$RowPositionSerializer
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/PartitionPosition$RowPositionSerializer;
public void serialize(org.apache.cassandra.db.PartitionPosition, org.apache.cassandra.io.util.DataOutputPlus, int);
descriptor: (Lorg/apache/cassandra/db/PartitionPosition;Lorg/apache/cassandra/io/util/DataOutputPlus;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokeinterface org.apache.cassandra.db.PartitionPosition.kind:()Lorg/apache/cassandra/db/PartitionPosition$Kind;
astore 4
start local 4 1: aload 2
aload 4
invokevirtual org.apache.cassandra.db.PartitionPosition$Kind.ordinal:()I
invokeinterface org.apache.cassandra.io.util.DataOutputPlus.writeByte:(I)V
2: aload 4
getstatic org.apache.cassandra.db.PartitionPosition$Kind.ROW_KEY:Lorg/apache/cassandra/db/PartitionPosition$Kind;
if_acmpne 4
3: aload 1
checkcast org.apache.cassandra.db.DecoratedKey
invokevirtual org.apache.cassandra.db.DecoratedKey.getKey:()Ljava/nio/ByteBuffer;
aload 2
invokestatic org.apache.cassandra.utils.ByteBufferUtil.writeWithShortLength:(Ljava/nio/ByteBuffer;Lorg/apache/cassandra/io/util/DataOutputPlus;)V
goto 5
4: StackMap locals: org.apache.cassandra.db.PartitionPosition$Kind
StackMap stack:
getstatic org.apache.cassandra.dht.Token.serializer:Lorg/apache/cassandra/dht/Token$TokenSerializer;
aload 1
invokeinterface org.apache.cassandra.db.PartitionPosition.getToken:()Lorg/apache/cassandra/dht/Token;
aload 2
iload 3
invokevirtual org.apache.cassandra.dht.Token$TokenSerializer.serialize:(Lorg/apache/cassandra/dht/Token;Lorg/apache/cassandra/io/util/DataOutputPlus;I)V
5: StackMap locals:
StackMap stack:
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/db/PartitionPosition$RowPositionSerializer;
0 6 1 pos Lorg/apache/cassandra/db/PartitionPosition;
0 6 2 out Lorg/apache/cassandra/io/util/DataOutputPlus;
0 6 3 version I
1 6 4 kind Lorg/apache/cassandra/db/PartitionPosition$Kind;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
pos
out
version
public org.apache.cassandra.db.PartitionPosition deserialize(java.io.DataInput, org.apache.cassandra.dht.IPartitioner, int);
descriptor: (Ljava/io/DataInput;Lorg/apache/cassandra/dht/IPartitioner;I)Lorg/apache/cassandra/db/PartitionPosition;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokeinterface java.io.DataInput.readByte:()B
invokestatic org.apache.cassandra.db.PartitionPosition$Kind.fromOrdinal:(I)Lorg/apache/cassandra/db/PartitionPosition$Kind;
astore 4
start local 4 1: aload 4
getstatic org.apache.cassandra.db.PartitionPosition$Kind.ROW_KEY:Lorg/apache/cassandra/db/PartitionPosition$Kind;
if_acmpne 4
2: aload 1
invokestatic org.apache.cassandra.utils.ByteBufferUtil.readWithShortLength:(Ljava/io/DataInput;)Ljava/nio/ByteBuffer;
astore 5
start local 5 3: aload 2
aload 5
invokeinterface org.apache.cassandra.dht.IPartitioner.decorateKey:(Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/db/DecoratedKey;
areturn
end local 5 4: StackMap locals: org.apache.cassandra.db.PartitionPosition$Kind
StackMap stack:
getstatic org.apache.cassandra.dht.Token.serializer:Lorg/apache/cassandra/dht/Token$TokenSerializer;
aload 1
aload 2
iload 3
invokevirtual org.apache.cassandra.dht.Token$TokenSerializer.deserialize:(Ljava/io/DataInput;Lorg/apache/cassandra/dht/IPartitioner;I)Lorg/apache/cassandra/dht/Token;
astore 5
start local 5 5: aload 4
getstatic org.apache.cassandra.db.PartitionPosition$Kind.MIN_BOUND:Lorg/apache/cassandra/db/PartitionPosition$Kind;
if_acmpne 6
aload 5
invokevirtual org.apache.cassandra.dht.Token.minKeyBound:()Lorg/apache/cassandra/dht/Token$KeyBound;
goto 7
StackMap locals: org.apache.cassandra.dht.Token
StackMap stack:
6: aload 5
invokevirtual org.apache.cassandra.dht.Token.maxKeyBound:()Lorg/apache/cassandra/dht/Token$KeyBound;
StackMap locals:
StackMap stack: org.apache.cassandra.dht.Token$KeyBound
7: 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 8 0 this Lorg/apache/cassandra/db/PartitionPosition$RowPositionSerializer;
0 8 1 in Ljava/io/DataInput;
0 8 2 p Lorg/apache/cassandra/dht/IPartitioner;
0 8 3 version I
1 8 4 kind Lorg/apache/cassandra/db/PartitionPosition$Kind;
3 4 5 k Ljava/nio/ByteBuffer;
5 8 5 t Lorg/apache/cassandra/dht/Token;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
in
p
version
public long serializedSize(org.apache.cassandra.db.PartitionPosition, int);
descriptor: (Lorg/apache/cassandra/db/PartitionPosition;I)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokeinterface org.apache.cassandra.db.PartitionPosition.kind:()Lorg/apache/cassandra/db/PartitionPosition$Kind;
astore 3
start local 3 1: iconst_1
istore 4
start local 4 2: aload 3
getstatic org.apache.cassandra.db.PartitionPosition$Kind.ROW_KEY:Lorg/apache/cassandra/db/PartitionPosition$Kind;
if_acmpne 6
3: aload 1
checkcast org.apache.cassandra.db.DecoratedKey
invokevirtual org.apache.cassandra.db.DecoratedKey.getKey:()Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.remaining:()I
istore 5
start local 5 4: iload 4
iload 5
i2s
invokestatic org.apache.cassandra.db.TypeSizes.sizeof:(S)I
iload 5
iadd
iadd
istore 4
end local 5 5: goto 7
6: StackMap locals: org.apache.cassandra.db.PartitionPosition$Kind int
StackMap stack:
iload 4
i2l
getstatic org.apache.cassandra.dht.Token.serializer:Lorg/apache/cassandra/dht/Token$TokenSerializer;
aload 1
invokeinterface org.apache.cassandra.db.PartitionPosition.getToken:()Lorg/apache/cassandra/dht/Token;
iload 2
invokevirtual org.apache.cassandra.dht.Token$TokenSerializer.serializedSize:(Lorg/apache/cassandra/dht/Token;I)J
ladd
l2i
istore 4
7: StackMap locals:
StackMap stack:
iload 4
i2l
lreturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/cassandra/db/PartitionPosition$RowPositionSerializer;
0 8 1 pos Lorg/apache/cassandra/db/PartitionPosition;
0 8 2 version I
1 8 3 kind Lorg/apache/cassandra/db/PartitionPosition$Kind;
2 8 4 size I
4 5 5 keySize I
MethodParameters:
Name Flags
pos
version
public void serialize(java.lang.Object, org.apache.cassandra.io.util.DataOutputPlus, int);
descriptor: (Ljava/lang/Object;Lorg/apache/cassandra/io/util/DataOutputPlus;I)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=4
0: aload 0
aload 1
checkcast org.apache.cassandra.db.PartitionPosition
aload 2
iload 3
invokevirtual org.apache.cassandra.db.PartitionPosition$RowPositionSerializer.serialize:(Lorg/apache/cassandra/db/PartitionPosition;Lorg/apache/cassandra/io/util/DataOutputPlus;I)V
return
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.io.IOException
public long serializedSize(java.lang.Object, int);
descriptor: (Ljava/lang/Object;I)J
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
checkcast org.apache.cassandra.db.PartitionPosition
iload 2
invokevirtual org.apache.cassandra.db.PartitionPosition$RowPositionSerializer.serializedSize:(Lorg/apache/cassandra/db/PartitionPosition;I)J
lreturn
LocalVariableTable:
Start End Slot Name Signature
public java.lang.Object deserialize(java.io.DataInput, org.apache.cassandra.dht.IPartitioner, int);
descriptor: (Ljava/io/DataInput;Lorg/apache/cassandra/dht/IPartitioner;I)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=4
0: aload 0
aload 1
aload 2
iload 3
invokevirtual org.apache.cassandra.db.PartitionPosition$RowPositionSerializer.deserialize:(Ljava/io/DataInput;Lorg/apache/cassandra/dht/IPartitioner;I)Lorg/apache/cassandra/db/PartitionPosition;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.io.IOException
}
Signature: Ljava/lang/Object;Lorg/apache/cassandra/dht/IPartitionerDependentSerializer<Lorg/apache/cassandra/db/PartitionPosition;>;
SourceFile: "PartitionPosition.java"
NestHost: org.apache.cassandra.db.PartitionPosition
InnerClasses:
public final Kind = org.apache.cassandra.db.PartitionPosition$Kind of org.apache.cassandra.db.PartitionPosition
public RowPositionSerializer = org.apache.cassandra.db.PartitionPosition$RowPositionSerializer of org.apache.cassandra.db.PartitionPosition
public KeyBound = org.apache.cassandra.dht.Token$KeyBound of org.apache.cassandra.dht.Token
public TokenSerializer = org.apache.cassandra.dht.Token$TokenSerializer of org.apache.cassandra.dht.Token