public abstract class Aggregation<T> extends Object
Aggregation is the base class of aggregation implementation.
You can aggregate one property of the GetList command result,
by specifying this classes' concrete instance to
Session.get(Aggregation) method.
Class Aggregations has some factory methods to provide useful
Aggregation instances.Aggregations| Constructor and Description |
|---|
Aggregation(Property<?,T> property)
Constructs a new
Aggregation instance for the specified property. |
public abstract T aggregate(List<T> list)
GetScalar implementation.
The specified list's entry is the value of the property which this
aggregation instance has.list - The value list of the property which this aggregation
instance attempt to aggregate.Copyright © 2009-2014 Eiichiro Uchiumi. All Rights Reserved.