Package tech.tablesaw.aggregate
Class NumericAggregateFunction
java.lang.Object
tech.tablesaw.aggregate.AggregateFunction<NumericColumn<?>,Double>
tech.tablesaw.aggregate.NumericAggregateFunction
A partial implementation of aggregate functions to summarize over a numeric column
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Constructs a NumericAggregateFunction with the given name. -
Method Summary
Modifier and TypeMethodDescriptionboolean
isCompatibleColumn
(ColumnType type) Returns true if the givenColumnType
is compatible with this functionReturns theColumnType
to be used for the values returned by this functionMethods inherited from class tech.tablesaw.aggregate.AggregateFunction
functionName, summarize, toString
-
Constructor Details
-
NumericAggregateFunction
Constructs a NumericAggregateFunction with the given name. The name may be used to name a column in the output when this function is used bySummarizer
-
-
Method Details
-
isCompatibleColumn
Returns true if the givenColumnType
is compatible with this function- Specified by:
isCompatibleColumn
in classAggregateFunction<NumericColumn<?>,
Double>
-
returnType
Returns theColumnType
to be used for the values returned by this function- Specified by:
returnType
in classAggregateFunction<NumericColumn<?>,
Double>
-