Class AggregateDataEnvelope
java.lang.Object
org.h2.expression.aggregate.AggregateData
org.h2.expression.aggregate.AggregateDataEnvelope
Data stored while calculating an aggregate.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) voidadd(SessionLocal session, Value v) Add a value to this aggregate.(package private) static IndexGet the index (if any) for the column specified in the geometry aggregate.(package private) ValuegetValue(SessionLocal session) Get the aggregate result.
-
Field Details
-
envelope
private double[] envelope
-
-
Constructor Details
-
AggregateDataEnvelope
AggregateDataEnvelope()
-
-
Method Details
-
getGeometryColumnIndex
Get the index (if any) for the column specified in the geometry aggregate.- Parameters:
on- the expression (usually a column expression)- Returns:
- the index, or null
-
add
Description copied from class:AggregateDataAdd a value to this aggregate.- Specified by:
addin classAggregateData- Parameters:
session- the sessionv- the value
-
getValue
Description copied from class:AggregateDataGet the aggregate result.- Specified by:
getValuein classAggregateData- Parameters:
session- the session- Returns:
- the value
-