| java.lang.Object org.cougaar.lib.aggagent.query.BatchAggregator
BatchAggregator | public class BatchAggregator implements Aggregator(Code) | | An implementation of the Aggregator interface that behavior most likely to
be used by developers. In particular, a series of keys can be used to
gather atoms into affinity classes, and a DataAtomMelder (q.v.) is used to
meld the affinity classes into atoms.
|
Method Summary | |
public void | aggregate(Iterator dataAtoms, List output) Transform the raw result set into an aggregated result set. |
BatchAggregator | public BatchAggregator(List ids, DataAtomMelder m)(Code) | | Create a new BatchAggregator. A list of ids is used to collate a result
set, and a DataAtomMelder is used to meld collections of atoms into the
aggregated result set.
|
aggregate | public void aggregate(Iterator dataAtoms, List output)(Code) | | Transform the raw result set into an aggregated result set.
|
|
|