| package edu.uci.ics.hyracks.algebricks.runtime.base; |
| |
| import edu.uci.ics.hyracks.algebricks.common.exceptions.AlgebricksException; |
| import edu.uci.ics.hyracks.dataflow.common.data.accessors.IFrameTupleReference; |
| |
| public interface ICopyAggregateFunction { |
| /** 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; |
| } |