|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.teiid.query.function.aggregate.AggregateFunction
org.teiid.query.function.aggregate.ConstantFunction
public class ConstantFunction
Constructor Summary | |
---|---|
ConstantFunction()
|
Method Summary | |
---|---|
void |
addInputDirect(java.lang.Object input,
java.util.List<?> tuple)
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 |
reset()
Called to reset the state of the function. |
Methods inherited from class org.teiid.query.function.aggregate.AggregateFunction |
---|
addInput, initialize, setExpressionIndex |
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 reset()
AggregateFunction
reset
in class AggregateFunction
public void addInputDirect(java.lang.Object input, java.util.List<?> tuple) throws FunctionExecutionException, ExpressionEvaluationException, TeiidComponentException
AggregateFunction
addInputDirect
in class AggregateFunction
input
- Input value, may be null
FunctionExecutionException
ExpressionEvaluationException
TeiidComponentException
AggregateFunction.addInputDirect(Object, List)
public java.lang.Object getResult() throws FunctionExecutionException, ExpressionEvaluationException, TeiidComponentException
AggregateFunction
getResult
in class AggregateFunction
FunctionExecutionException
ExpressionEvaluationException
TeiidComponentException
AggregateFunction.getResult()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |