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, setState
public void addInputDirect(List<?> tuple, CommandContext commandContext) throws TeiidComponentException, TeiidProcessingException
AggregateFunction
addInputDirect
in class AggregateFunction
TeiidProcessingException
TeiidComponentException
public Object getResult(CommandContext commandContext) throws FunctionExecutionException, ExpressionEvaluationException, TeiidComponentException, TeiidProcessingException
AggregateFunction
getResult
in class AggregateFunction
TeiidProcessingException
FunctionExecutionException
ExpressionEvaluationException
TeiidComponentException
public void reset()
AggregateFunction
reset
in class AggregateFunction
public boolean respectsNull()
respectsNull
in class AggregateFunction
public Class<?> getOutputType(AggregateSymbol function)
getOutputType
in class AggregateFunction
Copyright © 2019. All rights reserved.