java.io.Externalizable
, java.io.Serializable
, Formatable
, TypedFormat
, ExecAggregator
AvgAggregator
public class SumAggregator extends OrderableAggregator
value
Constructor | Description |
---|---|
SumAggregator() |
Modifier and Type | Method | Description |
---|---|---|
protected void |
accumulate(DataValueDescriptor addend) |
Accumulate
|
int |
getTypeFormatId() |
Get the formatID which corresponds to this class.
|
ExecAggregator |
newAggregator() |
Return a new initialized copy of this aggregator, any state
set by the setup() method of the original Aggregator must be
copied into the new aggregator.
|
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getResult, merge, readExternal, setup, writeExternal
accumulate, didEliminateNulls
protected void accumulate(DataValueDescriptor addend) throws StandardException
accumulate
in class SystemAggregator
addend
- value to be added inStandardException
- on errorExecAggregator.accumulate(org.apache.derby.iapi.types.DataValueDescriptor, java.lang.Object)
public ExecAggregator newAggregator()
ExecAggregator
public int getTypeFormatId()
public java.lang.String toString()
toString
in class OrderableAggregator
Apache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.