Class UnaryAggregation
Aggregation with only one argument, e.g. SUM or MAX.
Inheritance
UnaryAggregation
Assembly: MetricSetSyntaxTree.dll
Syntax
public class UnaryAggregation : Expression<UnaryAggregation, Aggregation>, IVisitable<IExpressionVisitor>, ICloneable<UnaryAggregation, Aggregation, Expression>, ICloneable<Expression>, IDirectedAcyclicGraph<Expression>
Constructors
View Source
UnaryAggregation(Aggregation, UnaryAggregationKind, Expression)
Declaration
public UnaryAggregation(Aggregation table, UnaryAggregationKind aggregationKind, Expression expression)
Parameters
Properties
View Source
AggregationKind
The kind of aggregation (e.g., SUM, MAX) that this is.
Declaration
public UnaryAggregationKind AggregationKind { get; }
Property Value
View Source
Expression
The expression to be aggregated.
Declaration
public Expression Expression { get; }
Property Value
View Source
Parents
Declaration
[JsonIgnore]
public override IReadOnlyList<Expression> Parents { get; }
Property Value
Overrides
Methods
View Source
Accept(IExpressionVisitor)
Declaration
public override void Accept(IExpressionVisitor visitor)
Parameters
Overrides
View Source
Clone(Aggregation, IReadOnlyList<Expression>)
Declaration
public override UnaryAggregation Clone(Aggregation table, IReadOnlyList<Expression> parents)
Parameters
Returns
Overrides
Mangrove.MetricSetSyntaxTree.Expression<Mangrove.MetricSetSyntaxTree.ExpressionNodes.UnaryAggregation, 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