public interface AggregationFunction
Modifier and Type | Method and Description |
---|---|
default DataTypeClass |
getDataType(DataTypeClass columnDataType)
This function returns the type class of the data returned by the function, given the type class of the incoming
raw values.
|
QualifiedValue[] |
process(QualifiedValue value,
boolean interpolatedValue,
boolean blockFinished,
BlockContext blockContext,
QueryContext queryContext)
This function will be called for each value that should be processed, for the entire range of the query.
|
default boolean |
supportsDataType(DataTypeClass dtype)
Returns whether this aggregation function is appropriate for the given data class.
|
QualifiedValue[] process(QualifiedValue value, boolean interpolatedValue, boolean blockFinished, BlockContext blockContext, QueryContext queryContext)
default DataTypeClass getDataType(DataTypeClass columnDataType)
default boolean supportsDataType(DataTypeClass dtype)