public class RankingFunction extends AggregateFunction
argIndexes
Constructor and Description |
---|
RankingFunction(AggregateSymbol.Type function) |
Modifier and Type | Method and Description |
---|---|
void |
addInputDirect(List<?> tuple,
CommandContext commandContext)
Called for the element value in every row of a group.
|
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.
|
addInput, filter, getArgIndexes, getOutputType, getState, getStateTypes, initialize, respectsNull, setArgIndexes, setConditionIndex, setState
public RankingFunction(AggregateSymbol.Type function)
public void reset()
AggregateFunction
reset
in class AggregateFunction
public void addInputDirect(List<?> tuple, CommandContext commandContext) throws FunctionExecutionException, ExpressionEvaluationException, TeiidComponentException
AggregateFunction
addInputDirect
in class AggregateFunction
FunctionExecutionException
ExpressionEvaluationException
TeiidComponentException
public Object getResult(CommandContext commandContext) throws FunctionExecutionException, ExpressionEvaluationException, TeiidComponentException
AggregateFunction
getResult
in class AggregateFunction
FunctionExecutionException
ExpressionEvaluationException
TeiidComponentException
Copyright © 2019. All rights reserved.