|
||||||||||
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(java.lang.Object context,
java.lang.Object value)
Executes the accumulation action |
java.lang.Object |
createContext()
Creates and returns a new context object |
java.lang.Object |
getResult(java.lang.Object context)
Returns the current value in this accumulation session |
void |
init(java.lang.Object context)
Initializes the accumulator |
void |
reverse(java.lang.Object context,
java.lang.Object value)
Reverses the accumulation action |
boolean |
supportsReverse()
True if the function supports reverse. |
Method Detail |
---|
java.lang.Object createContext()
void init(java.lang.Object context) throws java.lang.Exception
context
-
java.lang.Exception
void accumulate(java.lang.Object context, java.lang.Object value)
context
- value
- void reverse(java.lang.Object context, java.lang.Object value) throws java.lang.Exception
context
- value
-
java.lang.Exception
java.lang.Object getResult(java.lang.Object context) throws java.lang.Exception
context
-
java.lang.Exception
boolean supportsReverse()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |