Show / Hide Table of Contents

Class AggregationLevelRange

Checks that there are a max number of aggregation levels in a plan This validator only prints the output tables in the errors. There can be multiple tables at the same aggregation level, and those don't count toward the limit. This validator checks the maximum depth of aggregation stack.

Inheritance
Object
LoggingValidatorBase
AggregationLevelRange
Implements
IMetricsPlanValidator
IGenericMetricsPlanTransformer<List<String>>
Inherited Members
LoggingValidatorBase.Logger
LoggingValidatorBase.ValidatorName
LoggingValidatorBase.Transform(MetricsPlan)
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Mangrove.MetricSetTransformers.Validation
Assembly: MetricSetTransformers.dll
Syntax
public class AggregationLevelRange : LoggingValidatorBase, IMetricsPlanValidator, IGenericMetricsPlanTransformer<List<string>>

Constructors

View Source

AggregationLevelRange(ILogger, Int32, Int32)

Declaration
public AggregationLevelRange(ILogger logger, int minAggregationLevels, int maxAggregationLevels)
Parameters
Type Name Description
ILogger logger
Int32 minAggregationLevels
Int32 maxAggregationLevels

Methods

View Source

TransformWithTracing(MetricsPlan)

Declaration
public override List<string> TransformWithTracing(MetricsPlan metricsPlan)
Parameters
Type Name Description
MetricsPlan metricsPlan
Returns
Type Description
List<String>
Overrides
LoggingValidatorBase.TransformWithTracing(MetricsPlan)

Implements

IMetricsPlanValidator
IGenericMetricsPlanTransformer<T>

Extension Methods

ObjectExtensions.EventId(Object)
  • View Source
Back to top Generated by DocFX