public class Max extends SingleArgumentAggregateFunction
argIndexes
Constructor and Description |
---|
Max() |
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, initialize
addInput, filter, getArgIndexes, getOutputType, respectsNull, setArgIndexes, setConditionIndex
public void reset()
AggregateFunction
reset
in class AggregateFunction
public void initialize(Class<?> dataType, Class<?> inputType)
initialize
in class SingleArgumentAggregateFunction
public void addInputDirect(Object value, List<?> tuple, CommandContext commandContext) throws FunctionExecutionException, ExpressionEvaluationException, TeiidComponentException
addInputDirect
in class SingleArgumentAggregateFunction
FunctionExecutionException
ExpressionEvaluationException
TeiidComponentException
public Object getResult(CommandContext commandContext)
AggregateFunction
getResult
in class AggregateFunction
AggregateFunction.getResult(CommandContext)
public List<? extends Class<?>> getStateTypes()
getStateTypes
in class AggregateFunction
public void getState(List<Object> state)
getState
in class AggregateFunction
public int setState(List<?> state, int index)
setState
in class AggregateFunction
Copyright © 2020. All rights reserved.