|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.metamatrix.query.function.aggregate.ConstantFunction
public class ConstantFunction
Constructor Summary | |
---|---|
ConstantFunction()
Constructor for NoFunction. |
Method Summary | |
---|---|
void |
addInput(java.lang.Object input)
Called for the element value in every row of a group. |
java.lang.Object |
getResult()
Called after all values have been processed to get the result. |
void |
initialize(java.lang.Class dataType,
java.lang.Class inputType)
Called to initialize the function. |
void |
reset()
Called to reset the state of the function. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConstantFunction()
Method Detail |
---|
public void initialize(java.lang.Class dataType, java.lang.Class inputType)
AggregateFunction
initialize
in interface AggregateFunction
dataType
- Data type of element begin aggregatedcom.metamatrix.query.function.aggregate.AggregateFunction#initialize(String, Class)
public void reset()
AggregateFunction
reset
in interface AggregateFunction
public void addInput(java.lang.Object input) throws FunctionExecutionException, ExpressionEvaluationException, MetaMatrixComponentException
AggregateFunction
addInput
in interface AggregateFunction
input
- Input value, may be null
FunctionExecutionException
ExpressionEvaluationException
MetaMatrixComponentException
AggregateFunction.addInput(Object)
public java.lang.Object getResult() throws FunctionExecutionException, ExpressionEvaluationException, MetaMatrixComponentException
AggregateFunction
getResult
in interface AggregateFunction
FunctionExecutionException
ExpressionEvaluationException
MetaMatrixComponentException
AggregateFunction.getResult()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |