final class org.apache.cassandra.cql3.restrictions.PartitionKeySingleRestrictionSet extends org.apache.cassandra.cql3.restrictions.RestrictionSetWrapper implements org.apache.cassandra.cql3.restrictions.PartitionKeyRestrictions
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.apache.cassandra.cql3.restrictions.PartitionKeySingleRestrictionSet
super_class: org.apache.cassandra.cql3.restrictions.RestrictionSetWrapper
{
protected final org.apache.cassandra.db.ClusteringComparator comparator;
descriptor: Lorg/apache/cassandra/db/ClusteringComparator;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
public void <init>(org.apache.cassandra.db.ClusteringComparator);
descriptor: (Lorg/apache/cassandra/db/ClusteringComparator;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new org.apache.cassandra.cql3.restrictions.RestrictionSet
dup
invokespecial org.apache.cassandra.cql3.restrictions.RestrictionSet.<init>:()V
invokespecial org.apache.cassandra.cql3.restrictions.RestrictionSetWrapper.<init>:(Lorg/apache/cassandra/cql3/restrictions/RestrictionSet;)V
1: aload 0
aload 1
putfield org.apache.cassandra.cql3.restrictions.PartitionKeySingleRestrictionSet.comparator:Lorg/apache/cassandra/db/ClusteringComparator;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/cql3/restrictions/PartitionKeySingleRestrictionSet;
0 3 1 comparator Lorg/apache/cassandra/db/ClusteringComparator;
MethodParameters:
Name Flags
comparator
private void <init>(org.apache.cassandra.cql3.restrictions.PartitionKeySingleRestrictionSet, org.apache.cassandra.cql3.restrictions.SingleRestriction);
descriptor: (Lorg/apache/cassandra/cql3/restrictions/PartitionKeySingleRestrictionSet;Lorg/apache/cassandra/cql3/restrictions/SingleRestriction;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
getfield org.apache.cassandra.cql3.restrictions.PartitionKeySingleRestrictionSet.restrictions:Lorg/apache/cassandra/cql3/restrictions/RestrictionSet;
aload 2
invokevirtual org.apache.cassandra.cql3.restrictions.RestrictionSet.addRestriction:(Lorg/apache/cassandra/cql3/restrictions/SingleRestriction;)Lorg/apache/cassandra/cql3/restrictions/RestrictionSet;
invokespecial org.apache.cassandra.cql3.restrictions.RestrictionSetWrapper.<init>:(Lorg/apache/cassandra/cql3/restrictions/RestrictionSet;)V
1: aload 0
aload 1
getfield org.apache.cassandra.cql3.restrictions.PartitionKeySingleRestrictionSet.comparator:Lorg/apache/cassandra/db/ClusteringComparator;
putfield org.apache.cassandra.cql3.restrictions.PartitionKeySingleRestrictionSet.comparator:Lorg/apache/cassandra/db/ClusteringComparator;
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/cql3/restrictions/PartitionKeySingleRestrictionSet;
0 3 1 restrictionSet Lorg/apache/cassandra/cql3/restrictions/PartitionKeySingleRestrictionSet;
0 3 2 restriction Lorg/apache/cassandra/cql3/restrictions/SingleRestriction;
MethodParameters:
Name Flags
restrictionSet
restriction
private java.util.List<java.nio.ByteBuffer> toByteBuffers(java.util.SortedSet<? extends org.apache.cassandra.db.ClusteringPrefix>);
descriptor: (Ljava/util/SortedSet;)Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: new java.util.ArrayList
dup
aload 1
invokeinterface java.util.SortedSet.size:()I
invokespecial java.util.ArrayList.<init>:(I)V
astore 2
start local 2 1: aload 1
invokeinterface java.util.SortedSet.iterator:()Ljava/util/Iterator;
astore 4
goto 4
StackMap locals: org.apache.cassandra.cql3.restrictions.PartitionKeySingleRestrictionSet java.util.SortedSet java.util.List top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.db.ClusteringPrefix
astore 3
start local 3 3: aload 2
aload 3
invokestatic org.apache.cassandra.config.CFMetaData.serializePartitionKey:(Lorg/apache/cassandra/db/ClusteringPrefix;)Ljava/nio/ByteBuffer;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 3 4: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/cassandra/cql3/restrictions/PartitionKeySingleRestrictionSet;
0 6 1 clusterings Ljava/util/SortedSet<+Lorg/apache/cassandra/db/ClusteringPrefix;>;
1 6 2 l Ljava/util/List<Ljava/nio/ByteBuffer;>;
3 4 3 clustering Lorg/apache/cassandra/db/ClusteringPrefix;
Signature: (Ljava/util/SortedSet<+Lorg/apache/cassandra/db/ClusteringPrefix;>;)Ljava/util/List<Ljava/nio/ByteBuffer;>;
MethodParameters:
Name Flags
clusterings
public org.apache.cassandra.cql3.restrictions.PartitionKeyRestrictions mergeWith(org.apache.cassandra.cql3.restrictions.Restriction);
descriptor: (Lorg/apache/cassandra/cql3/restrictions/Restriction;)Lorg/apache/cassandra/cql3/restrictions/PartitionKeyRestrictions;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface org.apache.cassandra.cql3.restrictions.Restriction.isOnToken:()Z
ifeq 4
1: aload 0
invokevirtual org.apache.cassandra.cql3.restrictions.PartitionKeySingleRestrictionSet.isEmpty:()Z
ifeq 3
2: aload 1
checkcast org.apache.cassandra.cql3.restrictions.PartitionKeyRestrictions
areturn
3: StackMap locals:
StackMap stack:
new org.apache.cassandra.cql3.restrictions.TokenFilter
dup
aload 0
aload 1
checkcast org.apache.cassandra.cql3.restrictions.TokenRestriction
invokespecial org.apache.cassandra.cql3.restrictions.TokenFilter.<init>:(Lorg/apache/cassandra/cql3/restrictions/PartitionKeyRestrictions;Lorg/apache/cassandra/cql3/restrictions/TokenRestriction;)V
areturn
4: StackMap locals:
StackMap stack:
new org.apache.cassandra.cql3.restrictions.PartitionKeySingleRestrictionSet
dup
aload 0
aload 1
checkcast org.apache.cassandra.cql3.restrictions.SingleRestriction
invokespecial org.apache.cassandra.cql3.restrictions.PartitionKeySingleRestrictionSet.<init>:(Lorg/apache/cassandra/cql3/restrictions/PartitionKeySingleRestrictionSet;Lorg/apache/cassandra/cql3/restrictions/SingleRestriction;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/cql3/restrictions/PartitionKeySingleRestrictionSet;
0 5 1 restriction Lorg/apache/cassandra/cql3/restrictions/Restriction;
MethodParameters:
Name Flags
restriction
public java.util.List<java.nio.ByteBuffer> values(org.apache.cassandra.cql3.QueryOptions);
descriptor: (Lorg/apache/cassandra/cql3/QueryOptions;)Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.cql3.restrictions.PartitionKeySingleRestrictionSet.comparator:Lorg/apache/cassandra/db/ClusteringComparator;
aload 0
invokevirtual org.apache.cassandra.cql3.restrictions.PartitionKeySingleRestrictionSet.hasIN:()Z
invokestatic org.apache.cassandra.db.MultiCBuilder.create:(Lorg/apache/cassandra/db/ClusteringComparator;Z)Lorg/apache/cassandra/db/MultiCBuilder;
astore 2
start local 2 1: aload 0
getfield org.apache.cassandra.cql3.restrictions.PartitionKeySingleRestrictionSet.restrictions:Lorg/apache/cassandra/cql3/restrictions/RestrictionSet;
invokevirtual org.apache.cassandra.cql3.restrictions.RestrictionSet.iterator:()Ljava/util/Iterator;
astore 4
goto 6
StackMap locals: org.apache.cassandra.cql3.restrictions.PartitionKeySingleRestrictionSet org.apache.cassandra.cql3.QueryOptions org.apache.cassandra.db.MultiCBuilder top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.cql3.restrictions.SingleRestriction
astore 3
start local 3 3: aload 3
aload 2
aload 1
invokeinterface org.apache.cassandra.cql3.restrictions.SingleRestriction.appendTo:(Lorg/apache/cassandra/db/MultiCBuilder;Lorg/apache/cassandra/cql3/QueryOptions;)Lorg/apache/cassandra/db/MultiCBuilder;
pop
4: aload 2
invokevirtual org.apache.cassandra.db.MultiCBuilder.hasMissingElements:()Z
ifeq 6
5: goto 7
end local 3 6: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
7: StackMap locals: org.apache.cassandra.cql3.restrictions.PartitionKeySingleRestrictionSet org.apache.cassandra.cql3.QueryOptions org.apache.cassandra.db.MultiCBuilder
StackMap stack:
aload 0
aload 2
invokevirtual org.apache.cassandra.db.MultiCBuilder.build:()Ljava/util/NavigableSet;
invokevirtual org.apache.cassandra.cql3.restrictions.PartitionKeySingleRestrictionSet.toByteBuffers:(Ljava/util/SortedSet;)Ljava/util/List;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/cassandra/cql3/restrictions/PartitionKeySingleRestrictionSet;
0 8 1 options Lorg/apache/cassandra/cql3/QueryOptions;
1 8 2 builder Lorg/apache/cassandra/db/MultiCBuilder;
3 6 3 r Lorg/apache/cassandra/cql3/restrictions/SingleRestriction;
Signature: (Lorg/apache/cassandra/cql3/QueryOptions;)Ljava/util/List<Ljava/nio/ByteBuffer;>;
MethodParameters:
Name Flags
options
public java.util.List<java.nio.ByteBuffer> bounds(org.apache.cassandra.cql3.statements.Bound, org.apache.cassandra.cql3.QueryOptions);
descriptor: (Lorg/apache/cassandra/cql3/statements/Bound;Lorg/apache/cassandra/cql3/QueryOptions;)Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.cassandra.cql3.restrictions.PartitionKeySingleRestrictionSet.comparator:Lorg/apache/cassandra/db/ClusteringComparator;
aload 0
invokevirtual org.apache.cassandra.cql3.restrictions.PartitionKeySingleRestrictionSet.hasIN:()Z
invokestatic org.apache.cassandra.db.MultiCBuilder.create:(Lorg/apache/cassandra/db/ClusteringComparator;Z)Lorg/apache/cassandra/db/MultiCBuilder;
astore 3
start local 3 1: aload 0
getfield org.apache.cassandra.cql3.restrictions.PartitionKeySingleRestrictionSet.restrictions:Lorg/apache/cassandra/cql3/restrictions/RestrictionSet;
invokevirtual org.apache.cassandra.cql3.restrictions.RestrictionSet.iterator:()Ljava/util/Iterator;
astore 5
goto 6
StackMap locals: org.apache.cassandra.cql3.restrictions.PartitionKeySingleRestrictionSet org.apache.cassandra.cql3.statements.Bound org.apache.cassandra.cql3.QueryOptions org.apache.cassandra.db.MultiCBuilder top java.util.Iterator
StackMap stack:
2: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.cql3.restrictions.SingleRestriction
astore 4
start local 4 3: aload 4
aload 3
aload 1
aload 2
invokeinterface org.apache.cassandra.cql3.restrictions.SingleRestriction.appendBoundTo:(Lorg/apache/cassandra/db/MultiCBuilder;Lorg/apache/cassandra/cql3/statements/Bound;Lorg/apache/cassandra/cql3/QueryOptions;)Lorg/apache/cassandra/db/MultiCBuilder;
pop
4: aload 3
invokevirtual org.apache.cassandra.db.MultiCBuilder.hasMissingElements:()Z
ifeq 6
5: invokestatic java.util.Collections.emptyList:()Ljava/util/List;
areturn
end local 4 6: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
7: aload 0
aload 3
aload 1
invokevirtual org.apache.cassandra.cql3.statements.Bound.isStart:()Z
iconst_1
invokevirtual org.apache.cassandra.db.MultiCBuilder.buildBound:(ZZ)Ljava/util/NavigableSet;
invokevirtual org.apache.cassandra.cql3.restrictions.PartitionKeySingleRestrictionSet.toByteBuffers:(Ljava/util/SortedSet;)Ljava/util/List;
areturn
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/cql3/restrictions/PartitionKeySingleRestrictionSet;
0 8 1 bound Lorg/apache/cassandra/cql3/statements/Bound;
0 8 2 options Lorg/apache/cassandra/cql3/QueryOptions;
1 8 3 builder Lorg/apache/cassandra/db/MultiCBuilder;
3 6 4 r Lorg/apache/cassandra/cql3/restrictions/SingleRestriction;
Signature: (Lorg/apache/cassandra/cql3/statements/Bound;Lorg/apache/cassandra/cql3/QueryOptions;)Ljava/util/List<Ljava/nio/ByteBuffer;>;
MethodParameters:
Name Flags
bound
options
public boolean hasBound(org.apache.cassandra.cql3.statements.Bound);
descriptor: (Lorg/apache/cassandra/cql3/statements/Bound;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.cassandra.cql3.restrictions.PartitionKeySingleRestrictionSet.isEmpty:()Z
ifeq 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.cql3.restrictions.PartitionKeySingleRestrictionSet.restrictions:Lorg/apache/cassandra/cql3/restrictions/RestrictionSet;
invokevirtual org.apache.cassandra.cql3.restrictions.RestrictionSet.lastRestriction:()Lorg/apache/cassandra/cql3/restrictions/SingleRestriction;
aload 1
invokeinterface org.apache.cassandra.cql3.restrictions.SingleRestriction.hasBound:(Lorg/apache/cassandra/cql3/statements/Bound;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/cql3/restrictions/PartitionKeySingleRestrictionSet;
0 3 1 b Lorg/apache/cassandra/cql3/statements/Bound;
MethodParameters:
Name Flags
b
public boolean isInclusive(org.apache.cassandra.cql3.statements.Bound);
descriptor: (Lorg/apache/cassandra/cql3/statements/Bound;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.cassandra.cql3.restrictions.PartitionKeySingleRestrictionSet.isEmpty:()Z
ifeq 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.cql3.restrictions.PartitionKeySingleRestrictionSet.restrictions:Lorg/apache/cassandra/cql3/restrictions/RestrictionSet;
invokevirtual org.apache.cassandra.cql3.restrictions.RestrictionSet.lastRestriction:()Lorg/apache/cassandra/cql3/restrictions/SingleRestriction;
aload 1
invokeinterface org.apache.cassandra.cql3.restrictions.SingleRestriction.isInclusive:(Lorg/apache/cassandra/cql3/statements/Bound;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/cql3/restrictions/PartitionKeySingleRestrictionSet;
0 3 1 b Lorg/apache/cassandra/cql3/statements/Bound;
MethodParameters:
Name Flags
b
public void addRowFilterTo(org.apache.cassandra.db.filter.RowFilter, org.apache.cassandra.index.SecondaryIndexManager, org.apache.cassandra.cql3.QueryOptions);
descriptor: (Lorg/apache/cassandra/db/filter/RowFilter;Lorg/apache/cassandra/index/SecondaryIndexManager;Lorg/apache/cassandra/cql3/QueryOptions;)V
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 0
getfield org.apache.cassandra.cql3.restrictions.PartitionKeySingleRestrictionSet.restrictions:Lorg/apache/cassandra/cql3/restrictions/RestrictionSet;
invokevirtual org.apache.cassandra.cql3.restrictions.RestrictionSet.iterator:()Ljava/util/Iterator;
astore 5
goto 3
StackMap locals: org.apache.cassandra.cql3.restrictions.PartitionKeySingleRestrictionSet org.apache.cassandra.db.filter.RowFilter org.apache.cassandra.index.SecondaryIndexManager org.apache.cassandra.cql3.QueryOptions top java.util.Iterator
StackMap stack:
1: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.cql3.restrictions.SingleRestriction
astore 4
start local 4 2: aload 4
aload 1
aload 2
aload 3
invokeinterface org.apache.cassandra.cql3.restrictions.SingleRestriction.addRowFilterTo:(Lorg/apache/cassandra/db/filter/RowFilter;Lorg/apache/cassandra/index/SecondaryIndexManager;Lorg/apache/cassandra/cql3/QueryOptions;)V
end local 4 3: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/cql3/restrictions/PartitionKeySingleRestrictionSet;
0 5 1 filter Lorg/apache/cassandra/db/filter/RowFilter;
0 5 2 indexManager Lorg/apache/cassandra/index/SecondaryIndexManager;
0 5 3 options Lorg/apache/cassandra/cql3/QueryOptions;
2 3 4 restriction Lorg/apache/cassandra/cql3/restrictions/SingleRestriction;
MethodParameters:
Name Flags
filter
indexManager
options
public boolean needFiltering(org.apache.cassandra.config.CFMetaData);
descriptor: (Lorg/apache/cassandra/config/CFMetaData;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.cassandra.cql3.restrictions.PartitionKeySingleRestrictionSet.isEmpty:()Z
ifeq 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.apache.cassandra.cql3.restrictions.PartitionKeySingleRestrictionSet.hasUnrestrictedPartitionKeyComponents:(Lorg/apache/cassandra/config/CFMetaData;)Z
ifne 3
aload 0
invokevirtual org.apache.cassandra.cql3.restrictions.PartitionKeySingleRestrictionSet.hasSlice:()Z
ifne 3
aload 0
invokevirtual org.apache.cassandra.cql3.restrictions.PartitionKeySingleRestrictionSet.hasContains:()Z
ifne 3
iconst_0
ireturn
StackMap locals:
StackMap stack:
3: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/cql3/restrictions/PartitionKeySingleRestrictionSet;
0 4 1 cfm Lorg/apache/cassandra/config/CFMetaData;
MethodParameters:
Name Flags
cfm
public boolean hasUnrestrictedPartitionKeyComponents(org.apache.cassandra.config.CFMetaData);
descriptor: (Lorg/apache/cassandra/config/CFMetaData;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.cassandra.cql3.restrictions.PartitionKeySingleRestrictionSet.size:()I
aload 1
invokevirtual org.apache.cassandra.config.CFMetaData.partitionKeyColumns:()Ljava/util/List;
invokeinterface java.util.List.size:()I
if_icmpge 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/cql3/restrictions/PartitionKeySingleRestrictionSet;
0 2 1 cfm Lorg/apache/cassandra/config/CFMetaData;
MethodParameters:
Name Flags
cfm
public boolean hasSlice();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=3, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.cql3.restrictions.PartitionKeySingleRestrictionSet.restrictions:Lorg/apache/cassandra/cql3/restrictions/RestrictionSet;
invokevirtual org.apache.cassandra.cql3.restrictions.RestrictionSet.iterator:()Ljava/util/Iterator;
astore 2
goto 4
StackMap locals: org.apache.cassandra.cql3.restrictions.PartitionKeySingleRestrictionSet top java.util.Iterator
StackMap stack:
1: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.cql3.restrictions.SingleRestriction
astore 1
start local 1 2: aload 1
invokeinterface org.apache.cassandra.cql3.restrictions.SingleRestriction.isSlice:()Z
ifeq 4
3: iconst_1
ireturn
end local 1 4: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
5: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/cassandra/cql3/restrictions/PartitionKeySingleRestrictionSet;
2 4 1 restriction Lorg/apache/cassandra/cql3/restrictions/SingleRestriction;
}
SourceFile: "PartitionKeySingleRestrictionSet.java"