public abstract class org.apache.cassandra.cql3.restrictions.MultiColumnRestriction implements org.apache.cassandra.cql3.restrictions.SingleRestriction
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.apache.cassandra.cql3.restrictions.MultiColumnRestriction
super_class: java.lang.Object
{
protected final java.util.List<org.apache.cassandra.config.ColumnDefinition> columnDefs;
descriptor: Ljava/util/List;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Signature: Ljava/util/List<Lorg/apache/cassandra/config/ColumnDefinition;>;
public void <init>(java.util.List<org.apache.cassandra.config.ColumnDefinition>);
descriptor: (Ljava/util/List;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.apache.cassandra.cql3.restrictions.MultiColumnRestriction.columnDefs:Ljava/util/List;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/cql3/restrictions/MultiColumnRestriction;
0 3 1 columnDefs Ljava/util/List<Lorg/apache/cassandra/config/ColumnDefinition;>;
Signature: (Ljava/util/List<Lorg/apache/cassandra/config/ColumnDefinition;>;)V
MethodParameters:
Name Flags
columnDefs
public boolean isMultiColumn();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cql3/restrictions/MultiColumnRestriction;
public org.apache.cassandra.config.ColumnDefinition getFirstColumn();
descriptor: ()Lorg/apache/cassandra/config/ColumnDefinition;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.cql3.restrictions.MultiColumnRestriction.columnDefs:Ljava/util/List;
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.apache.cassandra.config.ColumnDefinition
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cql3/restrictions/MultiColumnRestriction;
public org.apache.cassandra.config.ColumnDefinition getLastColumn();
descriptor: ()Lorg/apache/cassandra/config/ColumnDefinition;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.cql3.restrictions.MultiColumnRestriction.columnDefs:Ljava/util/List;
aload 0
getfield org.apache.cassandra.cql3.restrictions.MultiColumnRestriction.columnDefs:Ljava/util/List;
invokeinterface java.util.List.size:()I
iconst_1
isub
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.apache.cassandra.config.ColumnDefinition
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cql3/restrictions/MultiColumnRestriction;
public java.util.List<org.apache.cassandra.config.ColumnDefinition> getColumnDefs();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.cql3.restrictions.MultiColumnRestriction.columnDefs:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cql3/restrictions/MultiColumnRestriction;
Signature: ()Ljava/util/List<Lorg/apache/cassandra/config/ColumnDefinition;>;
public final org.apache.cassandra.cql3.restrictions.SingleRestriction mergeWith(org.apache.cassandra.cql3.restrictions.SingleRestriction);
descriptor: (Lorg/apache/cassandra/cql3/restrictions/SingleRestriction;)Lorg/apache/cassandra/cql3/restrictions/SingleRestriction;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface org.apache.cassandra.cql3.restrictions.SingleRestriction.isMultiColumn:()Z
ifne 3
1: aload 1
checkcast org.apache.cassandra.cql3.restrictions.SingleColumnRestriction
invokevirtual org.apache.cassandra.cql3.restrictions.SingleColumnRestriction.canBeConvertedToMultiColumnRestriction:()Z
ifeq 3
2: aload 0
aload 1
checkcast org.apache.cassandra.cql3.restrictions.SingleColumnRestriction
invokevirtual org.apache.cassandra.cql3.restrictions.SingleColumnRestriction.toMultiColumnRestriction:()Lorg/apache/cassandra/cql3/restrictions/MultiColumnRestriction;
invokevirtual org.apache.cassandra.cql3.restrictions.MultiColumnRestriction.doMergeWith:(Lorg/apache/cassandra/cql3/restrictions/SingleRestriction;)Lorg/apache/cassandra/cql3/restrictions/SingleRestriction;
areturn
3: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.apache.cassandra.cql3.restrictions.MultiColumnRestriction.doMergeWith:(Lorg/apache/cassandra/cql3/restrictions/SingleRestriction;)Lorg/apache/cassandra/cql3/restrictions/SingleRestriction;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/cql3/restrictions/MultiColumnRestriction;
0 4 1 otherRestriction Lorg/apache/cassandra/cql3/restrictions/SingleRestriction;
MethodParameters:
Name Flags
otherRestriction
protected abstract org.apache.cassandra.cql3.restrictions.SingleRestriction doMergeWith(org.apache.cassandra.cql3.restrictions.SingleRestriction);
descriptor: (Lorg/apache/cassandra/cql3/restrictions/SingleRestriction;)Lorg/apache/cassandra/cql3/restrictions/SingleRestriction;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
MethodParameters:
Name Flags
otherRestriction
protected final java.lang.String getColumnsInCommons(org.apache.cassandra.cql3.restrictions.Restriction);
descriptor: (Lorg/apache/cassandra/cql3/restrictions/Restriction;)Ljava/lang/String;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: new java.util.HashSet
dup
aload 0
invokevirtual org.apache.cassandra.cql3.restrictions.MultiColumnRestriction.getColumnDefs:()Ljava/util/List;
invokespecial java.util.HashSet.<init>:(Ljava/util/Collection;)V
astore 2
start local 2 1: aload 2
aload 1
invokeinterface org.apache.cassandra.cql3.restrictions.Restriction.getColumnDefs:()Ljava/util/List;
invokeinterface java.util.Set.retainAll:(Ljava/util/Collection;)Z
pop
2: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 3
start local 3 3: aload 2
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 5
goto 8
StackMap locals: org.apache.cassandra.cql3.restrictions.MultiColumnRestriction org.apache.cassandra.cql3.restrictions.Restriction java.util.Set java.lang.StringBuilder top java.util.Iterator
StackMap stack:
4: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.config.ColumnDefinition
astore 4
start local 4 5: aload 3
invokevirtual java.lang.StringBuilder.length:()I
ifeq 7
6: aload 3
ldc " ,"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
7: StackMap locals: org.apache.cassandra.cql3.restrictions.MultiColumnRestriction org.apache.cassandra.cql3.restrictions.Restriction java.util.Set java.lang.StringBuilder org.apache.cassandra.config.ColumnDefinition java.util.Iterator
StackMap stack:
aload 3
aload 4
getfield org.apache.cassandra.config.ColumnDefinition.name:Lorg/apache/cassandra/cql3/ColumnIdentifier;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
end local 4 8: StackMap locals: org.apache.cassandra.cql3.restrictions.MultiColumnRestriction org.apache.cassandra.cql3.restrictions.Restriction java.util.Set java.lang.StringBuilder top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
9: aload 3
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
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/restrictions/MultiColumnRestriction;
0 10 1 otherRestriction Lorg/apache/cassandra/cql3/restrictions/Restriction;
1 10 2 commons Ljava/util/Set<Lorg/apache/cassandra/config/ColumnDefinition;>;
3 10 3 builder Ljava/lang/StringBuilder;
5 8 4 columnDefinition Lorg/apache/cassandra/config/ColumnDefinition;
MethodParameters:
Name Flags
otherRestriction
public final boolean hasSupportingIndex(org.apache.cassandra.index.SecondaryIndexManager);
descriptor: (Lorg/apache/cassandra/index/SecondaryIndexManager;)Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.apache.cassandra.index.SecondaryIndexManager.listIndexes:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: org.apache.cassandra.cql3.restrictions.MultiColumnRestriction org.apache.cassandra.index.SecondaryIndexManager top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.index.Index
astore 2
start local 2 2: aload 0
aload 2
invokevirtual org.apache.cassandra.cql3.restrictions.MultiColumnRestriction.isSupportedBy:(Lorg/apache/cassandra/index/Index;)Z
ifeq 4
3: iconst_1
ireturn
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
5: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/cassandra/cql3/restrictions/MultiColumnRestriction;
0 6 1 indexManager Lorg/apache/cassandra/index/SecondaryIndexManager;
2 4 2 index Lorg/apache/cassandra/index/Index;
MethodParameters:
Name Flags
indexManager
protected abstract boolean isSupportedBy(org.apache.cassandra.index.Index);
descriptor: (Lorg/apache/cassandra/index/Index;)Z
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
MethodParameters:
Name Flags
index
}
SourceFile: "MultiColumnRestriction.java"
NestMembers:
org.apache.cassandra.cql3.restrictions.MultiColumnRestriction$EQRestriction org.apache.cassandra.cql3.restrictions.MultiColumnRestriction$INRestriction org.apache.cassandra.cql3.restrictions.MultiColumnRestriction$InRestrictionWithMarker org.apache.cassandra.cql3.restrictions.MultiColumnRestriction$InRestrictionWithValues org.apache.cassandra.cql3.restrictions.MultiColumnRestriction$NotNullRestriction org.apache.cassandra.cql3.restrictions.MultiColumnRestriction$SliceRestriction
InnerClasses:
public EQRestriction = org.apache.cassandra.cql3.restrictions.MultiColumnRestriction$EQRestriction of org.apache.cassandra.cql3.restrictions.MultiColumnRestriction
public abstract INRestriction = org.apache.cassandra.cql3.restrictions.MultiColumnRestriction$INRestriction of org.apache.cassandra.cql3.restrictions.MultiColumnRestriction
public InRestrictionWithMarker = org.apache.cassandra.cql3.restrictions.MultiColumnRestriction$InRestrictionWithMarker of org.apache.cassandra.cql3.restrictions.MultiColumnRestriction
public InRestrictionWithValues = org.apache.cassandra.cql3.restrictions.MultiColumnRestriction$InRestrictionWithValues of org.apache.cassandra.cql3.restrictions.MultiColumnRestriction
public NotNullRestriction = org.apache.cassandra.cql3.restrictions.MultiColumnRestriction$NotNullRestriction of org.apache.cassandra.cql3.restrictions.MultiColumnRestriction
public SliceRestriction = org.apache.cassandra.cql3.restrictions.MultiColumnRestriction$SliceRestriction of org.apache.cassandra.cql3.restrictions.MultiColumnRestriction