Show / Hide Table of Contents

Class LoggingValidatorBase

Base class to expose logging and basic tracing to IMetricsPlanValidator

Inheritance
Object
LoggingValidatorBase
ScopeExternTable
AggregateValidator
AggregationLevelRange
AggregationParentsAreInDifferentTables
BasicExpressionValidation
ColumnReferenceDependency
ColumnTableNamesAreUnique
ComputationIsNonTrivial
DataSourceColumnIndicesAppearOnce
EnoughAggregandLevels
ExpressionDependenciesExist
ExpressionDependenciesPassThroughColumnReferences
ExpressionLeafDependencies
ExternExpressionsAreOfOneKind
JoinKeysAreColumnReferences
JoinSanity
NoAggregationsOfUnknownType
OnlySupportedRuntimeVariables
SingleAggregationPath
SingleLeafBaseTable
TableDependenciesExist
UnionsCombineIdenticalTables
Implements
IMetricsPlanValidator
IGenericMetricsPlanTransformer<List<String>>
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Mangrove.MetricSetSyntaxTree.Logging
Assembly: MetricSetSyntaxTree.dll
Syntax
public abstract class LoggingValidatorBase : IMetricsPlanValidator, IGenericMetricsPlanTransformer<List<string>>
Remarks

Subclasses of this can implement the TransformWithTracing(MetricsPlan) method and get trace messages on entry and exit corresponding interface method for free.

Constructors

View Source

LoggingValidatorBase(ILogger, String)

Declaration
public LoggingValidatorBase(ILogger logger, string validatorName)
Parameters
Type Name Description
ILogger logger
String validatorName

Properties

View Source

Logger

Declaration
protected ILogger Logger { get; }
Property Value
Type Description
ILogger
View Source

ValidatorName

Declaration
protected string ValidatorName { get; }
Property Value
Type Description
String

Methods

View Source

Transform(MetricsPlan)

Declaration
public virtual List<string> Transform(MetricsPlan plan)
Parameters
Type Name Description
MetricsPlan plan
Returns
Type Description
List<String>
View Source

TransformWithTracing(MetricsPlan)

Declaration
public abstract List<string> TransformWithTracing(MetricsPlan plan)
Parameters
Type Name Description
MetricsPlan plan
Returns
Type Description
List<String>

Implements

IMetricsPlanValidator
IGenericMetricsPlanTransformer<T>

Extension Methods

ObjectExtensions.EventId(Object)
ValidatorExtensions.Validate(IMetricsPlanValidator, MetricsPlan)
  • View Source
Back to top Generated by DocFX