|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.derby.impl.sql.execute.SystemAggregator
org.apache.derby.impl.sql.execute.OrderableAggregator
org.apache.derby.impl.sql.execute.SumAggregator
public class SumAggregator
Aggregator for SUM(). Defers most of its work to OrderableAggregator.
Field Summary |
---|
Fields inherited from class org.apache.derby.impl.sql.execute.OrderableAggregator |
---|
value |
Constructor Summary | |
---|---|
SumAggregator()
|
Method Summary | |
---|---|
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()
|
Methods inherited from class org.apache.derby.impl.sql.execute.OrderableAggregator |
---|
getResult, merge, readExternal, setup, writeExternal |
Methods inherited from class org.apache.derby.impl.sql.execute.SystemAggregator |
---|
accumulate, didEliminateNulls |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SumAggregator()
Method Detail |
---|
protected void accumulate(DataValueDescriptor addend) throws StandardException
accumulate
in class SystemAggregator
addend
- value to be added in
StandardException
- 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
|
Built on Thu 2010-12-23 20:49:13+0000, from revision ??? | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |