Class BinaryAggregation
Aggregation with two arguments, e.g. weighted average or percentile.
Inheritance
BinaryAggregation
Assembly: MetricSetSyntaxTree.dll
Syntax
public class BinaryAggregation : Expression<BinaryAggregation, Aggregation>, IVisitable<IExpressionVisitor>, ICloneable<BinaryAggregation, Aggregation, Expression>, ICloneable<Expression>, IDirectedAcyclicGraph<Expression>
Constructors
View Source
BinaryAggregation(Aggregation, BinaryAggregationKind, Expression, Expression)
Declaration
public BinaryAggregation(Aggregation table, BinaryAggregationKind aggregationKind, Expression left, Expression right)
Parameters
Properties
View Source
AggregationKind
The sort of binary aggregation this is, e.g., weighted average WAVG.
Declaration
public BinaryAggregationKind AggregationKind { get; }
Property Value
View Source
Left
Left argument of the aggregation.
Declaration
public Expression Left { get; }
Property Value
View Source
Parents
Declaration
[JsonIgnore]
public override IReadOnlyList<Expression> Parents { get; }
Property Value
Overrides
View Source
Right
Right argument of the aggregation.
Declaration
public Expression Right { get; }
Property Value
Methods
View Source
Accept(IExpressionVisitor)
Declaration
public override void Accept(IExpressionVisitor visitor)
Parameters
Overrides
View Source
Clone(Aggregation, IReadOnlyList<Expression>)
Declaration
public override BinaryAggregation Clone(Aggregation newTable, IReadOnlyList<Expression> newParents)
Parameters
Returns
Overrides
Mangrove.MetricSetSyntaxTree.Expression<Mangrove.MetricSetSyntaxTree.ExpressionNodes.BinaryAggregation, Mangrove.MetricSetSyntaxTree.TableNodes.Aggregation>.Clone(Mangrove.MetricSetSyntaxTree.TableNodes.Aggregation, System.Collections.Generic.IReadOnlyList<Mangrove.MetricSetSyntaxTree.Expression>)
View Source
ToString()
Declaration
public override string ToString()
Returns
Overrides
Implements
Extension Methods