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, setState
public void addInputDirect(List<?> tuple, CommandContext commandContext) throws TeiidComponentException, TeiidProcessingException
AggregateFunction
addInputDirect
in class AggregateFunction
TeiidProcessingException
TeiidComponentException
public void addInput(List<?> tuple, CommandContext commandContext, long startFrame, long endFrame, TupleBuffer frame) throws TeiidComponentException, TeiidProcessingException
public boolean respectsNull()
respectsNull
in class AggregateFunction
public void reset()
AggregateFunction
reset
in class AggregateFunction
public Object getResult(CommandContext commandContext) throws FunctionExecutionException, ExpressionEvaluationException, TeiidComponentException, TeiidProcessingException
AggregateFunction
getResult
in class AggregateFunction
TeiidProcessingException
FunctionExecutionException
ExpressionEvaluationException
TeiidComponentException
Copyright © 2020. All rights reserved.