abstract class org.apache.cassandra.cql3.selection.AbstractFunctionSelector<T extends org.apache.cassandra.cql3.functions.Function> extends org.apache.cassandra.cql3.selection.Selector
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: org.apache.cassandra.cql3.selection.AbstractFunctionSelector
super_class: org.apache.cassandra.cql3.selection.Selector
{
protected final T fun;
descriptor: Lorg/apache/cassandra/cql3/functions/Function;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Signature: TT;
private final java.util.List<java.nio.ByteBuffer> args;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljava/nio/ByteBuffer;>;
protected final java.util.List<org.apache.cassandra.cql3.selection.Selector> argSelectors;
descriptor: Ljava/util/List;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Signature: Ljava/util/List<Lorg/apache/cassandra/cql3/selection/Selector;>;
public static org.apache.cassandra.cql3.selection.Selector$Factory newFactory(org.apache.cassandra.cql3.functions.Function, org.apache.cassandra.cql3.selection.SelectorFactories);
descriptor: (Lorg/apache/cassandra/cql3/functions/Function;Lorg/apache/cassandra/cql3/selection/SelectorFactories;)Lorg/apache/cassandra/cql3/selection/Selector$Factory;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokeinterface org.apache.cassandra.cql3.functions.Function.isAggregate:()Z
ifeq 3
1: aload 1
invokevirtual org.apache.cassandra.cql3.selection.SelectorFactories.doesAggregation:()Z
ifeq 3
2: new org.apache.cassandra.exceptions.InvalidRequestException
dup
ldc "aggregate functions cannot be used as arguments of aggregate functions"
invokespecial org.apache.cassandra.exceptions.InvalidRequestException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
new org.apache.cassandra.cql3.selection.AbstractFunctionSelector$1
dup
aload 0
aload 1
invokespecial org.apache.cassandra.cql3.selection.AbstractFunctionSelector$1.<init>:(Lorg/apache/cassandra/cql3/functions/Function;Lorg/apache/cassandra/cql3/selection/SelectorFactories;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 fun Lorg/apache/cassandra/cql3/functions/Function;
0 4 1 factories Lorg/apache/cassandra/cql3/selection/SelectorFactories;
Exceptions:
throws org.apache.cassandra.exceptions.InvalidRequestException
MethodParameters:
Name Flags
fun final
factories final
protected void <init>(T, java.util.List<org.apache.cassandra.cql3.selection.Selector>);
descriptor: (Lorg/apache/cassandra/cql3/functions/Function;Ljava/util/List;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial org.apache.cassandra.cql3.selection.Selector.<init>:()V
1: aload 0
aload 1
putfield org.apache.cassandra.cql3.selection.AbstractFunctionSelector.fun:Lorg/apache/cassandra/cql3/functions/Function;
2: aload 0
aload 2
putfield org.apache.cassandra.cql3.selection.AbstractFunctionSelector.argSelectors:Ljava/util/List;
3: aload 0
aload 2
invokeinterface java.util.List.size:()I
anewarray java.nio.ByteBuffer
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
putfield org.apache.cassandra.cql3.selection.AbstractFunctionSelector.args:Ljava/util/List;
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/selection/AbstractFunctionSelector<TT;>;
0 5 1 fun TT;
0 5 2 argSelectors Ljava/util/List<Lorg/apache/cassandra/cql3/selection/Selector;>;
Signature: (TT;Ljava/util/List<Lorg/apache/cassandra/cql3/selection/Selector;>;)V
MethodParameters:
Name Flags
fun
argSelectors
protected void setArg(int, java.nio.ByteBuffer);
descriptor: (ILjava/nio/ByteBuffer;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ldc "Invalid unset value for argument in call to function %s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.apache.cassandra.cql3.selection.AbstractFunctionSelector.fun:Lorg/apache/cassandra/cql3/functions/Function;
invokeinterface org.apache.cassandra.cql3.functions.Function.name:()Lorg/apache/cassandra/cql3/functions/FunctionName;
getfield org.apache.cassandra.cql3.functions.FunctionName.name:Ljava/lang/String;
aastore
invokestatic org.apache.cassandra.cql3.statements.RequestValidations.checkBindValueSet:(Ljava/nio/ByteBuffer;Ljava/lang/String;[Ljava/lang/Object;)V
1: aload 0
getfield org.apache.cassandra.cql3.selection.AbstractFunctionSelector.args:Ljava/util/List;
iload 1
aload 2
invokeinterface java.util.List.set:(ILjava/lang/Object;)Ljava/lang/Object;
pop
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/selection/AbstractFunctionSelector<TT;>;
0 3 1 i I
0 3 2 value Ljava/nio/ByteBuffer;
Exceptions:
throws org.apache.cassandra.exceptions.InvalidRequestException
MethodParameters:
Name Flags
i
value
protected java.util.List<java.nio.ByteBuffer> args();
descriptor: ()Ljava/util/List;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.cql3.selection.AbstractFunctionSelector.args:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cql3/selection/AbstractFunctionSelector<TT;>;
Signature: ()Ljava/util/List<Ljava/nio/ByteBuffer;>;
public org.apache.cassandra.db.marshal.AbstractType<?> getType();
descriptor: ()Lorg/apache/cassandra/db/marshal/AbstractType;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.cql3.selection.AbstractFunctionSelector.fun:Lorg/apache/cassandra/cql3/functions/Function;
invokeinterface org.apache.cassandra.cql3.functions.Function.returnType:()Lorg/apache/cassandra/db/marshal/AbstractType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cql3/selection/AbstractFunctionSelector<TT;>;
Signature: ()Lorg/apache/cassandra/db/marshal/AbstractType<*>;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.apache.commons.lang3.text.StrBuilder
dup
invokespecial org.apache.commons.lang3.text.StrBuilder.<init>:()V
aload 0
getfield org.apache.cassandra.cql3.selection.AbstractFunctionSelector.fun:Lorg/apache/cassandra/cql3/functions/Function;
invokeinterface org.apache.cassandra.cql3.functions.Function.name:()Lorg/apache/cassandra/cql3/functions/FunctionName;
invokevirtual org.apache.commons.lang3.text.StrBuilder.append:(Ljava/lang/Object;)Lorg/apache/commons/lang3/text/StrBuilder;
1: ldc "("
invokevirtual org.apache.commons.lang3.text.StrBuilder.append:(Ljava/lang/String;)Lorg/apache/commons/lang3/text/StrBuilder;
2: aload 0
getfield org.apache.cassandra.cql3.selection.AbstractFunctionSelector.argSelectors:Ljava/util/List;
ldc ", "
invokevirtual org.apache.commons.lang3.text.StrBuilder.appendWithSeparators:(Ljava/lang/Iterable;Ljava/lang/String;)Lorg/apache/commons/lang3/text/StrBuilder;
3: ldc ")"
invokevirtual org.apache.commons.lang3.text.StrBuilder.append:(Ljava/lang/String;)Lorg/apache/commons/lang3/text/StrBuilder;
4: invokevirtual org.apache.commons.lang3.text.StrBuilder.toString:()Ljava/lang/String;
5: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/cassandra/cql3/selection/AbstractFunctionSelector<TT;>;
}
Signature: <T::Lorg/apache/cassandra/cql3/functions/Function;>Lorg/apache/cassandra/cql3/selection/Selector;
SourceFile: "AbstractFunctionSelector.java"
NestMembers:
org.apache.cassandra.cql3.selection.AbstractFunctionSelector$1
InnerClasses:
org.apache.cassandra.cql3.selection.AbstractFunctionSelector$1
public abstract Factory = org.apache.cassandra.cql3.selection.Selector$Factory of org.apache.cassandra.cql3.selection.Selector