Skip to main content

AggregationColumn

Namespace: Meshmakers.Octo.Runtime.Contracts.Repositories.Query

Specifies a single aggregation column: the attribute path to aggregate and the function to apply.

public class AggregationColumn

Inheritance Object → AggregationColumn

Properties​

AttributePath​

Path to the attribute to aggregate.

public string AttributePath { get; }

Property Value​

String

Function​

Aggregation function to apply.

public AggregationFunction Function { get; }

Property Value​

AggregationFunction

ComparisonValue​

State literal a AggregationFunction.StateDuration column matches the attribute against — a number ("2"), a boolean ("true"/"false") or a string state name. Required for StateDuration; ignored otherwise. AB#4336.

public string ComparisonValue { get; }

Property Value​

String

Constructors​

AggregationColumn(String, AggregationFunction, String)​

Creates a new instance.

public AggregationColumn(string attributePath, AggregationFunction function, string comparisonValue)

Parameters​

attributePath String

function AggregationFunction

comparisonValue String

Methods​

ToString()​

public string ToString()

Returns​

String