org.mbari.jddac
Class AggregateFunction

java.lang.Object
  extended by org.mbari.jddac.AggregateFunction
All Implemented Interfaces:
IFunction

public class AggregateFunction
extends java.lang.Object
implements IFunction

This Function is applied to an aggregation block. It converts the Samples that are stored internally from an ArgArray[] to an ArgArray like:

 ArgArray {
   "0": argArray[0]
   "1": argArray[1]
   "2": argArray[2]
   ...
 }
 
This allows the records to be passed on to other FunctionBlocks that expect an argArray


Field Summary
 
Fields inherited from interface org.mbari.jddac.IFunction
KEY, OPID_IN, OPID_OUT
 
Constructor Summary
AggregateFunction(AggregationBlock aggregationBlock)
           
 
Method Summary
 net.java.jddac.common.type.ArgArray execute(net.java.jddac.common.type.ArgArray argArray)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AggregateFunction

public AggregateFunction(AggregationBlock aggregationBlock)
Method Detail

execute

public net.java.jddac.common.type.ArgArray execute(net.java.jddac.common.type.ArgArray argArray)
Specified by:
execute in interface IFunction


Copyright © 2003 MBARI.

The Monterey Bay Aquarium Research Institute (MBARI) provides this documentation and code "as is", with no warranty, express or implied, of its quality or consistency. It is provided without support and without obligation on the part of MBARI to assist in its use, correction, modification, or enhancement.