blob: e68ae529e6a0e3a1695fd5669c29a598d5ad254e [file] [log] [blame]
package edu.uci.ics.hyracks.algebricks.core.algebra.runtime.base;
import edu.uci.ics.hyracks.algebricks.core.api.exceptions.AlgebricksException;
import edu.uci.ics.hyracks.dataflow.common.data.accessors.IFrameTupleReference;
public interface IAggregateFunction {
/** should be called each time a new aggregate value is computed */
public void init() throws AlgebricksException;
public void step(IFrameTupleReference tuple) throws AlgebricksException;
public void finish() throws AlgebricksException;
public void finishPartial() throws AlgebricksException;
}