public final class org.apache.cassandra.cql3.TokenRelation extends org.apache.cassandra.cql3.Relation
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.apache.cassandra.cql3.TokenRelation
super_class: org.apache.cassandra.cql3.Relation
{
private final java.util.List<org.apache.cassandra.config.ColumnDefinition$Raw> entities;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lorg/apache/cassandra/config/ColumnDefinition$Raw;>;
private final org.apache.cassandra.cql3.Term$Raw value;
descriptor: Lorg/apache/cassandra/cql3/Term$Raw;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(java.util.List<org.apache.cassandra.config.ColumnDefinition$Raw>, org.apache.cassandra.cql3.Operator, org.apache.cassandra.cql3.Term$Raw);
descriptor: (Ljava/util/List;Lorg/apache/cassandra/cql3/Operator;Lorg/apache/cassandra/cql3/Term$Raw;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial org.apache.cassandra.cql3.Relation.<init>:()V
1: aload 0
aload 1
putfield org.apache.cassandra.cql3.TokenRelation.entities:Ljava/util/List;
2: aload 0
aload 2
putfield org.apache.cassandra.cql3.TokenRelation.relationType:Lorg/apache/cassandra/cql3/Operator;
3: aload 0
aload 3
putfield org.apache.cassandra.cql3.TokenRelation.value:Lorg/apache/cassandra/cql3/Term$Raw;
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/TokenRelation;
0 5 1 entities Ljava/util/List<Lorg/apache/cassandra/config/ColumnDefinition$Raw;>;
0 5 2 type Lorg/apache/cassandra/cql3/Operator;
0 5 3 value Lorg/apache/cassandra/cql3/Term$Raw;
Signature: (Ljava/util/List<Lorg/apache/cassandra/config/ColumnDefinition$Raw;>;Lorg/apache/cassandra/cql3/Operator;Lorg/apache/cassandra/cql3/Term$Raw;)V
MethodParameters:
Name Flags
entities
type
value
public boolean onToken();
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/TokenRelation;
public org.apache.cassandra.cql3.Term$Raw getValue();
descriptor: ()Lorg/apache/cassandra/cql3/Term$Raw;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.cql3.TokenRelation.value:Lorg/apache/cassandra/cql3/Term$Raw;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cql3/TokenRelation;
public java.util.List<? extends org.apache.cassandra.cql3.Term$Raw> getInValues();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cql3/TokenRelation;
Signature: ()Ljava/util/List<+Lorg/apache/cassandra/cql3/Term$Raw;>;
protected org.apache.cassandra.cql3.restrictions.Restriction newEQRestriction(org.apache.cassandra.config.CFMetaData, org.apache.cassandra.cql3.VariableSpecifications);
descriptor: (Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/cql3/VariableSpecifications;)Lorg/apache/cassandra/cql3/restrictions/Restriction;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual org.apache.cassandra.cql3.TokenRelation.getColumnDefinitions:(Lorg/apache/cassandra/config/CFMetaData;)Ljava/util/List;
astore 3
start local 3 1: aload 0
aload 1
aload 3
invokestatic org.apache.cassandra.cql3.TokenRelation.toReceivers:(Lorg/apache/cassandra/config/CFMetaData;Ljava/util/List;)Ljava/util/List;
aload 0
getfield org.apache.cassandra.cql3.TokenRelation.value:Lorg/apache/cassandra/cql3/Term$Raw;
aload 1
getfield org.apache.cassandra.config.CFMetaData.ksName:Ljava/lang/String;
aload 2
invokevirtual org.apache.cassandra.cql3.TokenRelation.toTerm:(Ljava/util/List;Lorg/apache/cassandra/cql3/Term$Raw;Ljava/lang/String;Lorg/apache/cassandra/cql3/VariableSpecifications;)Lorg/apache/cassandra/cql3/Term;
astore 4
start local 4 2: new org.apache.cassandra.cql3.restrictions.TokenRestriction$EQRestriction
dup
aload 1
aload 3
aload 4
invokespecial org.apache.cassandra.cql3.restrictions.TokenRestriction$EQRestriction.<init>:(Lorg/apache/cassandra/config/CFMetaData;Ljava/util/List;Lorg/apache/cassandra/cql3/Term;)V
areturn
end local 4 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/cql3/TokenRelation;
0 3 1 cfm Lorg/apache/cassandra/config/CFMetaData;
0 3 2 boundNames Lorg/apache/cassandra/cql3/VariableSpecifications;
1 3 3 columnDefs Ljava/util/List<Lorg/apache/cassandra/config/ColumnDefinition;>;
2 3 4 term Lorg/apache/cassandra/cql3/Term;
Exceptions:
throws org.apache.cassandra.exceptions.InvalidRequestException
MethodParameters:
Name Flags
cfm
boundNames
protected org.apache.cassandra.cql3.restrictions.Restriction newINRestriction(org.apache.cassandra.config.CFMetaData, org.apache.cassandra.cql3.VariableSpecifications);
descriptor: (Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/cql3/VariableSpecifications;)Lorg/apache/cassandra/cql3/restrictions/Restriction;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: ldc "%s cannot be used with the token function"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual org.apache.cassandra.cql3.TokenRelation.operator:()Lorg/apache/cassandra/cql3/Operator;
aastore
invokestatic org.apache.cassandra.cql3.statements.RequestValidations.invalidRequest:(Ljava/lang/String;[Ljava/lang/Object;)Lorg/apache/cassandra/exceptions/InvalidRequestException;
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cql3/TokenRelation;
0 1 1 cfm Lorg/apache/cassandra/config/CFMetaData;
0 1 2 boundNames Lorg/apache/cassandra/cql3/VariableSpecifications;
Exceptions:
throws org.apache.cassandra.exceptions.InvalidRequestException
MethodParameters:
Name Flags
cfm
boundNames
protected org.apache.cassandra.cql3.restrictions.Restriction newSliceRestriction(org.apache.cassandra.config.CFMetaData, org.apache.cassandra.cql3.VariableSpecifications, org.apache.cassandra.cql3.statements.Bound, boolean);
descriptor: (Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/cql3/VariableSpecifications;Lorg/apache/cassandra/cql3/statements/Bound;Z)Lorg/apache/cassandra/cql3/restrictions/Restriction;
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
invokevirtual org.apache.cassandra.cql3.TokenRelation.getColumnDefinitions:(Lorg/apache/cassandra/config/CFMetaData;)Ljava/util/List;
astore 5
start local 5 1: aload 0
aload 1
aload 5
invokestatic org.apache.cassandra.cql3.TokenRelation.toReceivers:(Lorg/apache/cassandra/config/CFMetaData;Ljava/util/List;)Ljava/util/List;
aload 0
getfield org.apache.cassandra.cql3.TokenRelation.value:Lorg/apache/cassandra/cql3/Term$Raw;
aload 1
getfield org.apache.cassandra.config.CFMetaData.ksName:Ljava/lang/String;
aload 2
invokevirtual org.apache.cassandra.cql3.TokenRelation.toTerm:(Ljava/util/List;Lorg/apache/cassandra/cql3/Term$Raw;Ljava/lang/String;Lorg/apache/cassandra/cql3/VariableSpecifications;)Lorg/apache/cassandra/cql3/Term;
astore 6
start local 6 2: new org.apache.cassandra.cql3.restrictions.TokenRestriction$SliceRestriction
dup
aload 1
aload 5
aload 3
iload 4
aload 6
invokespecial org.apache.cassandra.cql3.restrictions.TokenRestriction$SliceRestriction.<init>:(Lorg/apache/cassandra/config/CFMetaData;Ljava/util/List;Lorg/apache/cassandra/cql3/statements/Bound;ZLorg/apache/cassandra/cql3/Term;)V
areturn
end local 6 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 3 0 this Lorg/apache/cassandra/cql3/TokenRelation;
0 3 1 cfm Lorg/apache/cassandra/config/CFMetaData;
0 3 2 boundNames Lorg/apache/cassandra/cql3/VariableSpecifications;
0 3 3 bound Lorg/apache/cassandra/cql3/statements/Bound;
0 3 4 inclusive Z
1 3 5 columnDefs Ljava/util/List<Lorg/apache/cassandra/config/ColumnDefinition;>;
2 3 6 term Lorg/apache/cassandra/cql3/Term;
Exceptions:
throws org.apache.cassandra.exceptions.InvalidRequestException
MethodParameters:
Name Flags
cfm
boundNames
bound
inclusive
protected org.apache.cassandra.cql3.restrictions.Restriction newContainsRestriction(org.apache.cassandra.config.CFMetaData, org.apache.cassandra.cql3.VariableSpecifications, boolean);
descriptor: (Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/cql3/VariableSpecifications;Z)Lorg/apache/cassandra/cql3/restrictions/Restriction;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: ldc "%s cannot be used with the token function"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual org.apache.cassandra.cql3.TokenRelation.operator:()Lorg/apache/cassandra/cql3/Operator;
aastore
invokestatic org.apache.cassandra.cql3.statements.RequestValidations.invalidRequest:(Ljava/lang/String;[Ljava/lang/Object;)Lorg/apache/cassandra/exceptions/InvalidRequestException;
athrow
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/cql3/TokenRelation;
0 1 1 cfm Lorg/apache/cassandra/config/CFMetaData;
0 1 2 boundNames Lorg/apache/cassandra/cql3/VariableSpecifications;
0 1 3 isKey Z
Exceptions:
throws org.apache.cassandra.exceptions.InvalidRequestException
MethodParameters:
Name Flags
cfm
boundNames
isKey
protected org.apache.cassandra.cql3.restrictions.Restriction newIsNotRestriction(org.apache.cassandra.config.CFMetaData, org.apache.cassandra.cql3.VariableSpecifications);
descriptor: (Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/cql3/VariableSpecifications;)Lorg/apache/cassandra/cql3/restrictions/Restriction;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: ldc "%s cannot be used with the token function"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual org.apache.cassandra.cql3.TokenRelation.operator:()Lorg/apache/cassandra/cql3/Operator;
aastore
invokestatic org.apache.cassandra.cql3.statements.RequestValidations.invalidRequest:(Ljava/lang/String;[Ljava/lang/Object;)Lorg/apache/cassandra/exceptions/InvalidRequestException;
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cql3/TokenRelation;
0 1 1 cfm Lorg/apache/cassandra/config/CFMetaData;
0 1 2 boundNames Lorg/apache/cassandra/cql3/VariableSpecifications;
Exceptions:
throws org.apache.cassandra.exceptions.InvalidRequestException
MethodParameters:
Name Flags
cfm
boundNames
protected org.apache.cassandra.cql3.restrictions.Restriction newLikeRestriction(org.apache.cassandra.config.CFMetaData, org.apache.cassandra.cql3.VariableSpecifications, org.apache.cassandra.cql3.Operator);
descriptor: (Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/cql3/VariableSpecifications;Lorg/apache/cassandra/cql3/Operator;)Lorg/apache/cassandra/cql3/restrictions/Restriction;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: ldc "%s cannot be used with the token function"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 3
aastore
invokestatic org.apache.cassandra.cql3.statements.RequestValidations.invalidRequest:(Ljava/lang/String;[Ljava/lang/Object;)Lorg/apache/cassandra/exceptions/InvalidRequestException;
athrow
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/cql3/TokenRelation;
0 1 1 cfm Lorg/apache/cassandra/config/CFMetaData;
0 1 2 boundNames Lorg/apache/cassandra/cql3/VariableSpecifications;
0 1 3 operator Lorg/apache/cassandra/cql3/Operator;
Exceptions:
throws org.apache.cassandra.exceptions.InvalidRequestException
MethodParameters:
Name Flags
cfm
boundNames
operator
protected org.apache.cassandra.cql3.Term toTerm(java.util.List<? extends org.apache.cassandra.cql3.ColumnSpecification>, org.apache.cassandra.cql3.Term$Raw, java.lang.String, org.apache.cassandra.cql3.VariableSpecifications);
descriptor: (Ljava/util/List;Lorg/apache/cassandra/cql3/Term$Raw;Ljava/lang/String;Lorg/apache/cassandra/cql3/VariableSpecifications;)Lorg/apache/cassandra/cql3/Term;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 2
aload 3
aload 1
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.apache.cassandra.cql3.ColumnSpecification
invokevirtual org.apache.cassandra.cql3.Term$Raw.prepare:(Ljava/lang/String;Lorg/apache/cassandra/cql3/ColumnSpecification;)Lorg/apache/cassandra/cql3/Term;
astore 5
start local 5 1: aload 5
aload 4
invokeinterface org.apache.cassandra.cql3.Term.collectMarkerSpecification:(Lorg/apache/cassandra/cql3/VariableSpecifications;)V
2: aload 5
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 3 0 this Lorg/apache/cassandra/cql3/TokenRelation;
0 3 1 receivers Ljava/util/List<+Lorg/apache/cassandra/cql3/ColumnSpecification;>;
0 3 2 raw Lorg/apache/cassandra/cql3/Term$Raw;
0 3 3 keyspace Ljava/lang/String;
0 3 4 boundNames Lorg/apache/cassandra/cql3/VariableSpecifications;
1 3 5 term Lorg/apache/cassandra/cql3/Term;
Exceptions:
throws org.apache.cassandra.exceptions.InvalidRequestException
Signature: (Ljava/util/List<+Lorg/apache/cassandra/cql3/ColumnSpecification;>;Lorg/apache/cassandra/cql3/Term$Raw;Ljava/lang/String;Lorg/apache/cassandra/cql3/VariableSpecifications;)Lorg/apache/cassandra/cql3/Term;
MethodParameters:
Name Flags
receivers
raw
keyspace
boundNames
public org.apache.cassandra.cql3.Relation renameIdentifier(org.apache.cassandra.config.ColumnDefinition$Raw, org.apache.cassandra.config.ColumnDefinition$Raw);
descriptor: (Lorg/apache/cassandra/config/ColumnDefinition$Raw;Lorg/apache/cassandra/config/ColumnDefinition$Raw;)Lorg/apache/cassandra/cql3/Relation;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.cassandra.cql3.TokenRelation.entities:Ljava/util/List;
aload 1
invokeinterface java.util.List.contains:(Ljava/lang/Object;)Z
ifne 2
1: aload 0
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.cql3.TokenRelation.entities:Ljava/util/List;
invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
aload 1
aload 2
invokedynamic apply(Lorg/apache/cassandra/config/ColumnDefinition$Raw;Lorg/apache/cassandra/config/ColumnDefinition$Raw;)Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
org/apache/cassandra/cql3/TokenRelation.lambda$0(Lorg/apache/cassandra/config/ColumnDefinition$Raw;Lorg/apache/cassandra/config/ColumnDefinition$Raw;Lorg/apache/cassandra/config/ColumnDefinition$Raw;)Lorg/apache/cassandra/config/ColumnDefinition$Raw; (6)
(Lorg/apache/cassandra/config/ColumnDefinition$Raw;)Lorg/apache/cassandra/config/ColumnDefinition$Raw;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
invokestatic java.util.stream.Collectors.toList:()Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.util.List
astore 3
start local 3 3: new org.apache.cassandra.cql3.TokenRelation
dup
aload 3
aload 0
invokevirtual org.apache.cassandra.cql3.TokenRelation.operator:()Lorg/apache/cassandra/cql3/Operator;
aload 0
getfield org.apache.cassandra.cql3.TokenRelation.value:Lorg/apache/cassandra/cql3/Term$Raw;
invokespecial org.apache.cassandra.cql3.TokenRelation.<init>:(Ljava/util/List;Lorg/apache/cassandra/cql3/Operator;Lorg/apache/cassandra/cql3/Term$Raw;)V
areturn
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/cql3/TokenRelation;
0 4 1 from Lorg/apache/cassandra/config/ColumnDefinition$Raw;
0 4 2 to Lorg/apache/cassandra/config/ColumnDefinition$Raw;
3 4 3 newEntities Ljava/util/List<Lorg/apache/cassandra/config/ColumnDefinition$Raw;>;
MethodParameters:
Name Flags
from
to
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: ldc "token%s %s %s"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.apache.cassandra.cql3.TokenRelation.entities:Ljava/util/List;
invokestatic org.apache.cassandra.cql3.Tuples.tupleToString:(Ljava/util/List;)Ljava/lang/String;
aastore
dup
iconst_1
aload 0
getfield org.apache.cassandra.cql3.TokenRelation.relationType:Lorg/apache/cassandra/cql3/Operator;
aastore
dup
iconst_2
aload 0
getfield org.apache.cassandra.cql3.TokenRelation.value:Lorg/apache/cassandra/cql3/Term$Raw;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cql3/TokenRelation;
private java.util.List<org.apache.cassandra.config.ColumnDefinition> getColumnDefinitions(org.apache.cassandra.config.CFMetaData);
descriptor: (Lorg/apache/cassandra/config/CFMetaData;)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 0
getfield org.apache.cassandra.cql3.TokenRelation.entities:Ljava/util/List;
invokeinterface java.util.List.size:()I
invokespecial java.util.ArrayList.<init>:(I)V
astore 2
start local 2 1: aload 0
getfield org.apache.cassandra.cql3.TokenRelation.entities:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 4
StackMap locals: org.apache.cassandra.cql3.TokenRelation org.apache.cassandra.config.CFMetaData java.util.List top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.config.ColumnDefinition$Raw
astore 3
start local 3 3: aload 2
aload 3
aload 1
invokevirtual org.apache.cassandra.config.ColumnDefinition$Raw.prepare:(Lorg/apache/cassandra/config/CFMetaData;)Lorg/apache/cassandra/config/ColumnDefinition;
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/TokenRelation;
0 6 1 cfm Lorg/apache/cassandra/config/CFMetaData;
1 6 2 columnDefs Ljava/util/List<Lorg/apache/cassandra/config/ColumnDefinition;>;
3 4 3 raw Lorg/apache/cassandra/config/ColumnDefinition$Raw;
Exceptions:
throws org.apache.cassandra.exceptions.InvalidRequestException
Signature: (Lorg/apache/cassandra/config/CFMetaData;)Ljava/util/List<Lorg/apache/cassandra/config/ColumnDefinition;>;
MethodParameters:
Name Flags
cfm
private static java.util.List<? extends org.apache.cassandra.cql3.ColumnSpecification> toReceivers(org.apache.cassandra.config.CFMetaData, java.util.List<org.apache.cassandra.config.ColumnDefinition>);
descriptor: (Lorg/apache/cassandra/config/CFMetaData;Ljava/util/List;)Ljava/util/List;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=8, locals=3, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokevirtual org.apache.cassandra.config.CFMetaData.partitionKeyColumns:()Ljava/util/List;
invokeinterface java.util.List.equals:(Ljava/lang/Object;)Z
ifne 9
1: aload 1
aload 0
invokevirtual org.apache.cassandra.config.CFMetaData.partitionKeyColumns:()Ljava/util/List;
invokeinterface java.util.List.containsAll:(Ljava/util/Collection;)Z
2: ldc "The token() function must be applied to all partition key components or none of them"
3: invokestatic org.apache.cassandra.cql3.statements.RequestValidations.checkTrue:(ZLjava/lang/String;)V
4: aload 1
ldc "The token() function contains duplicate partition key components"
invokestatic org.apache.cassandra.cql3.statements.RequestValidations.checkContainsNoDuplicates:(Ljava/util/List;Ljava/lang/String;)V
5: aload 1
aload 0
invokevirtual org.apache.cassandra.config.CFMetaData.partitionKeyColumns:()Ljava/util/List;
ldc "The token() function must contains only partition key components"
invokestatic org.apache.cassandra.cql3.statements.RequestValidations.checkContainsOnly:(Ljava/util/List;Ljava/util/List;Ljava/lang/String;)V
6: ldc "The token function arguments must be in the partition key order: %s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
7: ldc ", "
invokestatic com.google.common.base.Joiner.on:(Ljava/lang/String;)Lcom/google/common/base/Joiner;
aload 0
invokevirtual org.apache.cassandra.config.CFMetaData.partitionKeyColumns:()Ljava/util/List;
invokestatic org.apache.cassandra.config.ColumnDefinition.toIdentifiers:(Ljava/util/Collection;)Ljava/util/Collection;
invokevirtual com.google.common.base.Joiner.join:(Ljava/lang/Iterable;)Ljava/lang/String;
aastore
8: invokestatic org.apache.cassandra.cql3.statements.RequestValidations.invalidRequest:(Ljava/lang/String;[Ljava/lang/Object;)Lorg/apache/cassandra/exceptions/InvalidRequestException;
athrow
9: StackMap locals:
StackMap stack:
aload 1
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.apache.cassandra.config.ColumnDefinition
astore 2
start local 2 10: new org.apache.cassandra.cql3.ColumnSpecification
dup
aload 2
getfield org.apache.cassandra.config.ColumnDefinition.ksName:Ljava/lang/String;
11: aload 2
getfield org.apache.cassandra.config.ColumnDefinition.cfName:Ljava/lang/String;
12: new org.apache.cassandra.cql3.ColumnIdentifier
dup
ldc "partition key token"
iconst_1
invokespecial org.apache.cassandra.cql3.ColumnIdentifier.<init>:(Ljava/lang/String;Z)V
13: aload 0
getfield org.apache.cassandra.config.CFMetaData.partitioner:Lorg/apache/cassandra/dht/IPartitioner;
invokeinterface org.apache.cassandra.dht.IPartitioner.getTokenValidator:()Lorg/apache/cassandra/db/marshal/AbstractType;
14: invokespecial org.apache.cassandra.cql3.ColumnSpecification.<init>:(Ljava/lang/String;Ljava/lang/String;Lorg/apache/cassandra/cql3/ColumnIdentifier;Lorg/apache/cassandra/db/marshal/AbstractType;)V
invokestatic java.util.Collections.singletonList:(Ljava/lang/Object;)Ljava/util/List;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 cfm Lorg/apache/cassandra/config/CFMetaData;
0 15 1 columnDefs Ljava/util/List<Lorg/apache/cassandra/config/ColumnDefinition;>;
10 15 2 firstColumn Lorg/apache/cassandra/config/ColumnDefinition;
Exceptions:
throws org.apache.cassandra.exceptions.InvalidRequestException
Signature: (Lorg/apache/cassandra/config/CFMetaData;Ljava/util/List<Lorg/apache/cassandra/config/ColumnDefinition;>;)Ljava/util/List<+Lorg/apache/cassandra/cql3/ColumnSpecification;>;
MethodParameters:
Name Flags
cfm
columnDefs
private static org.apache.cassandra.config.ColumnDefinition$Raw lambda$0(org.apache.cassandra.config.ColumnDefinition$Raw, org.apache.cassandra.config.ColumnDefinition$Raw, org.apache.cassandra.config.ColumnDefinition$Raw);
descriptor: (Lorg/apache/cassandra/config/ColumnDefinition$Raw;Lorg/apache/cassandra/config/ColumnDefinition$Raw;Lorg/apache/cassandra/config/ColumnDefinition$Raw;)Lorg/apache/cassandra/config/ColumnDefinition$Raw;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=3, args_size=3
start local 2 0: aload 2
aload 0
invokevirtual org.apache.cassandra.config.ColumnDefinition$Raw.equals:(Ljava/lang/Object;)Z
ifeq 1
aload 1
goto 2
StackMap locals:
StackMap stack:
1: aload 2
StackMap locals:
StackMap stack: org.apache.cassandra.config.ColumnDefinition$Raw
2: areturn
end local 2 LocalVariableTable:
Start End Slot Name Signature
0 3 2 e Lorg/apache/cassandra/config/ColumnDefinition$Raw;
}
SourceFile: "TokenRelation.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract Raw = org.apache.cassandra.config.ColumnDefinition$Raw of org.apache.cassandra.config.ColumnDefinition
public abstract Raw = org.apache.cassandra.cql3.Term$Raw of org.apache.cassandra.cql3.Term
public final EQRestriction = org.apache.cassandra.cql3.restrictions.TokenRestriction$EQRestriction of org.apache.cassandra.cql3.restrictions.TokenRestriction
public SliceRestriction = org.apache.cassandra.cql3.restrictions.TokenRestriction$SliceRestriction of org.apache.cassandra.cql3.restrictions.TokenRestriction