Show / Hide Table of Contents

Class BinaryAggregation

Aggregation with two arguments, e.g. weighted average or percentile.

Inheritance
Object
Expression
Expression<BinaryAggregation, Aggregation>
BinaryAggregation
Implements
IVisitable<IExpressionVisitor>
ICloneable<BinaryAggregation, Aggregation, Expression>
ICloneable<Expression>
IDirectedAcyclicGraph<Expression>
Inherited Members
Expression<BinaryAggregation, Aggregation>.Table
Expression<BinaryAggregation, Aggregation>.Clone(Aggregation, IReadOnlyList<Expression>)
Expression<BinaryAggregation, 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 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
Type Name Description
Aggregation table
BinaryAggregationKind aggregationKind
Expression left
Expression right

Properties

View Source

AggregationKind

The sort of binary aggregation this is, e.g., weighted average WAVG.

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

Left

Left argument of the aggregation.

Declaration
public Expression Left { 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
View Source

Right

Right argument of the aggregation.

Declaration
public Expression Right { get; }
Property Value
Type Description
Expression

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 BinaryAggregation Clone(Aggregation newTable, IReadOnlyList<Expression> newParents)
Parameters
Type Name Description
Aggregation newTable
IReadOnlyList<Expression> newParents
Returns
Type Description
BinaryAggregation
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
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.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