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, initializeaddInput, filter, getArgIndexes, getState, getStateTypes, respectsNull, setArgIndexes, setConditionIndex, setStatepublic void reset()
AggregateFunctionreset in class AggregateFunctionpublic Object getResult(CommandContext commandContext)
AggregateFunctiongetResult in class AggregateFunctionpublic void addInputDirect(Object input, List<?> tuple, CommandContext commandContext) throws TeiidProcessingException, TeiidComponentException
addInputDirect in class SingleArgumentAggregateFunctionTeiidProcessingExceptionTeiidComponentExceptionpublic Class<?> getOutputType(AggregateSymbol function)
getOutputType in class AggregateFunctionCopyright © 2019. All rights reserved.