public class NthValue extends AggregateFunction
argIndexes| Constructor and Description | 
|---|
| NthValue() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addInput(List<?> tuple,
        CommandContext commandContext,
        long startFrame,
        long endFrame,
        TupleBuffer frame) | 
| 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. | 
| boolean | respectsNull() | 
addInput, filter, getArgIndexes, getOutputType, getState, getStateTypes, initialize, setArgIndexes, setConditionIndex, setStatepublic void addInputDirect(List<?> tuple, CommandContext commandContext) throws TeiidComponentException, TeiidProcessingException
AggregateFunctionaddInputDirect in class AggregateFunctionTeiidProcessingExceptionTeiidComponentExceptionpublic void addInput(List<?> tuple, CommandContext commandContext, long startFrame, long endFrame, TupleBuffer frame) throws TeiidComponentException, TeiidProcessingException
public boolean respectsNull()
respectsNull in class AggregateFunctionpublic void reset()
AggregateFunctionreset in class AggregateFunctionpublic Object getResult(CommandContext commandContext) throws FunctionExecutionException, ExpressionEvaluationException, TeiidComponentException, TeiidProcessingException
AggregateFunctiongetResult in class AggregateFunctionTeiidProcessingExceptionFunctionExecutionExceptionExpressionEvaluationExceptionTeiidComponentExceptionCopyright © 2020. All rights reserved.