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

pack-priv final Class AggregateDataAnyValue

extends AggregateData
Class Inheritance
Imports
java.util.ArrayList, .Random, org.h2.engine.SessionLocal, org.h2.value.Value, .ValueNull

Data stored while calculating an ANY_VALUE aggregate.

Field Summary

Modifier and TypeField and Description
private long
private static final int
pack-priv ArrayList<Value>

Constructor Summary

AccessConstructor and Description
pack-priv
AggregateDataAnyValue()

Creates new instance of data for ANY_VALUE.

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.

private void
pack-priv Value
getValue(SessionLocal
the session
session
)

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

Get the aggregate result.

Field Detail

filterback to summary
private long filter
MAX_VALUESback to summary
private static final int MAX_VALUES
valuesback to summary
pack-priv ArrayList<Value> values

Constructor Detail

AggregateDataAnyValueback to summary
pack-priv AggregateDataAnyValue()

Creates new instance of data for ANY_VALUE.

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
compactback to summary
private void compact(SessionLocal session)
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