public class org.apache.cassandra.db.Clustering$Serializer
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.db.Clustering$Serializer
super_class: java.lang.Object
{
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/db/Clustering;
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.db.Clustering$Serializer.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
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/Clustering$Serializer;
public void serialize(org.apache.cassandra.db.Clustering, org.apache.cassandra.io.util.DataOutputPlus, int, java.util.List<org.apache.cassandra.db.marshal.AbstractType<?>>);
descriptor: (Lorg/apache/cassandra/db/Clustering;Lorg/apache/cassandra/io/util/DataOutputPlus;ILjava/util/List;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: getstatic org.apache.cassandra.db.Clustering$Serializer.$assertionsDisabled:Z
ifne 1
aload 1
getstatic org.apache.cassandra.db.Clustering.STATIC_CLUSTERING:Lorg/apache/cassandra/db/Clustering;
if_acmpne 1
new java.lang.AssertionError
dup
ldc "We should never serialize a static clustering"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
1: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.db.Clustering$Serializer.$assertionsDisabled:Z
ifne 2
aload 1
invokeinterface org.apache.cassandra.db.Clustering.size:()I
aload 4
invokeinterface java.util.List.size:()I
if_icmpeq 2
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "Invalid clustering for the table: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
2: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.db.ClusteringPrefix.serializer:Lorg/apache/cassandra/db/ClusteringPrefix$Serializer;
aload 1
aload 2
iload 3
aload 4
invokevirtual org.apache.cassandra.db.ClusteringPrefix$Serializer.serializeValuesWithoutSize:(Lorg/apache/cassandra/db/ClusteringPrefix;Lorg/apache/cassandra/io/util/DataOutputPlus;ILjava/util/List;)V
3: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/db/Clustering$Serializer;
0 4 1 clustering Lorg/apache/cassandra/db/Clustering;
0 4 2 out Lorg/apache/cassandra/io/util/DataOutputPlus;
0 4 3 version I
0 4 4 types Ljava/util/List<Lorg/apache/cassandra/db/marshal/AbstractType<*>;>;
Exceptions:
throws java.io.IOException
Signature: (Lorg/apache/cassandra/db/Clustering;Lorg/apache/cassandra/io/util/DataOutputPlus;ILjava/util/List<Lorg/apache/cassandra/db/marshal/AbstractType<*>;>;)V
MethodParameters:
Name Flags
clustering
out
version
types
public java.nio.ByteBuffer serialize(org.apache.cassandra.db.Clustering, int, java.util.List<org.apache.cassandra.db.marshal.AbstractType<?>>);
descriptor: (Lorg/apache/cassandra/db/Clustering;ILjava/util/List;)Ljava/nio/ByteBuffer;
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: aconst_null
astore 4
aconst_null
astore 5
1: new org.apache.cassandra.io.util.DataOutputBuffer
dup
aload 0
aload 1
iload 2
aload 3
invokevirtual org.apache.cassandra.db.Clustering$Serializer.serializedSize:(Lorg/apache/cassandra/db/Clustering;ILjava/util/List;)J
l2i
invokespecial org.apache.cassandra.io.util.DataOutputBuffer.<init>:(I)V
astore 6
start local 6 2: aload 0
aload 1
aload 6
iload 2
aload 3
invokevirtual org.apache.cassandra.db.Clustering$Serializer.serialize:(Lorg/apache/cassandra/db/Clustering;Lorg/apache/cassandra/io/util/DataOutputPlus;ILjava/util/List;)V
3: aload 6
invokevirtual org.apache.cassandra.io.util.DataOutputBuffer.buffer:()Ljava/nio/ByteBuffer;
4: aload 6
ifnull 5
aload 6
invokevirtual org.apache.cassandra.io.util.DataOutputBuffer.close:()V
5: StackMap locals: org.apache.cassandra.db.Clustering$Serializer org.apache.cassandra.db.Clustering int java.util.List java.lang.Throwable java.lang.Throwable org.apache.cassandra.io.util.DataOutputBuffer
StackMap stack: java.nio.ByteBuffer
areturn
StackMap locals:
StackMap stack: java.lang.Throwable
6: astore 4
7: aload 6
ifnull 8
aload 6
invokevirtual org.apache.cassandra.io.util.DataOutputBuffer.close:()V
end local 6 StackMap locals:
StackMap stack:
8: aload 4
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
9: astore 5
aload 4
ifnonnull 10
aload 5
astore 4
goto 11
StackMap locals:
StackMap stack:
10: aload 4
aload 5
if_acmpeq 11
aload 4
aload 5
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
11: aload 4
athrow
12: StackMap locals: org.apache.cassandra.db.Clustering$Serializer org.apache.cassandra.db.Clustering int java.util.List
StackMap stack: java.io.IOException
astore 4
start local 4 13: new java.lang.RuntimeException
dup
ldc "Writting to an in-memory buffer shouldn't trigger an IOException"
aload 4
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 4 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/db/Clustering$Serializer;
0 14 1 clustering Lorg/apache/cassandra/db/Clustering;
0 14 2 version I
0 14 3 types Ljava/util/List<Lorg/apache/cassandra/db/marshal/AbstractType<*>;>;
2 8 6 buffer Lorg/apache/cassandra/io/util/DataOutputBuffer;
13 14 4 e Ljava/io/IOException;
Exception table:
from to target type
2 4 6 any
1 5 9 any
6 9 9 any
0 5 12 Class java.io.IOException
6 12 12 Class java.io.IOException
Signature: (Lorg/apache/cassandra/db/Clustering;ILjava/util/List<Lorg/apache/cassandra/db/marshal/AbstractType<*>;>;)Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
clustering
version
types
public long serializedSize(org.apache.cassandra.db.Clustering, int, java.util.List<org.apache.cassandra.db.marshal.AbstractType<?>>);
descriptor: (Lorg/apache/cassandra/db/Clustering;ILjava/util/List;)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic org.apache.cassandra.db.ClusteringPrefix.serializer:Lorg/apache/cassandra/db/ClusteringPrefix$Serializer;
aload 1
iload 2
aload 3
invokevirtual org.apache.cassandra.db.ClusteringPrefix$Serializer.valuesWithoutSizeSerializedSize:(Lorg/apache/cassandra/db/ClusteringPrefix;ILjava/util/List;)J
lreturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/Clustering$Serializer;
0 1 1 clustering Lorg/apache/cassandra/db/Clustering;
0 1 2 version I
0 1 3 types Ljava/util/List<Lorg/apache/cassandra/db/marshal/AbstractType<*>;>;
Signature: (Lorg/apache/cassandra/db/Clustering;ILjava/util/List<Lorg/apache/cassandra/db/marshal/AbstractType<*>;>;)J
MethodParameters:
Name Flags
clustering
version
types
public void skip(org.apache.cassandra.io.util.DataInputPlus, int, java.util.List<org.apache.cassandra.db.marshal.AbstractType<?>>);
descriptor: (Lorg/apache/cassandra/io/util/DataInputPlus;ILjava/util/List;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
invokeinterface java.util.List.isEmpty:()Z
ifne 2
1: getstatic org.apache.cassandra.db.ClusteringPrefix.serializer:Lorg/apache/cassandra/db/ClusteringPrefix$Serializer;
aload 1
aload 3
invokeinterface java.util.List.size:()I
iload 2
aload 3
invokevirtual org.apache.cassandra.db.ClusteringPrefix$Serializer.skipValuesWithoutSize:(Lorg/apache/cassandra/io/util/DataInputPlus;IILjava/util/List;)V
2: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/db/Clustering$Serializer;
0 3 1 in Lorg/apache/cassandra/io/util/DataInputPlus;
0 3 2 version I
0 3 3 types Ljava/util/List<Lorg/apache/cassandra/db/marshal/AbstractType<*>;>;
Exceptions:
throws java.io.IOException
Signature: (Lorg/apache/cassandra/io/util/DataInputPlus;ILjava/util/List<Lorg/apache/cassandra/db/marshal/AbstractType<*>;>;)V
MethodParameters:
Name Flags
in
version
types
public org.apache.cassandra.db.Clustering deserialize(org.apache.cassandra.io.util.DataInputPlus, int, java.util.List<org.apache.cassandra.db.marshal.AbstractType<?>>);
descriptor: (Lorg/apache/cassandra/io/util/DataInputPlus;ILjava/util/List;)Lorg/apache/cassandra/db/Clustering;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
invokeinterface java.util.List.isEmpty:()Z
ifeq 2
1: getstatic org.apache.cassandra.db.Clustering.EMPTY:Lorg/apache/cassandra/db/Clustering;
areturn
2: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.db.ClusteringPrefix.serializer:Lorg/apache/cassandra/db/ClusteringPrefix$Serializer;
aload 1
aload 3
invokeinterface java.util.List.size:()I
iload 2
aload 3
invokevirtual org.apache.cassandra.db.ClusteringPrefix$Serializer.deserializeValuesWithoutSize:(Lorg/apache/cassandra/io/util/DataInputPlus;IILjava/util/List;)[Ljava/nio/ByteBuffer;
astore 4
start local 4 3: new org.apache.cassandra.db.BufferClustering
dup
aload 4
invokespecial org.apache.cassandra.db.BufferClustering.<init>:([Ljava/nio/ByteBuffer;)V
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/db/Clustering$Serializer;
0 4 1 in Lorg/apache/cassandra/io/util/DataInputPlus;
0 4 2 version I
0 4 3 types Ljava/util/List<Lorg/apache/cassandra/db/marshal/AbstractType<*>;>;
3 4 4 values [Ljava/nio/ByteBuffer;
Exceptions:
throws java.io.IOException
Signature: (Lorg/apache/cassandra/io/util/DataInputPlus;ILjava/util/List<Lorg/apache/cassandra/db/marshal/AbstractType<*>;>;)Lorg/apache/cassandra/db/Clustering;
MethodParameters:
Name Flags
in
version
types
public org.apache.cassandra.db.Clustering deserialize(java.nio.ByteBuffer, int, java.util.List<org.apache.cassandra.db.marshal.AbstractType<?>>);
descriptor: (Ljava/nio/ByteBuffer;ILjava/util/List;)Lorg/apache/cassandra/db/Clustering;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aconst_null
astore 4
aconst_null
astore 5
1: new org.apache.cassandra.io.util.DataInputBuffer
dup
aload 1
iconst_1
invokespecial org.apache.cassandra.io.util.DataInputBuffer.<init>:(Ljava/nio/ByteBuffer;Z)V
astore 6
start local 6 2: aload 0
aload 6
iload 2
aload 3
invokevirtual org.apache.cassandra.db.Clustering$Serializer.deserialize:(Lorg/apache/cassandra/io/util/DataInputPlus;ILjava/util/List;)Lorg/apache/cassandra/db/Clustering;
3: aload 6
ifnull 4
aload 6
invokevirtual org.apache.cassandra.io.util.DataInputBuffer.close:()V
4: StackMap locals: org.apache.cassandra.db.Clustering$Serializer java.nio.ByteBuffer int java.util.List java.lang.Throwable java.lang.Throwable org.apache.cassandra.io.util.DataInputBuffer
StackMap stack: org.apache.cassandra.db.Clustering
areturn
StackMap locals:
StackMap stack: java.lang.Throwable
5: astore 4
6: aload 6
ifnull 7
aload 6
invokevirtual org.apache.cassandra.io.util.DataInputBuffer.close:()V
end local 6 StackMap locals:
StackMap stack:
7: aload 4
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
8: astore 5
aload 4
ifnonnull 9
aload 5
astore 4
goto 10
StackMap locals:
StackMap stack:
9: aload 4
aload 5
if_acmpeq 10
aload 4
aload 5
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
10: aload 4
athrow
11: StackMap locals: org.apache.cassandra.db.Clustering$Serializer java.nio.ByteBuffer int java.util.List
StackMap stack: java.io.IOException
astore 4
start local 4 12: new java.lang.RuntimeException
dup
ldc "Reading from an in-memory buffer shouldn't trigger an IOException"
aload 4
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
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/Clustering$Serializer;
0 13 1 in Ljava/nio/ByteBuffer;
0 13 2 version I
0 13 3 types Ljava/util/List<Lorg/apache/cassandra/db/marshal/AbstractType<*>;>;
2 7 6 buffer Lorg/apache/cassandra/io/util/DataInputBuffer;
12 13 4 e Ljava/io/IOException;
Exception table:
from to target type
2 3 5 any
1 4 8 any
5 8 8 any
0 4 11 Class java.io.IOException
5 11 11 Class java.io.IOException
Signature: (Ljava/nio/ByteBuffer;ILjava/util/List<Lorg/apache/cassandra/db/marshal/AbstractType<*>;>;)Lorg/apache/cassandra/db/Clustering;
MethodParameters:
Name Flags
in
version
types
}
SourceFile: "Clustering.java"
NestHost: org.apache.cassandra.db.Clustering
InnerClasses:
public Serializer = org.apache.cassandra.db.Clustering$Serializer of org.apache.cassandra.db.Clustering
public Serializer = org.apache.cassandra.db.ClusteringPrefix$Serializer of org.apache.cassandra.db.ClusteringPrefix