|
Apache Derby 10.10 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Aggregator<V,R,A extends Aggregator<V,R,A>>
Behavior of a user-defined Derby aggregator. Aggregates values of type V and returns a result of type R. In addition to the methods in the interface, implementing classes must have a 0-arg public constructor.
| Method Summary | |
|---|---|
void |
accumulate(V value)
Accumulate the next scalar value |
void |
init()
Initialize the Aggregator |
void |
merge(A otherAggregator)
For merging another partial result into this Aggregator. |
R |
terminate()
Return the result scalar value |
| Method Detail |
|---|
void init()
void accumulate(V value)
void merge(A otherAggregator)
R terminate()
|
Built on Wed 2013-06-12 15:21:56+0000, from revision ??? | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||