Package io.deephaven.web.client.api.agg
Class WSum
java.lang.Object
io.deephaven.web.client.api.agg.Aggregation
io.deephaven.web.client.api.agg.ColumnAggregation
io.deephaven.web.client.api.agg.WSum
Computes the weighted sum within each aggregation group. Each input value is multiplied by the corresponding weight,
and the results are summed.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal @TsLiteral StringThe column to use as the source of weights for the weighted sum calculation.Fields inherited from class io.deephaven.web.client.api.agg.ColumnAggregation
columns -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.deephaven.web.client.api.agg.Aggregation
AggAbsSum, AggApproxPct, AggAvg, AggCount, AggCountDistinct, AggCountWhere, AggDistinct, AggFirst, AggFirstRowKey, AggFormula, AggFreeze, AggGroup, AggLast, AggLastRowKey, AggMax, AggMed, AggMin, AggPartition, AggPct, AggSortedFirst, AggSortedLast, AggStd, AggSum, AggTDigest, AggUnique, AggVar, AggWAvg, AggWSum
-
Field Details
-
type
- See Also:
-
weightColumn
The column to use as the source of weights for the weighted sum calculation.
-
-
Constructor Details
-
WSum
public WSum()
-