class org.apache.cassandra.cql3.functions.AggregateFcts$2$1 implements org.apache.cassandra.cql3.functions.AggregateFunction$Aggregate
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.cassandra.cql3.functions.AggregateFcts$2$1
super_class: java.lang.Object
{
private java.math.BigDecimal sum;
descriptor: Ljava/math/BigDecimal;
flags: (0x0002) ACC_PRIVATE
final org.apache.cassandra.cql3.functions.AggregateFcts$2 this$1;
descriptor: Lorg/apache/cassandra/cql3/functions/AggregateFcts$2;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(org.apache.cassandra.cql3.functions.AggregateFcts$2);
descriptor: (Lorg/apache/cassandra/cql3/functions/AggregateFcts$2;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield org.apache.cassandra.cql3.functions.AggregateFcts$2$1.this$1:Lorg/apache/cassandra/cql3/functions/AggregateFcts$2;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
getstatic java.math.BigDecimal.ZERO:Ljava/math/BigDecimal;
putfield org.apache.cassandra.cql3.functions.AggregateFcts$2$1.sum:Ljava/math/BigDecimal;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/cql3/functions/AggregateFcts$2$1;
MethodParameters:
Name Flags
this$0 final
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic java.math.BigDecimal.ZERO:Ljava/math/BigDecimal;
putfield org.apache.cassandra.cql3.functions.AggregateFcts$2$1.sum:Ljava/math/BigDecimal;
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/cql3/functions/AggregateFcts$2$1;
public java.nio.ByteBuffer compute(org.apache.cassandra.transport.ProtocolVersion);
descriptor: (Lorg/apache/cassandra/transport/ProtocolVersion;)Ljava/nio/ByteBuffer;
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.AggregateFcts$2$1.this$1:Lorg/apache/cassandra/cql3/functions/AggregateFcts$2;
invokevirtual org.apache.cassandra.cql3.functions.AggregateFcts$2.returnType:()Lorg/apache/cassandra/db/marshal/AbstractType;
checkcast org.apache.cassandra.db.marshal.DecimalType
aload 0
getfield org.apache.cassandra.cql3.functions.AggregateFcts$2$1.sum:Ljava/math/BigDecimal;
invokevirtual org.apache.cassandra.db.marshal.DecimalType.decompose:(Ljava/lang/Object;)Ljava/nio/ByteBuffer;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cql3/functions/AggregateFcts$2$1;
0 1 1 protocolVersion Lorg/apache/cassandra/transport/ProtocolVersion;
MethodParameters:
Name Flags
protocolVersion
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=3, locals=5, 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:
getstatic org.apache.cassandra.db.marshal.DecimalType.instance:Lorg/apache/cassandra/db/marshal/DecimalType;
aload 3
invokevirtual org.apache.cassandra.db.marshal.DecimalType.compose:(Ljava/nio/ByteBuffer;)Ljava/lang/Object;
checkcast java.math.BigDecimal
astore 4
start local 4 4: aload 0
aload 0
getfield org.apache.cassandra.cql3.functions.AggregateFcts$2$1.sum:Ljava/math/BigDecimal;
aload 4
invokevirtual java.math.BigDecimal.add:(Ljava/math/BigDecimal;)Ljava/math/BigDecimal;
putfield org.apache.cassandra.cql3.functions.AggregateFcts$2$1.sum:Ljava/math/BigDecimal;
5: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/cassandra/cql3/functions/AggregateFcts$2$1;
0 6 1 protocolVersion Lorg/apache/cassandra/transport/ProtocolVersion;
0 6 2 values Ljava/util/List<Ljava/nio/ByteBuffer;>;
1 6 3 value Ljava/nio/ByteBuffer;
4 6 4 number Ljava/math/BigDecimal;
Signature: (Lorg/apache/cassandra/transport/ProtocolVersion;Ljava/util/List<Ljava/nio/ByteBuffer;>;)V
MethodParameters:
Name Flags
protocolVersion
values
}
SourceFile: "AggregateFcts.java"
EnclosingMethod: org.apache.cassandra.cql3.functions.AggregateFcts$2.newAggregate:()Lorg/apache/cassandra/cql3/functions/AggregateFunction$Aggregate;
NestHost: org.apache.cassandra.cql3.functions.AggregateFcts
InnerClasses:
org.apache.cassandra.cql3.functions.AggregateFcts$2
org.apache.cassandra.cql3.functions.AggregateFcts$2$1
public abstract Aggregate = org.apache.cassandra.cql3.functions.AggregateFunction$Aggregate of org.apache.cassandra.cql3.functions.AggregateFunction