📢DataQualityContext

The DataQualityContext inherits from the Transform Context, to see the full list of methods, check out the page dedicated to those methods as well.

🎛️TransformDataContext

Process

Process the data with a result, requirements function, and a callback for the data.

Parameters:

  • DataQualityValidationResult result: Result from the interface.

  • Func<bool> RequirementsFunction: Requirements function.

  • Action<DataQualityValidationResult, DataRow, long, ConcurrentBag<DataQualityValidationRow>> callback: Data callback.

  • int ChecksPerformedPerRow: How many checks were performed at each row?

Example:

data.Process(result, RequirementsFunction, callback, ChecksPerformedPerRow);

ProcessSet

Process the data with a result, requirements function, and a callback for the data.

Parameters:

  • DataQualityValidationResult result: Result from the interface.

  • Func<bool> RequirementsFunction: Requirements function.

  • Action<ConcurrentBag<DataQualityValidationRow>> callback: Data callback.

  • int ChecksPerformedPerRow: How many checks were performed at each row?

Example:

data.ProcessSet(result, RequirementsFunction, callback, ChecksPerformedPerRow);

CheckCount_AssociatedSets

Calculate how many checks were performed on a list of associated sets.

Parameters:

  • string name: Name of the set.

  • int checksPerRow: How many checks per row (default is 1).

  • bool TransformOnly: If true, only transformed tables are returned (default is true).

Returns:

  • int: Number of checks performed.

Example:

int checkCount = data.CheckCount_AssociatedSets("setName", checksPerRow, TransformOnly);

Last updated