public class ConstantFunction extends SingleArgumentAggregateFunction
argIndexes
Constructor and Description |
---|
ConstantFunction() |
Modifier and Type | Method and Description |
---|---|
void |
addInputDirect(Object input,
List<?> tuple,
CommandContext commandContext) |
Object |
getResult(CommandContext commandContext)
Called after all values have been processed to get the result.
|
void |
reset()
Called to reset the state of the function.
|
boolean |
respectsNull() |
addInputDirect, initialize, initialize
addInput, filter, getArgIndexes, getOutputType, getState, getStateTypes, setArgIndexes, setConditionIndex, setState
public void reset()
AggregateFunction
reset
in class AggregateFunction
public boolean respectsNull()
respectsNull
in class AggregateFunction
public void addInputDirect(Object input, List<?> tuple, CommandContext commandContext) throws FunctionExecutionException, ExpressionEvaluationException, TeiidComponentException
addInputDirect
in class SingleArgumentAggregateFunction
FunctionExecutionException
ExpressionEvaluationException
TeiidComponentException
public Object getResult(CommandContext commandContext) throws FunctionExecutionException, ExpressionEvaluationException, TeiidComponentException
AggregateFunction
getResult
in class AggregateFunction
FunctionExecutionException
ExpressionEvaluationException
TeiidComponentException
AggregateFunction.getResult(CommandContext)
Copyright © 2019. All rights reserved.