Show / Hide Table of Contents

Class UnaryAggregation

Aggregation with only one argument, e.g. SUM or MAX.

Inheritance
Object
Expression
Expression<UnaryAggregation, Aggregation>
UnaryAggregation
Implements
IVisitable<IExpressionVisitor>
ICloneable<UnaryAggregation, Aggregation, Expression>
ICloneable<Expression>
IDirectedAcyclicGraph<Expression>
Inherited Members
Expression<UnaryAggregation, Aggregation>.Table
Expression<UnaryAggregation, Aggregation>.Clone(Aggregation, IReadOnlyList<Expression>)
Expression<UnaryAggregation, Aggregation>.Clone(IReadOnlyList<Expression>)
Expression.Table
Expression.Clone(IReadOnlyList<Expression>)
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Namespace: Mangrove.MetricSetSyntaxTree.ExpressionNodes
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
Type Name Description
Aggregation table
UnaryAggregationKind aggregationKind
Expression expression

Properties

View Source

AggregationKind

The kind of aggregation (e.g., SUM, MAX) that this is.

Declaration
public UnaryAggregationKind AggregationKind { get; }
Property Value
Type Description
UnaryAggregationKind
View Source

Expression

The expression to be aggregated.

Declaration
public Expression Expression { get; }
Property Value
Type Description
Expression
View Source

Parents

Declaration
[JsonIgnore]
public override IReadOnlyList<Expression> Parents { get; }
Property Value
Type Description
IReadOnlyList<Expression>
Overrides
Expression.Parents

Methods

View Source

Accept(IExpressionVisitor)

Declaration
public override void Accept(IExpressionVisitor visitor)
Parameters
Type Name Description
IExpressionVisitor visitor
Overrides
Expression.Accept(IExpressionVisitor)
View Source

Clone(Aggregation, IReadOnlyList<Expression>)

Declaration
public override UnaryAggregation Clone(Aggregation table, IReadOnlyList<Expression> parents)
Parameters
Type Name Description
Aggregation table
IReadOnlyList<Expression> parents
Returns
Type Description
UnaryAggregation
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
Type Description
String
Overrides
Expression.ToString()

Implements

IVisitable<TVisitor>
ICloneable<TSubnode, TIdentifier, TNode>
ICloneable<T>
IDirectedAcyclicGraph<T>

Extension Methods

ExpressionExtensions.WrapUniqueName(Expression, String)
ExpressionExtensions.WrapName(Expression, String)
ExpressionExtensions.Unwrap(Expression, Boolean)
ExpressionExtensions.UnwrapParentheses(Expression)
ExpressionExtensions.NeedsColumnReferenceWrap(Expression)
ExpressionExtensions.TopParentsOfType<TParent>(Expression)
ExpressionExtensions.References(Expression, ISet<Table>)
ExpressionExtensions.IsAggregation(Expression)
ExpressionExtensions.IsRecursive(UnaryAggregation)
ExpressionExtensions.IsOperation(Expression)
ExpressionExtensions.IsConstant(Expression)
ExpressionExtensions.Type(Expression)
ExpressionExtensions.IsOfNullableType(Expression)
ExpressionExtensions.IsOfNonNullableType(Expression)
IDirectedAcyclicGraphExtensions.Ancestors(Expression, Boolean)
IDirectedAcyclicGraphExtensions.Closure(Expression)
ObjectExtensions.EventId(Object)
  • View Source
Back to top Generated by DocFX