public class PercentAggregate extends AbstractAggregationFunction
Constructor and Description |
---|
PercentAggregate(AggregationMode mode) |
Modifier and Type | Method and Description |
---|---|
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.
|
boolean |
supportsDataType(DataTypeClass dtype)
Returns whether this aggregation function is appropriate for the given data class.
|
public PercentAggregate(AggregationMode mode)
public DataTypeClass getDataType(DataTypeClass columnDataType)
AggregationFunction
public QualifiedValue[] process(QualifiedValue value, boolean interpolatedValue, boolean blockFinished, BlockContext blockContext, QueryContext queryContext)
AggregationFunction
public boolean supportsDataType(DataTypeClass dtype)
AggregationFunction