|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AggregationFn
The interface implemented by aggregation functions. Aggregation functions are used by the groupby operator.
Method Summary | |
---|---|
String |
fieldName()
Returns the name of the new aggregation field. |
void |
processFirst(Scan s)
Uses the current record of the specified scan to be the first record in the group. |
void |
processNext(Scan s)
Uses the current record of the specified scan to be the next record in the group. |
Constant |
value()
Returns the computed aggregation value. |
Method Detail |
---|
void processFirst(Scan s)
s
- the scan to aggregate over.void processNext(Scan s)
s
- the scan to aggregate over.String fieldName()
Constant value()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |