public abstract class DefaultAggregateFunction<T> extends Object implements AggregateFunction
AggregateFunction
.Constructor and Description |
---|
DefaultAggregateFunction() |
Modifier and Type | Method and Description |
---|---|
Object |
evaluate(Object... values)
Executes the function
|
ColumnType |
getExpectedColumnType(ColumnType type)
Returns the function ColumnType.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
createAggregateBuilder
getFunctionName
public ColumnType getExpectedColumnType(ColumnType type)
AggregateFunction
getExpectedColumnType
in interface AggregateFunction
getExpectedColumnType
in interface FunctionType
public Object evaluate(Object... values)
evaluate
in interface AggregateFunction
values
- the values to be evaluated. If a value is null it won't be
evaluatedCopyright © 2007–2016 The Apache Software Foundation. All rights reserved.