Package org.h2.expression.aggregate
Class AggregateData
- java.lang.Object
-
- org.h2.expression.aggregate.AggregateData
-
- Direct Known Subclasses:
AggregateDataAvg
,AggregateDataBinarySet
,AggregateDataCollecting
,AggregateDataCount
,AggregateDataDefault
,AggregateDataDistinctWithCounts
,AggregateDataEnvelope
,AggregateDataStdVar
abstract class AggregateData extends java.lang.Object
Abstract class for the computation of an aggregate.
-
-
Constructor Summary
Constructors Constructor Description AggregateData()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description (package private) abstract void
add(SessionLocal session, Value v)
Add a value to this aggregate.(package private) abstract Value
getValue(SessionLocal session)
Get the aggregate result.
-
-
-
Method Detail
-
add
abstract void add(SessionLocal session, Value v)
Add a value to this aggregate.- Parameters:
session
- the sessionv
- the value
-
getValue
abstract Value getValue(SessionLocal session)
Get the aggregate result.- Parameters:
session
- the session- Returns:
- the value
-
-