public class Min extends SingleArgumentAggregateFunction
argIndexes| Constructor and Description |
|---|
Min() |
| Modifier and Type | Method and Description |
|---|---|
void |
addInputDirect(Object value,
List<?> tuple,
CommandContext commandContext) |
Object |
getResult(CommandContext commandContext)
Called after all values have been processed to get the result.
|
void |
getState(List<Object> state) |
List<? extends Class<?>> |
getStateTypes() |
void |
initialize(Class<?> dataType,
Class<?> inputType) |
void |
reset()
Called to reset the state of the function.
|
int |
setState(List<?> state,
int index) |
addInputDirect, initializeaddInput, filter, getArgIndexes, respectsNull, setArgIndexes, setConditionIndexpublic void reset()
AggregateFunctionreset in class AggregateFunctionpublic void initialize(Class<?> dataType, Class<?> inputType)
initialize in class SingleArgumentAggregateFunctionpublic void addInputDirect(Object value, List<?> tuple, CommandContext commandContext) throws FunctionExecutionException, ExpressionEvaluationException, TeiidComponentException
addInputDirect in class SingleArgumentAggregateFunctionFunctionExecutionExceptionExpressionEvaluationExceptionTeiidComponentExceptionorg.teiid.query.function.aggregate.AggregateFunction#addInputDirect(List, CommandContext, CommandContext)public Object getResult(CommandContext commandContext)
AggregateFunctiongetResult in class AggregateFunctionAggregateFunction.getResult(CommandContext)public List<? extends Class<?>> getStateTypes()
getStateTypes in class AggregateFunctionpublic void getState(List<Object> state)
getState in class AggregateFunctionpublic int setState(List<?> state, int index)
setState in class AggregateFunctionCopyright © 2018 JBoss by Red Hat. All rights reserved.