public class org.apache.cassandra.cql3.Sets$Value extends org.apache.cassandra.cql3.Term$Terminal
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.cql3.Sets$Value
super_class: org.apache.cassandra.cql3.Term$Terminal
{
public final java.util.SortedSet<java.nio.ByteBuffer> elements;
descriptor: Ljava/util/SortedSet;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Signature: Ljava/util/SortedSet<Ljava/nio/ByteBuffer;>;
public void <init>(java.util.SortedSet<java.nio.ByteBuffer>);
descriptor: (Ljava/util/SortedSet;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.apache.cassandra.cql3.Term$Terminal.<init>:()V
1: aload 0
aload 1
putfield org.apache.cassandra.cql3.Sets$Value.elements:Ljava/util/SortedSet;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/cql3/Sets$Value;
0 3 1 elements Ljava/util/SortedSet<Ljava/nio/ByteBuffer;>;
Signature: (Ljava/util/SortedSet<Ljava/nio/ByteBuffer;>;)V
MethodParameters:
Name Flags
elements
public static org.apache.cassandra.cql3.Sets$Value fromSerialized(java.nio.ByteBuffer, org.apache.cassandra.db.marshal.SetType, org.apache.cassandra.transport.ProtocolVersion);
descriptor: (Ljava/nio/ByteBuffer;Lorg/apache/cassandra/db/marshal/SetType;Lorg/apache/cassandra/transport/ProtocolVersion;)Lorg/apache/cassandra/cql3/Sets$Value;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual org.apache.cassandra.db.marshal.SetType.getSerializer:()Lorg/apache/cassandra/serializers/SetSerializer;
aload 0
aload 2
invokevirtual org.apache.cassandra.serializers.SetSerializer.deserializeForNativeProtocol:(Ljava/nio/ByteBuffer;Lorg/apache/cassandra/transport/ProtocolVersion;)Ljava/util/Set;
astore 3
start local 3 1: new java.util.TreeSet
dup
aload 1
invokevirtual org.apache.cassandra.db.marshal.SetType.getElementsType:()Lorg/apache/cassandra/db/marshal/AbstractType;
invokespecial java.util.TreeSet.<init>:(Ljava/util/Comparator;)V
astore 4
start local 4 2: aload 3
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 6
goto 5
StackMap locals: java.nio.ByteBuffer org.apache.cassandra.db.marshal.SetType org.apache.cassandra.transport.ProtocolVersion java.util.Set java.util.SortedSet top java.util.Iterator
StackMap stack:
3: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 5
start local 5 4: aload 4
aload 1
invokevirtual org.apache.cassandra.db.marshal.SetType.getElementsType:()Lorg/apache/cassandra/db/marshal/AbstractType;
aload 5
invokevirtual org.apache.cassandra.db.marshal.AbstractType.decompose:(Ljava/lang/Object;)Ljava/nio/ByteBuffer;
invokeinterface java.util.SortedSet.add:(Ljava/lang/Object;)Z
pop
end local 5 5: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
6: new org.apache.cassandra.cql3.Sets$Value
dup
aload 4
invokespecial org.apache.cassandra.cql3.Sets$Value.<init>:(Ljava/util/SortedSet;)V
7: areturn
end local 4 end local 3 8: StackMap locals: java.nio.ByteBuffer org.apache.cassandra.db.marshal.SetType org.apache.cassandra.transport.ProtocolVersion
StackMap stack: org.apache.cassandra.serializers.MarshalException
astore 3
start local 3 9: new org.apache.cassandra.exceptions.InvalidRequestException
dup
aload 3
invokevirtual org.apache.cassandra.serializers.MarshalException.getMessage:()Ljava/lang/String;
invokespecial org.apache.cassandra.exceptions.InvalidRequestException.<init>:(Ljava/lang/String;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 value Ljava/nio/ByteBuffer;
0 10 1 type Lorg/apache/cassandra/db/marshal/SetType;
0 10 2 version Lorg/apache/cassandra/transport/ProtocolVersion;
1 8 3 s Ljava/util/Set<*>;
2 8 4 elements Ljava/util/SortedSet<Ljava/nio/ByteBuffer;>;
4 5 5 element Ljava/lang/Object;
9 10 3 e Lorg/apache/cassandra/serializers/MarshalException;
Exception table:
from to target type
0 7 8 Class org.apache.cassandra.serializers.MarshalException
Exceptions:
throws org.apache.cassandra.exceptions.InvalidRequestException
MethodParameters:
Name Flags
value
type
version
public java.nio.ByteBuffer get(org.apache.cassandra.transport.ProtocolVersion);
descriptor: (Lorg/apache/cassandra/transport/ProtocolVersion;)Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.cql3.Sets$Value.elements:Ljava/util/SortedSet;
aload 0
getfield org.apache.cassandra.cql3.Sets$Value.elements:Ljava/util/SortedSet;
invokeinterface java.util.SortedSet.size:()I
aload 1
invokestatic org.apache.cassandra.serializers.CollectionSerializer.pack:(Ljava/util/Collection;ILorg/apache/cassandra/transport/ProtocolVersion;)Ljava/nio/ByteBuffer;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cql3/Sets$Value;
0 1 1 protocolVersion Lorg/apache/cassandra/transport/ProtocolVersion;
MethodParameters:
Name Flags
protocolVersion
public boolean equals(org.apache.cassandra.db.marshal.SetType, org.apache.cassandra.cql3.Sets$Value);
descriptor: (Lorg/apache/cassandra/db/marshal/SetType;Lorg/apache/cassandra/cql3/Sets$Value;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.cassandra.cql3.Sets$Value.elements:Ljava/util/SortedSet;
invokeinterface java.util.SortedSet.size:()I
aload 2
getfield org.apache.cassandra.cql3.Sets$Value.elements:Ljava/util/SortedSet;
invokeinterface java.util.SortedSet.size:()I
if_icmpeq 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.cql3.Sets$Value.elements:Ljava/util/SortedSet;
invokeinterface java.util.SortedSet.iterator:()Ljava/util/Iterator;
astore 3
start local 3 3: aload 2
getfield org.apache.cassandra.cql3.Sets$Value.elements:Ljava/util/SortedSet;
invokeinterface java.util.SortedSet.iterator:()Ljava/util/Iterator;
astore 4
start local 4 4: aload 1
invokevirtual org.apache.cassandra.db.marshal.SetType.getElementsType:()Lorg/apache/cassandra/db/marshal/AbstractType;
astore 5
start local 5 5: goto 8
6: StackMap locals: java.util.Iterator java.util.Iterator org.apache.cassandra.db.marshal.AbstractType
StackMap stack:
aload 5
aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.nio.ByteBuffer
aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.nio.ByteBuffer
invokevirtual org.apache.cassandra.db.marshal.AbstractType.compare:(Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)I
ifeq 8
7: iconst_0
ireturn
8: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
9: iconst_1
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 10 0 this Lorg/apache/cassandra/cql3/Sets$Value;
0 10 1 st Lorg/apache/cassandra/db/marshal/SetType;
0 10 2 v Lorg/apache/cassandra/cql3/Sets$Value;
3 10 3 thisIter Ljava/util/Iterator<Ljava/nio/ByteBuffer;>;
4 10 4 thatIter Ljava/util/Iterator<Ljava/nio/ByteBuffer;>;
5 10 5 elementsType Lorg/apache/cassandra/db/marshal/AbstractType;
MethodParameters:
Name Flags
st
v
}
SourceFile: "Sets.java"
NestHost: org.apache.cassandra.cql3.Sets
InnerClasses:
public Value = org.apache.cassandra.cql3.Sets$Value of org.apache.cassandra.cql3.Sets
public abstract Terminal = org.apache.cassandra.cql3.Term$Terminal of org.apache.cassandra.cql3.Term