public class Ntile extends SingleArgumentAggregateFunction
argIndexes
Constructor and Description |
---|
Ntile() |
Modifier and Type | Method and Description |
---|---|
void |
addInputDirect(Object input,
List<?> tuple,
CommandContext commandContext) |
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.
|
addInputDirect, initialize, initialize
addInput, filter, getArgIndexes, getState, getStateTypes, respectsNull, setArgIndexes, setConditionIndex, setState
public void reset()
AggregateFunction
reset
in class AggregateFunction
public Object getResult(CommandContext commandContext)
AggregateFunction
getResult
in class AggregateFunction
public void addInputDirect(Object input, List<?> tuple, CommandContext commandContext) throws TeiidProcessingException, TeiidComponentException
addInputDirect
in class SingleArgumentAggregateFunction
TeiidProcessingException
TeiidComponentException
public Class<?> getOutputType(AggregateSymbol function)
getOutputType
in class AggregateFunction
Copyright © 2019. All rights reserved.