Last active
August 23, 2020 16:41
-
-
Save samueleresca/921ce516e39ebae2a6a0f6a469b907cf to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace deequ.Analyzers | |
{ | |
interface IAnalyzer<out M> | |
{ | |
M Calculate(DataFrame data, Option<IStateLoader> aggregateWith = default, Option<IStatePersister> saveStateWith = default); | |
IEnumerable<Action<StructType>> Preconditions(); | |
M ToFailureMetric(Exception e); | |
void AggregateStateTo(IStateLoader sourceA, IStateLoader sourceB, IStatePersister target); | |
M LoadStateAndComputeMetric(IStateLoader source); | |
void CopyStateTo(IStateLoader source, IStatePersister target); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment