public abstract class SingleArgumentAggregateFunction extends AggregateFunction
argIndexes| Constructor and Description |
|---|
SingleArgumentAggregateFunction() |
| Modifier and Type | Method and Description |
|---|---|
void |
addInputDirect(List<?> tuple,
CommandContext commandContext)
Called for the element value in every row of a group.
|
abstract void |
addInputDirect(Object input,
List<?> tuple,
CommandContext commandContext) |
void |
initialize(Class<?> dataType,
Class<?> inputType) |
void |
initialize(Class<?> dataType,
Class<?>[] inputTypes)
Called to initialize the function.
|
addInput, filter, getArgIndexes, getOutputType, getResult, getState, getStateTypes, reset, respectsNull, setArgIndexes, setConditionIndex, setStatepublic void addInputDirect(List<?> tuple, CommandContext commandContext) throws TeiidComponentException, TeiidProcessingException
AggregateFunctionaddInputDirect in class AggregateFunctionTeiidProcessingExceptionTeiidComponentExceptionpublic void initialize(Class<?> dataType, Class<?>[] inputTypes)
AggregateFunctioninitialize in class AggregateFunctiondataType - Data type of element begin aggregatedpublic void initialize(Class<?> dataType, Class<?> inputType)
dataType - inputType - public abstract void addInputDirect(Object input, List<?> tuple, CommandContext commandContext) throws TeiidProcessingException, TeiidComponentException
Copyright © 2019. All rights reserved.