Class AggregateCombo
This class specifies a combined aggregate operation, which allows the caller to specify multiple aggregate operations on a source table. For convenience, the caller may the AggCombo(Aggregate[]) method, with a static import. Example:
using static Deephaven.OpenAPI.Client.DeephavenImports;
...
var t2 = t.View(close)
.By(AggCombo(
AggAvg(close.As("AvgClose")),
AggSum(close.As("SumClose")),
AggMin(close.As("MinClose")),
AggMax(close.As("MaxClose")),
AggCount("Count")));
Inheritance
System.Object
AggregateCombo
Namespace: Deephaven.OpenAPI.Client
Assembly: DeephavenOpenAPI.dll
Syntax
public class AggregateCombo : object
Properties
Aggregates
Declaration
public Aggregate[] Aggregates { get; }
Property Value
Type | Description |
---|---|
Aggregate[] |
Methods
Create(Aggregate[])
Declaration
public static AggregateCombo Create(params Aggregate[] aggregates)
Parameters
Type | Name | Description |
---|---|---|
Aggregate[] | aggregates |
Returns
Type | Description |
---|---|
AggregateCombo |