Skip to main content

FieldAggregationInput

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

Represents the input for field aggregation operations.

public class FieldAggregationInput : AggregationInput

Inheritance Object → AggregationInput → FieldAggregationInput

Properties​

GroupByAttributePathList​

Attribute names to group by

public IEnumerable<string> GroupByAttributePathList { get; }

Property Value​

IEnumerable<String>

ResolveEnumValuesToNames​

If true, resolve enum integer values to their label names in groupBy keys. Defaults to true.

public bool ResolveEnumValuesToNames { get; set; }

Property Value​

Boolean

CountAttributePathList​

Attribute paths whose existence to count, NULL values are not counted.

public IEnumerable<string> CountAttributePathList { get; }

Property Value​

IEnumerable<String>

MaxValueAttributePathList​

Attributes paths whose maximum value is to be determined.

public IEnumerable<string> MaxValueAttributePathList { get; }

Property Value​

IEnumerable<String>

MinValueAttributePathList​

Attributes paths whose minimum value is to be determined.

public IEnumerable<string> MinValueAttributePathList { get; }

Property Value​

IEnumerable<String>

AvgAttributePathList​

Attributes paths whose average value is to be determined.

public IEnumerable<string> AvgAttributePathList { get; }

Property Value​

IEnumerable<String>

SumAttributePathList​

Attributes paths whose sum value is to be determined.

public IEnumerable<string> SumAttributePathList { get; }

Property Value​

IEnumerable<String>

Constructors​

FieldAggregationInput(IEnumerable<String>)​

Constructs a new instance of FieldAggregationInput with the specified group by attribute paths.

public FieldAggregationInput(IEnumerable<string> groupByAttributePaths)

Parameters​

groupByAttributePaths IEnumerable<String>
Group by attribute paths.