public class org.apache.cassandra.cql3.functions.UDAggregate extends org.apache.cassandra.cql3.functions.AbstractFunction implements org.apache.cassandra.cql3.functions.AggregateFunction
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.cql3.functions.UDAggregate
super_class: org.apache.cassandra.cql3.functions.AbstractFunction
{
protected static final org.slf4j.Logger logger;
descriptor: Lorg/slf4j/Logger;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
private final org.apache.cassandra.db.marshal.AbstractType<?> stateType;
descriptor: Lorg/apache/cassandra/db/marshal/AbstractType;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lorg/apache/cassandra/db/marshal/AbstractType<*>;
private final com.datastax.driver.core.TypeCodec stateTypeCodec;
descriptor: Lcom/datastax/driver/core/TypeCodec;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.datastax.driver.core.TypeCodec returnTypeCodec;
descriptor: Lcom/datastax/driver/core/TypeCodec;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
protected final java.nio.ByteBuffer initcond;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
private final org.apache.cassandra.cql3.functions.ScalarFunction stateFunction;
descriptor: Lorg/apache/cassandra/cql3/functions/ScalarFunction;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.cassandra.cql3.functions.ScalarFunction finalFunction;
descriptor: Lorg/apache/cassandra/cql3/functions/ScalarFunction;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/apache/cassandra/cql3/functions/UDAggregate;
invokestatic org.slf4j.LoggerFactory.getLogger:(Ljava/lang/Class;)Lorg/slf4j/Logger;
putstatic org.apache.cassandra.cql3.functions.UDAggregate.logger:Lorg/slf4j/Logger;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.apache.cassandra.cql3.functions.FunctionName, java.util.List<org.apache.cassandra.db.marshal.AbstractType<?>>, org.apache.cassandra.db.marshal.AbstractType<?>, org.apache.cassandra.cql3.functions.ScalarFunction, org.apache.cassandra.cql3.functions.ScalarFunction, java.nio.ByteBuffer);
descriptor: (Lorg/apache/cassandra/cql3/functions/FunctionName;Ljava/util/List;Lorg/apache/cassandra/db/marshal/AbstractType;Lorg/apache/cassandra/cql3/functions/ScalarFunction;Lorg/apache/cassandra/cql3/functions/ScalarFunction;Ljava/nio/ByteBuffer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
aload 1
aload 2
aload 3
invokespecial org.apache.cassandra.cql3.functions.AbstractFunction.<init>:(Lorg/apache/cassandra/cql3/functions/FunctionName;Ljava/util/List;Lorg/apache/cassandra/db/marshal/AbstractType;)V
1: aload 0
aload 4
putfield org.apache.cassandra.cql3.functions.UDAggregate.stateFunction:Lorg/apache/cassandra/cql3/functions/ScalarFunction;
2: aload 0
aload 5
putfield org.apache.cassandra.cql3.functions.UDAggregate.finalFunction:Lorg/apache/cassandra/cql3/functions/ScalarFunction;
3: aload 0
aload 4
ifnull 4
aload 4
invokeinterface org.apache.cassandra.cql3.functions.ScalarFunction.returnType:()Lorg/apache/cassandra/db/marshal/AbstractType;
goto 5
StackMap locals: org.apache.cassandra.cql3.functions.UDAggregate org.apache.cassandra.cql3.functions.FunctionName java.util.List org.apache.cassandra.db.marshal.AbstractType org.apache.cassandra.cql3.functions.ScalarFunction org.apache.cassandra.cql3.functions.ScalarFunction java.nio.ByteBuffer
StackMap stack: org.apache.cassandra.cql3.functions.UDAggregate
4: aconst_null
StackMap locals: org.apache.cassandra.cql3.functions.UDAggregate org.apache.cassandra.cql3.functions.FunctionName java.util.List org.apache.cassandra.db.marshal.AbstractType org.apache.cassandra.cql3.functions.ScalarFunction org.apache.cassandra.cql3.functions.ScalarFunction java.nio.ByteBuffer
StackMap stack: org.apache.cassandra.cql3.functions.UDAggregate org.apache.cassandra.db.marshal.AbstractType
5: putfield org.apache.cassandra.cql3.functions.UDAggregate.stateType:Lorg/apache/cassandra/db/marshal/AbstractType;
6: aload 0
aload 0
getfield org.apache.cassandra.cql3.functions.UDAggregate.stateType:Lorg/apache/cassandra/db/marshal/AbstractType;
ifnull 7
aload 0
getfield org.apache.cassandra.cql3.functions.UDAggregate.stateType:Lorg/apache/cassandra/db/marshal/AbstractType;
invokestatic org.apache.cassandra.cql3.functions.UDHelper.driverType:(Lorg/apache/cassandra/db/marshal/AbstractType;)Lcom/datastax/driver/core/DataType;
invokestatic org.apache.cassandra.cql3.functions.UDHelper.codecFor:(Lcom/datastax/driver/core/DataType;)Lcom/datastax/driver/core/TypeCodec;
goto 8
StackMap locals:
StackMap stack: org.apache.cassandra.cql3.functions.UDAggregate
7: aconst_null
StackMap locals: org.apache.cassandra.cql3.functions.UDAggregate org.apache.cassandra.cql3.functions.FunctionName java.util.List org.apache.cassandra.db.marshal.AbstractType org.apache.cassandra.cql3.functions.ScalarFunction org.apache.cassandra.cql3.functions.ScalarFunction java.nio.ByteBuffer
StackMap stack: org.apache.cassandra.cql3.functions.UDAggregate com.datastax.driver.core.TypeCodec
8: putfield org.apache.cassandra.cql3.functions.UDAggregate.stateTypeCodec:Lcom/datastax/driver/core/TypeCodec;
9: aload 0
aload 3
ifnull 10
aload 3
invokestatic org.apache.cassandra.cql3.functions.UDHelper.driverType:(Lorg/apache/cassandra/db/marshal/AbstractType;)Lcom/datastax/driver/core/DataType;
invokestatic org.apache.cassandra.cql3.functions.UDHelper.codecFor:(Lcom/datastax/driver/core/DataType;)Lcom/datastax/driver/core/TypeCodec;
goto 11
StackMap locals:
StackMap stack: org.apache.cassandra.cql3.functions.UDAggregate
10: aconst_null
StackMap locals: org.apache.cassandra.cql3.functions.UDAggregate org.apache.cassandra.cql3.functions.FunctionName java.util.List org.apache.cassandra.db.marshal.AbstractType org.apache.cassandra.cql3.functions.ScalarFunction org.apache.cassandra.cql3.functions.ScalarFunction java.nio.ByteBuffer
StackMap stack: org.apache.cassandra.cql3.functions.UDAggregate com.datastax.driver.core.TypeCodec
11: putfield org.apache.cassandra.cql3.functions.UDAggregate.returnTypeCodec:Lcom/datastax/driver/core/TypeCodec;
12: aload 0
aload 6
putfield org.apache.cassandra.cql3.functions.UDAggregate.initcond:Ljava/nio/ByteBuffer;
13: return
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 14 0 this Lorg/apache/cassandra/cql3/functions/UDAggregate;
0 14 1 name Lorg/apache/cassandra/cql3/functions/FunctionName;
0 14 2 argTypes Ljava/util/List<Lorg/apache/cassandra/db/marshal/AbstractType<*>;>;
0 14 3 returnType Lorg/apache/cassandra/db/marshal/AbstractType<*>;
0 14 4 stateFunc Lorg/apache/cassandra/cql3/functions/ScalarFunction;
0 14 5 finalFunc Lorg/apache/cassandra/cql3/functions/ScalarFunction;
0 14 6 initcond Ljava/nio/ByteBuffer;
Signature: (Lorg/apache/cassandra/cql3/functions/FunctionName;Ljava/util/List<Lorg/apache/cassandra/db/marshal/AbstractType<*>;>;Lorg/apache/cassandra/db/marshal/AbstractType<*>;Lorg/apache/cassandra/cql3/functions/ScalarFunction;Lorg/apache/cassandra/cql3/functions/ScalarFunction;Ljava/nio/ByteBuffer;)V
MethodParameters:
Name Flags
name
argTypes
returnType
stateFunc
finalFunc
initcond
public static org.apache.cassandra.cql3.functions.UDAggregate create(org.apache.cassandra.schema.Functions, org.apache.cassandra.cql3.functions.FunctionName, java.util.List<org.apache.cassandra.db.marshal.AbstractType<?>>, org.apache.cassandra.db.marshal.AbstractType<?>, org.apache.cassandra.cql3.functions.FunctionName, org.apache.cassandra.cql3.functions.FunctionName, org.apache.cassandra.db.marshal.AbstractType<?>, java.nio.ByteBuffer);
descriptor: (Lorg/apache/cassandra/schema/Functions;Lorg/apache/cassandra/cql3/functions/FunctionName;Ljava/util/List;Lorg/apache/cassandra/db/marshal/AbstractType;Lorg/apache/cassandra/cql3/functions/FunctionName;Lorg/apache/cassandra/cql3/functions/FunctionName;Lorg/apache/cassandra/db/marshal/AbstractType;Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/cql3/functions/UDAggregate;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=10, locals=10, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: new java.util.ArrayList
dup
aload 2
invokeinterface java.util.List.size:()I
iconst_1
iadd
invokespecial java.util.ArrayList.<init>:(I)V
astore 8
start local 8 1: aload 8
aload 6
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
2: aload 8
aload 2
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
3: aload 6
invokestatic java.util.Collections.singletonList:(Ljava/lang/Object;)Ljava/util/List;
astore 9
start local 9 4: new org.apache.cassandra.cql3.functions.UDAggregate
dup
aload 1
5: aload 2
6: aload 3
7: aload 0
aload 1
aload 4
aload 8
invokestatic org.apache.cassandra.cql3.functions.UDAggregate.resolveScalar:(Lorg/apache/cassandra/schema/Functions;Lorg/apache/cassandra/cql3/functions/FunctionName;Lorg/apache/cassandra/cql3/functions/FunctionName;Ljava/util/List;)Lorg/apache/cassandra/cql3/functions/ScalarFunction;
8: aload 5
ifnull 9
aload 0
aload 1
aload 5
aload 9
invokestatic org.apache.cassandra.cql3.functions.UDAggregate.resolveScalar:(Lorg/apache/cassandra/schema/Functions;Lorg/apache/cassandra/cql3/functions/FunctionName;Lorg/apache/cassandra/cql3/functions/FunctionName;Ljava/util/List;)Lorg/apache/cassandra/cql3/functions/ScalarFunction;
goto 10
StackMap locals: org.apache.cassandra.schema.Functions org.apache.cassandra.cql3.functions.FunctionName java.util.List org.apache.cassandra.db.marshal.AbstractType org.apache.cassandra.cql3.functions.FunctionName org.apache.cassandra.cql3.functions.FunctionName org.apache.cassandra.db.marshal.AbstractType java.nio.ByteBuffer java.util.List java.util.List
StackMap stack: new 4 new 4 org.apache.cassandra.cql3.functions.FunctionName java.util.List org.apache.cassandra.db.marshal.AbstractType org.apache.cassandra.cql3.functions.ScalarFunction
9: aconst_null
10: StackMap locals: org.apache.cassandra.schema.Functions org.apache.cassandra.cql3.functions.FunctionName java.util.List org.apache.cassandra.db.marshal.AbstractType org.apache.cassandra.cql3.functions.FunctionName org.apache.cassandra.cql3.functions.FunctionName org.apache.cassandra.db.marshal.AbstractType java.nio.ByteBuffer java.util.List java.util.List
StackMap stack: new 4 new 4 org.apache.cassandra.cql3.functions.FunctionName java.util.List org.apache.cassandra.db.marshal.AbstractType org.apache.cassandra.cql3.functions.ScalarFunction org.apache.cassandra.cql3.functions.ScalarFunction
aload 7
11: invokespecial org.apache.cassandra.cql3.functions.UDAggregate.<init>:(Lorg/apache/cassandra/cql3/functions/FunctionName;Ljava/util/List;Lorg/apache/cassandra/db/marshal/AbstractType;Lorg/apache/cassandra/cql3/functions/ScalarFunction;Lorg/apache/cassandra/cql3/functions/ScalarFunction;Ljava/nio/ByteBuffer;)V
areturn
end local 9 end local 8 end local 7 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 12 0 functions Lorg/apache/cassandra/schema/Functions;
0 12 1 name Lorg/apache/cassandra/cql3/functions/FunctionName;
0 12 2 argTypes Ljava/util/List<Lorg/apache/cassandra/db/marshal/AbstractType<*>;>;
0 12 3 returnType Lorg/apache/cassandra/db/marshal/AbstractType<*>;
0 12 4 stateFunc Lorg/apache/cassandra/cql3/functions/FunctionName;
0 12 5 finalFunc Lorg/apache/cassandra/cql3/functions/FunctionName;
0 12 6 stateType Lorg/apache/cassandra/db/marshal/AbstractType<*>;
0 12 7 initcond Ljava/nio/ByteBuffer;
1 12 8 stateTypes Ljava/util/List<Lorg/apache/cassandra/db/marshal/AbstractType<*>;>;
4 12 9 finalTypes Ljava/util/List<Lorg/apache/cassandra/db/marshal/AbstractType<*>;>;
Exceptions:
throws org.apache.cassandra.exceptions.InvalidRequestException
Signature: (Lorg/apache/cassandra/schema/Functions;Lorg/apache/cassandra/cql3/functions/FunctionName;Ljava/util/List<Lorg/apache/cassandra/db/marshal/AbstractType<*>;>;Lorg/apache/cassandra/db/marshal/AbstractType<*>;Lorg/apache/cassandra/cql3/functions/FunctionName;Lorg/apache/cassandra/cql3/functions/FunctionName;Lorg/apache/cassandra/db/marshal/AbstractType<*>;Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/cql3/functions/UDAggregate;
MethodParameters:
Name Flags
functions
name
argTypes
returnType
stateFunc
finalFunc
stateType
initcond
public static org.apache.cassandra.cql3.functions.UDAggregate createBroken(org.apache.cassandra.cql3.functions.FunctionName, java.util.List<org.apache.cassandra.db.marshal.AbstractType<?>>, org.apache.cassandra.db.marshal.AbstractType<?>, java.nio.ByteBuffer, org.apache.cassandra.exceptions.InvalidRequestException);
descriptor: (Lorg/apache/cassandra/cql3/functions/FunctionName;Ljava/util/List;Lorg/apache/cassandra/db/marshal/AbstractType;Ljava/nio/ByteBuffer;Lorg/apache/cassandra/exceptions/InvalidRequestException;)Lorg/apache/cassandra/cql3/functions/UDAggregate;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=9, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: new org.apache.cassandra.cql3.functions.UDAggregate$1
dup
aload 0
aload 1
aload 2
aconst_null
aconst_null
aload 3
aload 4
invokespecial org.apache.cassandra.cql3.functions.UDAggregate$1.<init>:(Lorg/apache/cassandra/cql3/functions/FunctionName;Ljava/util/List;Lorg/apache/cassandra/db/marshal/AbstractType;Lorg/apache/cassandra/cql3/functions/ScalarFunction;Lorg/apache/cassandra/cql3/functions/ScalarFunction;Ljava/nio/ByteBuffer;Lorg/apache/cassandra/exceptions/InvalidRequestException;)V
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 name Lorg/apache/cassandra/cql3/functions/FunctionName;
0 1 1 argTypes Ljava/util/List<Lorg/apache/cassandra/db/marshal/AbstractType<*>;>;
0 1 2 returnType Lorg/apache/cassandra/db/marshal/AbstractType<*>;
0 1 3 initcond Ljava/nio/ByteBuffer;
0 1 4 reason Lorg/apache/cassandra/exceptions/InvalidRequestException;
Signature: (Lorg/apache/cassandra/cql3/functions/FunctionName;Ljava/util/List<Lorg/apache/cassandra/db/marshal/AbstractType<*>;>;Lorg/apache/cassandra/db/marshal/AbstractType<*>;Ljava/nio/ByteBuffer;Lorg/apache/cassandra/exceptions/InvalidRequestException;)Lorg/apache/cassandra/cql3/functions/UDAggregate;
MethodParameters:
Name Flags
name
argTypes
returnType
initcond
reason
public boolean hasReferenceTo(org.apache.cassandra.cql3.functions.Function);
descriptor: (Lorg/apache/cassandra/cql3/functions/Function;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.cql3.functions.UDAggregate.stateFunction:Lorg/apache/cassandra/cql3/functions/ScalarFunction;
aload 1
if_acmpeq 1
aload 0
getfield org.apache.cassandra.cql3.functions.UDAggregate.finalFunction:Lorg/apache/cassandra/cql3/functions/ScalarFunction;
aload 1
if_acmpeq 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/cql3/functions/UDAggregate;
0 2 1 function Lorg/apache/cassandra/cql3/functions/Function;
MethodParameters:
Name Flags
function
public void addFunctionsTo(java.util.List<org.apache.cassandra.cql3.functions.Function>);
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 1
aload 0
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: aload 0
getfield org.apache.cassandra.cql3.functions.UDAggregate.stateFunction:Lorg/apache/cassandra/cql3/functions/ScalarFunction;
ifnull 5
2: aload 0
getfield org.apache.cassandra.cql3.functions.UDAggregate.stateFunction:Lorg/apache/cassandra/cql3/functions/ScalarFunction;
aload 1
invokeinterface org.apache.cassandra.cql3.functions.ScalarFunction.addFunctionsTo:(Ljava/util/List;)V
3: aload 0
getfield org.apache.cassandra.cql3.functions.UDAggregate.finalFunction:Lorg/apache/cassandra/cql3/functions/ScalarFunction;
ifnull 5
4: aload 0
getfield org.apache.cassandra.cql3.functions.UDAggregate.finalFunction:Lorg/apache/cassandra/cql3/functions/ScalarFunction;
aload 1
invokeinterface org.apache.cassandra.cql3.functions.ScalarFunction.addFunctionsTo:(Ljava/util/List;)V
5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/cassandra/cql3/functions/UDAggregate;
0 6 1 functions Ljava/util/List<Lorg/apache/cassandra/cql3/functions/Function;>;
Signature: (Ljava/util/List<Lorg/apache/cassandra/cql3/functions/Function;>;)V
MethodParameters:
Name Flags
functions
public boolean isAggregate();
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/functions/UDAggregate;
public boolean isNative();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cql3/functions/UDAggregate;
public org.apache.cassandra.cql3.functions.ScalarFunction stateFunction();
descriptor: ()Lorg/apache/cassandra/cql3/functions/ScalarFunction;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.cql3.functions.UDAggregate.stateFunction:Lorg/apache/cassandra/cql3/functions/ScalarFunction;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cql3/functions/UDAggregate;
public org.apache.cassandra.cql3.functions.ScalarFunction finalFunction();
descriptor: ()Lorg/apache/cassandra/cql3/functions/ScalarFunction;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.cql3.functions.UDAggregate.finalFunction:Lorg/apache/cassandra/cql3/functions/ScalarFunction;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cql3/functions/UDAggregate;
public java.nio.ByteBuffer initialCondition();
descriptor: ()Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.cql3.functions.UDAggregate.initcond:Ljava/nio/ByteBuffer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cql3/functions/UDAggregate;
public org.apache.cassandra.db.marshal.AbstractType<?> stateType();
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.functions.UDAggregate.stateType:Lorg/apache/cassandra/db/marshal/AbstractType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cql3/functions/UDAggregate;
Signature: ()Lorg/apache/cassandra/db/marshal/AbstractType<*>;
public org.apache.cassandra.cql3.functions.AggregateFunction$Aggregate newAggregate();
descriptor: ()Lorg/apache/cassandra/cql3/functions/AggregateFunction$Aggregate;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.apache.cassandra.cql3.functions.UDAggregate$2
dup
aload 0
invokespecial org.apache.cassandra.cql3.functions.UDAggregate$2.<init>:(Lorg/apache/cassandra/cql3/functions/UDAggregate;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cql3/functions/UDAggregate;
Exceptions:
throws org.apache.cassandra.exceptions.InvalidRequestException
private static org.apache.cassandra.cql3.functions.ScalarFunction resolveScalar(org.apache.cassandra.schema.Functions, org.apache.cassandra.cql3.functions.FunctionName, org.apache.cassandra.cql3.functions.FunctionName, java.util.List<org.apache.cassandra.db.marshal.AbstractType<?>>);
descriptor: (Lorg/apache/cassandra/schema/Functions;Lorg/apache/cassandra/cql3/functions/FunctionName;Lorg/apache/cassandra/cql3/functions/FunctionName;Ljava/util/List;)Lorg/apache/cassandra/cql3/functions/ScalarFunction;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 2
aload 3
invokevirtual org.apache.cassandra.schema.Functions.find:(Lorg/apache/cassandra/cql3/functions/FunctionName;Ljava/util/List;)Ljava/util/Optional;
astore 4
start local 4 1: aload 4
invokevirtual java.util.Optional.isPresent:()Z
ifne 7
2: new org.apache.cassandra.exceptions.InvalidRequestException
dup
ldc "Referenced state function '%s %s' for aggregate '%s' does not exist"
iconst_3
anewarray java.lang.Object
dup
iconst_0
3: aload 2
aastore
dup
iconst_1
4: aload 3
invokestatic org.apache.cassandra.cql3.functions.UDHelper.driverTypes:(Ljava/util/List;)[Lcom/datastax/driver/core/DataType;
invokestatic java.util.Arrays.toString:([Ljava/lang/Object;)Ljava/lang/String;
aastore
dup
iconst_2
5: aload 1
aastore
6: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial org.apache.cassandra.exceptions.InvalidRequestException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals: java.util.Optional
StackMap stack:
aload 4
invokevirtual java.util.Optional.get:()Ljava/lang/Object;
instanceof org.apache.cassandra.cql3.functions.ScalarFunction
ifne 13
8: new org.apache.cassandra.exceptions.InvalidRequestException
dup
ldc "Referenced state function '%s %s' for aggregate '%s' is not a scalar function"
iconst_3
anewarray java.lang.Object
dup
iconst_0
9: aload 2
aastore
dup
iconst_1
10: aload 3
invokestatic org.apache.cassandra.cql3.functions.UDHelper.driverTypes:(Ljava/util/List;)[Lcom/datastax/driver/core/DataType;
invokestatic java.util.Arrays.toString:([Ljava/lang/Object;)Ljava/lang/String;
aastore
dup
iconst_2
11: aload 1
aastore
12: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial org.apache.cassandra.exceptions.InvalidRequestException.<init>:(Ljava/lang/String;)V
athrow
13: StackMap locals:
StackMap stack:
aload 4
invokevirtual java.util.Optional.get:()Ljava/lang/Object;
checkcast org.apache.cassandra.cql3.functions.ScalarFunction
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 functions Lorg/apache/cassandra/schema/Functions;
0 14 1 aName Lorg/apache/cassandra/cql3/functions/FunctionName;
0 14 2 fName Lorg/apache/cassandra/cql3/functions/FunctionName;
0 14 3 argTypes Ljava/util/List<Lorg/apache/cassandra/db/marshal/AbstractType<*>;>;
1 14 4 fun Ljava/util/Optional<Lorg/apache/cassandra/cql3/functions/Function;>;
Exceptions:
throws org.apache.cassandra.exceptions.InvalidRequestException
Signature: (Lorg/apache/cassandra/schema/Functions;Lorg/apache/cassandra/cql3/functions/FunctionName;Lorg/apache/cassandra/cql3/functions/FunctionName;Ljava/util/List<Lorg/apache/cassandra/db/marshal/AbstractType<*>;>;)Lorg/apache/cassandra/cql3/functions/ScalarFunction;
MethodParameters:
Name Flags
functions
aName
fName
argTypes
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.apache.cassandra.cql3.functions.UDAggregate
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
checkcast org.apache.cassandra.cql3.functions.UDAggregate
astore 2
start local 2 3: aload 0
getfield org.apache.cassandra.cql3.functions.UDAggregate.name:Lorg/apache/cassandra/cql3/functions/FunctionName;
aload 2
getfield org.apache.cassandra.cql3.functions.UDAggregate.name:Lorg/apache/cassandra/cql3/functions/FunctionName;
invokestatic com.google.common.base.Objects.equal:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 11
4: aload 0
getfield org.apache.cassandra.cql3.functions.UDAggregate.argTypes:Ljava/util/List;
aload 2
getfield org.apache.cassandra.cql3.functions.UDAggregate.argTypes:Ljava/util/List;
invokestatic org.apache.cassandra.schema.Functions.typesMatch:(Ljava/util/List;Ljava/util/List;)Z
ifeq 11
5: aload 0
getfield org.apache.cassandra.cql3.functions.UDAggregate.returnType:Lorg/apache/cassandra/db/marshal/AbstractType;
aload 2
getfield org.apache.cassandra.cql3.functions.UDAggregate.returnType:Lorg/apache/cassandra/db/marshal/AbstractType;
invokestatic org.apache.cassandra.schema.Functions.typesMatch:(Lorg/apache/cassandra/db/marshal/AbstractType;Lorg/apache/cassandra/db/marshal/AbstractType;)Z
ifeq 11
6: aload 0
getfield org.apache.cassandra.cql3.functions.UDAggregate.stateFunction:Lorg/apache/cassandra/cql3/functions/ScalarFunction;
aload 2
getfield org.apache.cassandra.cql3.functions.UDAggregate.stateFunction:Lorg/apache/cassandra/cql3/functions/ScalarFunction;
invokestatic com.google.common.base.Objects.equal:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 11
7: aload 0
getfield org.apache.cassandra.cql3.functions.UDAggregate.finalFunction:Lorg/apache/cassandra/cql3/functions/ScalarFunction;
aload 2
getfield org.apache.cassandra.cql3.functions.UDAggregate.finalFunction:Lorg/apache/cassandra/cql3/functions/ScalarFunction;
invokestatic com.google.common.base.Objects.equal:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 11
8: aload 0
getfield org.apache.cassandra.cql3.functions.UDAggregate.stateType:Lorg/apache/cassandra/db/marshal/AbstractType;
aload 2
getfield org.apache.cassandra.cql3.functions.UDAggregate.stateType:Lorg/apache/cassandra/db/marshal/AbstractType;
if_acmpeq 9
aload 0
getfield org.apache.cassandra.cql3.functions.UDAggregate.stateType:Lorg/apache/cassandra/db/marshal/AbstractType;
ifnull 11
aload 0
getfield org.apache.cassandra.cql3.functions.UDAggregate.stateType:Lorg/apache/cassandra/db/marshal/AbstractType;
aload 2
getfield org.apache.cassandra.cql3.functions.UDAggregate.stateType:Lorg/apache/cassandra/db/marshal/AbstractType;
iconst_1
invokevirtual org.apache.cassandra.db.marshal.AbstractType.equals:(Ljava/lang/Object;Z)Z
ifeq 11
9: StackMap locals: org.apache.cassandra.cql3.functions.UDAggregate
StackMap stack:
aload 0
getfield org.apache.cassandra.cql3.functions.UDAggregate.initcond:Ljava/nio/ByteBuffer;
aload 2
getfield org.apache.cassandra.cql3.functions.UDAggregate.initcond:Ljava/nio/ByteBuffer;
invokestatic com.google.common.base.Objects.equal:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 11
10: iconst_1
ireturn
StackMap locals:
StackMap stack:
11: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/apache/cassandra/cql3/functions/UDAggregate;
0 12 1 o Ljava/lang/Object;
3 12 2 that Lorg/apache/cassandra/cql3/functions/UDAggregate;
MethodParameters:
Name Flags
o
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: bipush 7
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.apache.cassandra.cql3.functions.UDAggregate.name:Lorg/apache/cassandra/cql3/functions/FunctionName;
aastore
dup
iconst_1
aload 0
getfield org.apache.cassandra.cql3.functions.UDAggregate.argTypes:Ljava/util/List;
invokestatic org.apache.cassandra.schema.Functions.typeHashCode:(Ljava/util/List;)I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
aload 0
getfield org.apache.cassandra.cql3.functions.UDAggregate.returnType:Lorg/apache/cassandra/db/marshal/AbstractType;
invokestatic org.apache.cassandra.schema.Functions.typeHashCode:(Lorg/apache/cassandra/db/marshal/AbstractType;)I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
aload 0
getfield org.apache.cassandra.cql3.functions.UDAggregate.stateFunction:Lorg/apache/cassandra/cql3/functions/ScalarFunction;
aastore
dup
iconst_4
aload 0
getfield org.apache.cassandra.cql3.functions.UDAggregate.finalFunction:Lorg/apache/cassandra/cql3/functions/ScalarFunction;
aastore
dup
iconst_5
aload 0
getfield org.apache.cassandra.cql3.functions.UDAggregate.stateType:Lorg/apache/cassandra/db/marshal/AbstractType;
aastore
dup
bipush 6
aload 0
getfield org.apache.cassandra.cql3.functions.UDAggregate.initcond:Ljava/nio/ByteBuffer;
aastore
invokestatic com.google.common.base.Objects.hashCode:([Ljava/lang/Object;)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cql3/functions/UDAggregate;
}
SourceFile: "UDAggregate.java"
NestMembers:
org.apache.cassandra.cql3.functions.UDAggregate$1 org.apache.cassandra.cql3.functions.UDAggregate$2
InnerClasses:
public abstract Aggregate = org.apache.cassandra.cql3.functions.AggregateFunction$Aggregate of org.apache.cassandra.cql3.functions.AggregateFunction
org.apache.cassandra.cql3.functions.UDAggregate$1
org.apache.cassandra.cql3.functions.UDAggregate$2