public class ArrayAgg extends SingleArgumentAggregateFunction
argIndexes
Constructor and Description |
---|
ArrayAgg() |
Modifier and Type | Method and Description |
---|---|
void |
addInputDirect(Object input,
List<?> tuple,
CommandContext commandContext) |
Object |
getResult(CommandContext commandContext)
Called after all values have been processed to get the result.
|
void |
initialize(Class<?> dataType,
Class<?> inputType) |
void |
reset()
Called to reset the state of the function.
|
boolean |
respectsNull() |
addInputDirect, initialize
addInput, filter, getArgIndexes, getOutputType, getState, getStateTypes, setArgIndexes, setConditionIndex, setState
public void initialize(Class<?> dataType, Class<?> inputType)
initialize
in class SingleArgumentAggregateFunction
public void addInputDirect(Object input, List<?> tuple, CommandContext commandContext) throws TeiidComponentException, TeiidProcessingException
addInputDirect
in class SingleArgumentAggregateFunction
TeiidComponentException
TeiidProcessingException
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
Copyright © 2018 JBoss by Red Hat. All rights reserved.