| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AccumulateFunction
An interface for accumulate external function implementations
| Method Summary | |
|---|---|
|  void | accumulate(Serializable context,
           Object value)Executes the accumulation action | 
|  Serializable | createContext()Creates and returns a new context object | 
|  Object | getResult(Serializable context)Returns the current value in this accumulation session | 
|  void | init(Serializable context)Initializes the accumulator | 
|  void | reverse(Serializable context,
        Object value)Reverses the accumulation action | 
|  boolean | supportsReverse()True if the function supports reverse. | 
| Methods inherited from interface java.io.Externalizable | 
|---|
| readExternal, writeExternal | 
| Method Detail | 
|---|
Serializable createContext()
void init(Serializable context)
          throws Exception
context - 
Exception
void accumulate(Serializable context,
                Object value)
context - value - 
void reverse(Serializable context,
             Object value)
             throws Exception
context - value - 
Exception
Object getResult(Serializable context)
                 throws Exception
context - 
Exceptionboolean supportsReverse()
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||