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 for the computation of an aggregate.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) abstract voidadd(SessionLocal session, Value v) Add a value to this aggregate.(package private) abstract ValuegetValue(SessionLocal session) Get the aggregate result.
-
Constructor Details
-
AggregateData
AggregateData()
-
-
Method Details
-
add
Add a value to this aggregate.- Parameters:
session- the sessionv- the value
-
getValue
Get the aggregate result.- Parameters:
session- the session- Returns:
- the value
-