BooleanAggregateFunction
, DateAggregateFunction
, DateTimeAggregateFunction
, InstantAggregateFunction
, NumericAggregateFunction
, StringFunction
, TimeAggregateFunction
public abstract class AggregateFunction<INCOL extends Column<?>,OUT> extends Object
Constructor | Description |
---|---|
AggregateFunction(String functionName) |
Constructs a function with the given name
|
Modifier and Type | Method | Description |
---|---|---|
String |
functionName() |
Returns this function's name
|
abstract boolean |
isCompatibleColumn(ColumnType type) |
Returns true if the given
ColumnType is compatible with this function |
abstract ColumnType |
returnType() |
Returns the
ColumnType to be used for the values returned by this function |
abstract OUT |
summarize(INCOL column) |
Apply this function to the column argument
|
String |
toString() |
public AggregateFunction(String functionName)
public String functionName()
public abstract boolean isCompatibleColumn(ColumnType type)
ColumnType
is compatible with this functionpublic abstract ColumnType returnType()
ColumnType
to be used for the values returned by this functionCopyright © 2021. All rights reserved.