public interface AggregateFunction extends FunctionType
Modifier and Type | Method and Description |
---|---|
AggregateBuilder<?> |
createAggregateBuilder()
Creates a specific aggregate builder.
|
Object |
evaluate(Object... values)
Shorthand for creating an aggregate builder, adding all
the values and then calculating the value.
|
ColumnType |
getExpectedColumnType(ColumnType type)
Returns the function ColumnType.
|
getFunctionName
AggregateBuilder<?> createAggregateBuilder()
Object evaluate(Object... values)
values
- ColumnType getExpectedColumnType(ColumnType type)
getExpectedColumnType
in interface FunctionType
type
- Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.