public abstract class TimeAggregateFunction extends AggregateFunction<TimeColumn,LocalTime>
Constructor | Description |
---|---|
TimeAggregateFunction(String name) |
Constructs a TimeAggregateFunction with the given name.
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
isCompatibleColumn(ColumnType type) |
Returns true if the given
ColumnType is compatible with this function |
ColumnType |
returnType() |
Returns the
ColumnType to be used for the values returned by this function |
abstract LocalTime |
summarize(TimeColumn column) |
Returns a LocalTime object that is the result of applying this function to the given Column
|
functionName, toString
public TimeAggregateFunction(String name)
public abstract LocalTime summarize(TimeColumn column)
summarize
in class AggregateFunction<TimeColumn,LocalTime>
public boolean isCompatibleColumn(ColumnType type)
ColumnType
is compatible with this functionisCompatibleColumn
in class AggregateFunction<TimeColumn,LocalTime>
public ColumnType returnType()
ColumnType
to be used for the values returned by this functionreturnType
in class AggregateFunction<TimeColumn,LocalTime>
Copyright © 2021. All rights reserved.