abstract class org.apache.cassandra.cql3.functions.AggregateFcts$FloatSumAggregate implements org.apache.cassandra.cql3.functions.AggregateFunction$Aggregate
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: org.apache.cassandra.cql3.functions.AggregateFcts$FloatSumAggregate
super_class: java.lang.Object
{
private double sum;
descriptor: D
flags: (0x0002) ACC_PRIVATE
private double compensation;
descriptor: D
flags: (0x0002) ACC_PRIVATE
private double simpleSum;
descriptor: D
flags: (0x0002) ACC_PRIVATE
private final org.apache.cassandra.db.marshal.AbstractType numberType;
descriptor: Lorg/apache/cassandra/db/marshal/AbstractType;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(org.apache.cassandra.db.marshal.AbstractType);
descriptor: (Lorg/apache/cassandra/db/marshal/AbstractType;)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.functions.AggregateFcts$FloatSumAggregate.numberType:Lorg/apache/cassandra/db/marshal/AbstractType;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/cql3/functions/AggregateFcts$FloatSumAggregate;
0 3 1 numberType Lorg/apache/cassandra/db/marshal/AbstractType;
MethodParameters:
Name Flags
numberType
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
dconst_0
putfield org.apache.cassandra.cql3.functions.AggregateFcts$FloatSumAggregate.sum:D
1: aload 0
dconst_0
putfield org.apache.cassandra.cql3.functions.AggregateFcts$FloatSumAggregate.compensation:D
2: aload 0
dconst_0
putfield org.apache.cassandra.cql3.functions.AggregateFcts$FloatSumAggregate.simpleSum:D
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/cql3/functions/AggregateFcts$FloatSumAggregate;
public void addInput(org.apache.cassandra.transport.ProtocolVersion, java.util.List<java.nio.ByteBuffer>);
descriptor: (Lorg/apache/cassandra/transport/ProtocolVersion;Ljava/util/List;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=10, args_size=3
start local 0 start local 1 start local 2 0: aload 2
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.nio.ByteBuffer
astore 3
start local 3 1: aload 3
ifnonnull 3
2: return
3: StackMap locals: java.nio.ByteBuffer
StackMap stack:
aload 0
getfield org.apache.cassandra.cql3.functions.AggregateFcts$FloatSumAggregate.numberType:Lorg/apache/cassandra/db/marshal/AbstractType;
aload 3
invokevirtual org.apache.cassandra.db.marshal.AbstractType.compose:(Ljava/nio/ByteBuffer;)Ljava/lang/Object;
checkcast java.lang.Number
invokevirtual java.lang.Number.doubleValue:()D
dstore 4
start local 4 4: aload 0
dup
getfield org.apache.cassandra.cql3.functions.AggregateFcts$FloatSumAggregate.simpleSum:D
dload 4
dadd
putfield org.apache.cassandra.cql3.functions.AggregateFcts$FloatSumAggregate.simpleSum:D
5: dload 4
aload 0
getfield org.apache.cassandra.cql3.functions.AggregateFcts$FloatSumAggregate.compensation:D
dsub
dstore 6
start local 6 6: aload 0
getfield org.apache.cassandra.cql3.functions.AggregateFcts$FloatSumAggregate.sum:D
dload 6
dadd
dstore 8
start local 8 7: aload 0
dload 8
aload 0
getfield org.apache.cassandra.cql3.functions.AggregateFcts$FloatSumAggregate.sum:D
dsub
dload 6
dsub
putfield org.apache.cassandra.cql3.functions.AggregateFcts$FloatSumAggregate.compensation:D
8: aload 0
dload 8
putfield org.apache.cassandra.cql3.functions.AggregateFcts$FloatSumAggregate.sum:D
9: return
end local 8 end local 6 end local 4 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/functions/AggregateFcts$FloatSumAggregate;
0 10 1 protocolVersion Lorg/apache/cassandra/transport/ProtocolVersion;
0 10 2 values Ljava/util/List<Ljava/nio/ByteBuffer;>;
1 10 3 value Ljava/nio/ByteBuffer;
4 10 4 number D
6 10 6 tmp D
7 10 8 rounded D
Signature: (Lorg/apache/cassandra/transport/ProtocolVersion;Ljava/util/List<Ljava/nio/ByteBuffer;>;)V
MethodParameters:
Name Flags
protocolVersion
values
public double computeInternal();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.cql3.functions.AggregateFcts$FloatSumAggregate.sum:D
aload 0
getfield org.apache.cassandra.cql3.functions.AggregateFcts$FloatSumAggregate.compensation:D
dadd
dstore 1
start local 1 1: dload 1
invokestatic java.lang.Double.isNaN:(D)Z
ifeq 3
aload 0
getfield org.apache.cassandra.cql3.functions.AggregateFcts$FloatSumAggregate.simpleSum:D
invokestatic java.lang.Double.isInfinite:(D)Z
ifeq 3
2: aload 0
getfield org.apache.cassandra.cql3.functions.AggregateFcts$FloatSumAggregate.simpleSum:D
dreturn
3: StackMap locals: double
StackMap stack:
dload 1
dreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/cql3/functions/AggregateFcts$FloatSumAggregate;
1 4 1 tmp D
}
SourceFile: "AggregateFcts.java"
NestHost: org.apache.cassandra.cql3.functions.AggregateFcts
InnerClasses:
private abstract FloatSumAggregate = org.apache.cassandra.cql3.functions.AggregateFcts$FloatSumAggregate of org.apache.cassandra.cql3.functions.AggregateFcts
public abstract Aggregate = org.apache.cassandra.cql3.functions.AggregateFunction$Aggregate of org.apache.cassandra.cql3.functions.AggregateFunction