public class org.apache.cassandra.cql3.restrictions.CustomIndexExpression
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.cql3.restrictions.CustomIndexExpression
super_class: java.lang.Object
{
private final org.apache.cassandra.cql3.ColumnIdentifier valueColId;
descriptor: Lorg/apache/cassandra/cql3/ColumnIdentifier;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public final org.apache.cassandra.cql3.IndexName targetIndex;
descriptor: Lorg/apache/cassandra/cql3/IndexName;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final org.apache.cassandra.cql3.Term$Raw valueRaw;
descriptor: Lorg/apache/cassandra/cql3/Term$Raw;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
private org.apache.cassandra.cql3.Term value;
descriptor: Lorg/apache/cassandra/cql3/Term;
flags: (0x0002) ACC_PRIVATE
public void <init>(org.apache.cassandra.cql3.IndexName, org.apache.cassandra.cql3.Term$Raw);
descriptor: (Lorg/apache/cassandra/cql3/IndexName;Lorg/apache/cassandra/cql3/Term$Raw;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new org.apache.cassandra.cql3.ColumnIdentifier
dup
ldc "custom index expression"
iconst_0
invokespecial org.apache.cassandra.cql3.ColumnIdentifier.<init>:(Ljava/lang/String;Z)V
putfield org.apache.cassandra.cql3.restrictions.CustomIndexExpression.valueColId:Lorg/apache/cassandra/cql3/ColumnIdentifier;
2: aload 0
aload 1
putfield org.apache.cassandra.cql3.restrictions.CustomIndexExpression.targetIndex:Lorg/apache/cassandra/cql3/IndexName;
3: aload 0
aload 2
putfield org.apache.cassandra.cql3.restrictions.CustomIndexExpression.valueRaw:Lorg/apache/cassandra/cql3/Term$Raw;
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/cql3/restrictions/CustomIndexExpression;
0 5 1 targetIndex Lorg/apache/cassandra/cql3/IndexName;
0 5 2 value Lorg/apache/cassandra/cql3/Term$Raw;
MethodParameters:
Name Flags
targetIndex
value
public void prepareValue(org.apache.cassandra.config.CFMetaData, org.apache.cassandra.db.marshal.AbstractType<?>, org.apache.cassandra.cql3.VariableSpecifications);
descriptor: (Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/db/marshal/AbstractType;Lorg/apache/cassandra/cql3/VariableSpecifications;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new org.apache.cassandra.cql3.ColumnSpecification
dup
aload 1
getfield org.apache.cassandra.config.CFMetaData.ksName:Ljava/lang/String;
aload 1
getfield org.apache.cassandra.config.CFMetaData.ksName:Ljava/lang/String;
aload 0
getfield org.apache.cassandra.cql3.restrictions.CustomIndexExpression.valueColId:Lorg/apache/cassandra/cql3/ColumnIdentifier;
aload 2
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
astore 4
start local 4 1: aload 0
aload 0
getfield org.apache.cassandra.cql3.restrictions.CustomIndexExpression.valueRaw:Lorg/apache/cassandra/cql3/Term$Raw;
aload 1
getfield org.apache.cassandra.config.CFMetaData.ksName:Ljava/lang/String;
aload 4
invokevirtual org.apache.cassandra.cql3.Term$Raw.prepare:(Ljava/lang/String;Lorg/apache/cassandra/cql3/ColumnSpecification;)Lorg/apache/cassandra/cql3/Term;
putfield org.apache.cassandra.cql3.restrictions.CustomIndexExpression.value:Lorg/apache/cassandra/cql3/Term;
2: aload 0
getfield org.apache.cassandra.cql3.restrictions.CustomIndexExpression.value:Lorg/apache/cassandra/cql3/Term;
aload 3
invokeinterface org.apache.cassandra.cql3.Term.collectMarkerSpecification:(Lorg/apache/cassandra/cql3/VariableSpecifications;)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/cql3/restrictions/CustomIndexExpression;
0 4 1 cfm Lorg/apache/cassandra/config/CFMetaData;
0 4 2 expressionType Lorg/apache/cassandra/db/marshal/AbstractType<*>;
0 4 3 boundNames Lorg/apache/cassandra/cql3/VariableSpecifications;
1 4 4 spec Lorg/apache/cassandra/cql3/ColumnSpecification;
Signature: (Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/db/marshal/AbstractType<*>;Lorg/apache/cassandra/cql3/VariableSpecifications;)V
MethodParameters:
Name Flags
cfm
expressionType
boundNames
public void addToRowFilter(org.apache.cassandra.db.filter.RowFilter, org.apache.cassandra.config.CFMetaData, org.apache.cassandra.cql3.QueryOptions);
descriptor: (Lorg/apache/cassandra/db/filter/RowFilter;Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/cql3/QueryOptions;)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 1
aload 2
1: aload 2
invokevirtual org.apache.cassandra.config.CFMetaData.getIndexes:()Lorg/apache/cassandra/schema/Indexes;
2: aload 0
getfield org.apache.cassandra.cql3.restrictions.CustomIndexExpression.targetIndex:Lorg/apache/cassandra/cql3/IndexName;
invokevirtual org.apache.cassandra.cql3.IndexName.getIdx:()Ljava/lang/String;
invokevirtual org.apache.cassandra.schema.Indexes.get:(Ljava/lang/String;)Ljava/util/Optional;
3: aload 0
aload 2
invokedynamic get(Lorg/apache/cassandra/cql3/restrictions/CustomIndexExpression;Lorg/apache/cassandra/config/CFMetaData;)Ljava/util/function/Supplier;
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;
org/apache/cassandra/cql3/restrictions/CustomIndexExpression.lambda$0(Lorg/apache/cassandra/config/CFMetaData;)Lorg/apache/cassandra/exceptions/InvalidRequestException; (7)
()Lorg/apache/cassandra/exceptions/InvalidRequestException;
invokevirtual java.util.Optional.orElseThrow:(Ljava/util/function/Supplier;)Ljava/lang/Object;
checkcast org.apache.cassandra.schema.IndexMetadata
4: aload 0
getfield org.apache.cassandra.cql3.restrictions.CustomIndexExpression.value:Lorg/apache/cassandra/cql3/Term;
aload 3
invokeinterface org.apache.cassandra.cql3.Term.bindAndGet:(Lorg/apache/cassandra/cql3/QueryOptions;)Ljava/nio/ByteBuffer;
5: invokevirtual org.apache.cassandra.db.filter.RowFilter.addCustomIndexExpression:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/schema/IndexMetadata;Ljava/nio/ByteBuffer;)V
6: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/cassandra/cql3/restrictions/CustomIndexExpression;
0 7 1 filter Lorg/apache/cassandra/db/filter/RowFilter;
0 7 2 cfm Lorg/apache/cassandra/config/CFMetaData;
0 7 3 options Lorg/apache/cassandra/cql3/QueryOptions;
MethodParameters:
Name Flags
filter
cfm
options
private org.apache.cassandra.exceptions.InvalidRequestException lambda$0(org.apache.cassandra.config.CFMetaData);
descriptor: (Lorg/apache/cassandra/config/CFMetaData;)Lorg/apache/cassandra/exceptions/InvalidRequestException;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
getfield org.apache.cassandra.cql3.restrictions.CustomIndexExpression.targetIndex:Lorg/apache/cassandra/cql3/IndexName;
aload 1
invokestatic org.apache.cassandra.cql3.restrictions.IndexRestrictions.indexNotFound:(Lorg/apache/cassandra/cql3/IndexName;Lorg/apache/cassandra/config/CFMetaData;)Lorg/apache/cassandra/exceptions/InvalidRequestException;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cql3/restrictions/CustomIndexExpression;
}
SourceFile: "CustomIndexExpression.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract Raw = org.apache.cassandra.cql3.Term$Raw of org.apache.cassandra.cql3.Term