org.teiid.query.function.aggregate
Class ArrayAgg
java.lang.Object
org.teiid.query.function.aggregate.AggregateFunction
org.teiid.query.function.aggregate.ArrayAgg
public class ArrayAgg
- extends AggregateFunction
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ArrayAgg
public ArrayAgg(CommandContext context)
addInputDirect
public void addInputDirect(Object input,
List<?> tuple)
throws TeiidComponentException,
TeiidProcessingException
- Description copied from class:
AggregateFunction
- Called for the element value in every row of a group.
- Specified by:
addInputDirect
in class AggregateFunction
- Parameters:
input
- Input value, may be null
- Throws:
TeiidProcessingException
TeiidComponentException
getResult
public Object getResult()
throws FunctionExecutionException,
ExpressionEvaluationException,
TeiidComponentException,
TeiidProcessingException
- Description copied from class:
AggregateFunction
- Called after all values have been processed to get the result.
- Specified by:
getResult
in class AggregateFunction
- Returns:
- Result value
- Throws:
TeiidProcessingException
FunctionExecutionException
ExpressionEvaluationException
TeiidComponentException
reset
public void reset()
- Description copied from class:
AggregateFunction
- Called to reset the state of the function.
- Specified by:
reset
in class AggregateFunction
respectsNull
public boolean respectsNull()
- Overrides:
respectsNull
in class AggregateFunction
Copyright © 2012. All Rights Reserved.