| org.cougaar.lib.aggagent.query.DataAtomMelder
All known Subclasses: org.cougaar.lib.aggagent.script.SilkMelder, org.cougaar.lib.aggagent.script.PythMelder,
DataAtomMelder | public interface DataAtomMelder extends Serializable(Code) | | Objects implementing this interface embody the nucleus of aggregation
functionality. That is, they combine multiple data atoms based on the
embodied aggregation rule. Typically, the result is a single atom, but
the API allows zero or multiple atoms to accomodate a variety of needs.
|
Method Summary | |
public void | meld(List idNames, CompoundKey id, List atoms, List output) Combine the data atoms in the list provided according to the implemented
aggregation scheme. |
meld | public void meld(List idNames, CompoundKey id, List atoms, List output)(Code) | | Combine the data atoms in the list provided according to the implemented
aggregation scheme. Atoms produced in this manner should be appended to
the output list. Any other modification of the list should be avoided.
The list of idNames and the CompoundKey refer to the aggregation. If
multiple aggregated atoms are going to be produced, then additional id
keys must be used to distinguish them (otherwise, only one will be kept
in the resultant data set.
Parameters: idNames - a list of names, in order of appearance, of the id valuesfound in the id key Parameters: id - the compound id key values associated with the aggregation Parameters: atoms - a List of ResultSetDataAtoms that should be combined Parameters: output - a List into which the produced ResultSetDataAtoms should beplaced |
|
|