Class UnaryWindowFunction
Expression which indicates a window function. These act as "local" aggregations,
allowing specifying a unary aggregationtype, and column to apply it to.
The granularity of the aggregation is defined by the sets of rows
where the values match for each of the fields that are partitioned by.
It doesn't currently support "ORDER BY" part of expression.
Inheritance
UnaryWindowFunction
Assembly: MetricSetSyntaxTree.dll
Syntax
public class UnaryWindowFunction : Expression<UnaryWindowFunction, Table>, IVisitable<IExpressionVisitor>, ICloneable<UnaryWindowFunction, Table, Expression>, ICloneable<Expression>, IDirectedAcyclicGraph<Expression>
Constructors
View Source
UnaryWindowFunction(Table, UnaryAggregationKind, Expression, IEnumerable<Expression>)
Declaration
public UnaryWindowFunction(Table table, UnaryAggregationKind aggregationKind, Expression expression, IEnumerable<Expression> partitions)
Parameters
Properties
View Source
AggregationKind
Declaration
public UnaryAggregationKind AggregationKind { get; }
Property Value
View Source
Expression
Declaration
public Expression Expression { get; }
Property Value
View Source
Parents
Declaration
[JsonIgnore]
public override IReadOnlyList<Expression> Parents { get; }
Property Value
Overrides
View Source
Partitions
Declaration
public IReadOnlyList<Expression> Partitions { get; }
Property Value
Methods
View Source
Accept(IExpressionVisitor)
Declaration
public override void Accept(IExpressionVisitor visitor)
Parameters
Overrides
View Source
Clone(Table, IReadOnlyList<Expression>)
Declaration
public override UnaryWindowFunction Clone(Table table, IReadOnlyList<Expression> parents)
Parameters
Returns
Overrides
Mangrove.MetricSetSyntaxTree.Expression<Mangrove.MetricSetSyntaxTree.ExpressionNodes.UnaryWindowFunction, Mangrove.MetricSetSyntaxTree.Table>.Clone(Mangrove.MetricSetSyntaxTree.Table, System.Collections.Generic.IReadOnlyList<Mangrove.MetricSetSyntaxTree.Expression>)
View Source
ToString()
Declaration
public override string ToString()
Returns
Overrides
Implements
Extension Methods