public class LeadLagValue extends AggregateFunction
argIndexes| Constructor and Description |
|---|
LeadLagValue() |
| Modifier and Type | Method and Description |
|---|---|
void |
addInputDirect(List<?> tuple,
CommandContext commandContext)
Called for the element value in every row of a group.
|
Class<?> |
getOutputType(AggregateSymbol function) |
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, getState, getStateTypes, initialize, setArgIndexes, setConditionIndex, setStatepublic void addInputDirect(List<?> tuple, CommandContext commandContext) throws TeiidComponentException, TeiidProcessingException
AggregateFunctionaddInputDirect in class AggregateFunctionTeiidProcessingExceptionTeiidComponentExceptionpublic Object getResult(CommandContext commandContext) throws FunctionExecutionException, ExpressionEvaluationException, TeiidComponentException, TeiidProcessingException
AggregateFunctiongetResult in class AggregateFunctionTeiidProcessingExceptionFunctionExecutionExceptionExpressionEvaluationExceptionTeiidComponentExceptionpublic void reset()
AggregateFunctionreset in class AggregateFunctionpublic boolean respectsNull()
respectsNull in class AggregateFunctionpublic Class<?> getOutputType(AggregateSymbol function)
getOutputType in class AggregateFunctionCopyright © 2019. All rights reserved.