Top Description Fields Constructors Methods
org.h2.expression.aggregate

pack-priv final Class AggregateDataEnvelope

extends AggregateData
Class Inheritance
Imports
java.util.ArrayList, org.h2.engine.SessionLocal, org.h2.expression.Expression, .ExpressionColumn, org.h2.index.Index, org.h2.mvstore.db.MVSpatialIndex, org.h2.table.Column, .TableFilter, org.h2.util.geometry.GeometryUtils, org.h2.value.Value, .ValueGeometry, .ValueNull

Data stored while calculating an aggregate.

Field Summary

Modifier and TypeField and Description
private double[]

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv void
add(SessionLocal
the session
session
,
Value
the value
v
)

Implements abstract org.h2.expression.aggregate.AggregateData.add.

Add a value to this aggregate.

pack-priv static Index

Returns:

the index, or null
getGeometryColumnIndex
(Expression
the expression (usually a column expression)
on
)

Get the index (if any) for the column specified in the geometry aggregate.

pack-priv Value
getValue(SessionLocal
the session
session
)

Implements abstract org.h2.expression.aggregate.AggregateData.getValue.

Get the aggregate result.

Field Detail

envelopeback to summary
private double[] envelope

Constructor Detail

AggregateDataEnvelopeback to summary
pack-priv AggregateDataEnvelope()

Method Detail

addback to summary
pack-priv void add(SessionLocal session, Value v)

Implements abstract org.h2.expression.aggregate.AggregateData.add.

Doc from org.h2.expression.aggregate.AggregateData.add.

Add a value to this aggregate.

Parameters
session:SessionLocal

the session

v:Value

the value

Annotations
@Override
getGeometryColumnIndexback to summary
pack-priv static Index getGeometryColumnIndex(Expression on)

Get the index (if any) for the column specified in the geometry aggregate.

Parameters
on:Expression

the expression (usually a column expression)

Returns:Index

the index, or null

getValueback to summary
pack-priv Value getValue(SessionLocal session)

Implements abstract org.h2.expression.aggregate.AggregateData.getValue.

Doc from org.h2.expression.aggregate.AggregateData.getValue.

Get the aggregate result.

Parameters
session:SessionLocal

the session

Returns:Value

the value

Annotations
@Override