Class EnoughAggregandLevels
Verifies that the MetricsPlan has the minimum required number of available Aggregand levels, as determined by Mangrove.MetricSetTransformers.Hacks.RollupDimensionsFinder.FindDimensions(Mangrove.MetricSetSyntaxTree.MetricsPlan).
Inherited Members
Namespace: Mangrove.MetricSetTransformers.Validation
Assembly: MetricSetTransformers.dll
Syntax
public class EnoughAggregandLevels : LoggingValidatorBase, IMetricsPlanValidator, IGenericMetricsPlanTransformer<List<string>>
Remarks
This is motivated by MetricsVectorization fabric for which it is important that there are at least two dimensions: randomization unit and output.
NOTE: this notion of dimension is tied to Aggregands instead of Aggregations, which are used e.g. in AggregationLevelRange. The two notions are different, although related since Aggregands can only be on Aggregations, and there is a correspondene between the latter and a special kind of the former. See the description of Mangrove.MetricSetTransformers.Hacks.RollupDimensionsFinder.
Constructors
View SourceEnoughAggregandLevels(ILogger, Int32)
Declaration
public EnoughAggregandLevels(ILogger logger, int levels)
Parameters
Type | Name | Description |
---|---|---|
ILogger | logger | |
Int32 | levels |
Methods
View SourceTransformWithTracing(MetricsPlan)
Declaration
public override List<string> TransformWithTracing(MetricsPlan plan)
Parameters
Type | Name | Description |
---|---|---|
MetricsPlan | plan |
Returns
Type | Description |
---|---|
List<String> |