public class SumAggregator extends OrderableAggregator
value
Constructor and Description |
---|
SumAggregator() |
Modifier and Type | Method and 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() |
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.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.