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, setState
public void addInputDirect(List<?> tuple, CommandContext commandContext) throws TeiidComponentException, TeiidProcessingException
AggregateFunction
addInputDirect
in class AggregateFunction
TeiidProcessingException
TeiidComponentException
public void initialize(Class<?> dataType, Class<?>[] inputTypes)
AggregateFunction
initialize
in class AggregateFunction
dataType
- 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 © 2020. All rights reserved.