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, waitcreateAggregateBuildergetFunctionNamepublic ColumnType getExpectedColumnType(ColumnType type)
AggregateFunctiongetExpectedColumnType in interface AggregateFunctiongetExpectedColumnType in interface FunctionTypepublic Object evaluate(Object... values)
evaluate in interface AggregateFunctionvalues - the values to be evaluated. If a value is null it won't be
evaluatedCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.