case class ChecksSuite(checkSuiteDescription: String, tags: Map[String, String] = Map.empty, singleDsChecks: Map[DescribedDs, Seq[SingleDsCheck]] = Map.empty, dualDsChecks: Map[DescribedDsPair, Seq[DualDsQCCheck]] = Map.empty, arbitraryChecks: Seq[ArbitraryCheck] = Seq.empty, metricsToTrack: Map[DescribedDs, Seq[MetricDescriptor]] = Map.empty, metricsPersister: MetricsPersister = NullMetricsPersister, qcResultsRepository: QcResultsRepository = new NullQcResultsRepository, checkResultCombiner: (Seq[CheckResult]) ⇒ CheckSuiteStatus = ...) extends ChecksSuiteBase with Product with Serializable
Main entry point which contains the suite of checks you want to perform
- checkSuiteDescription
- description of the check suite
- tags
- any tags associated with the check suite
- singleDsChecks
- map from a single dataset to a list of checks on that dataset
- dualDsChecks
- map from a pair of datasets to a list of checks to do on that pair of datasets
- arbitraryChecks
- any other arbitrary checks
- metricsToTrack
- metrics to track (even if no checks on them)
- metricsPersister
- how to persist metrics
- checkResultCombiner
- how the overall result status should be calculated
- Alphabetic
- By Inheritance
- ChecksSuite
- Serializable
- Serializable
- Product
- Equals
- ChecksSuiteBase
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
ChecksSuite(checkSuiteDescription: String, tags: Map[String, String] = Map.empty, singleDsChecks: Map[DescribedDs, Seq[SingleDsCheck]] = Map.empty, dualDsChecks: Map[DescribedDsPair, Seq[DualDsQCCheck]] = Map.empty, arbitraryChecks: Seq[ArbitraryCheck] = Seq.empty, metricsToTrack: Map[DescribedDs, Seq[MetricDescriptor]] = Map.empty, metricsPersister: MetricsPersister = NullMetricsPersister, qcResultsRepository: QcResultsRepository = new NullQcResultsRepository, checkResultCombiner: (Seq[CheckResult]) ⇒ CheckSuiteStatus = ...)
- checkSuiteDescription
- description of the check suite
- tags
- any tags associated with the check suite
- singleDsChecks
- map from a single dataset to a list of checks on that dataset
- dualDsChecks
- map from a pair of datasets to a list of checks to do on that pair of datasets
- arbitraryChecks
- any other arbitrary checks
- metricsToTrack
- metrics to track (even if no checks on them)
- metricsPersister
- how to persist metrics
- checkResultCombiner
- how the overall result status should be calculated
Value Members
- val arbitraryChecks: Seq[ArbitraryCheck]
- val checkResultCombiner: (Seq[CheckResult]) ⇒ CheckSuiteStatus
-
val
checkSuiteDescription: String
Description of the check suite
Description of the check suite
- Definition Classes
- ChecksSuite → ChecksSuiteBase
- val dualDsChecks: Map[DescribedDsPair, Seq[DualDsQCCheck]]
- val metricsPersister: MetricsPersister
- val metricsToTrack: Map[DescribedDs, Seq[MetricDescriptor]]
- val qcResultsRepository: QcResultsRepository
-
def
run(timestamp: Instant)(implicit ec: ExecutionContext): Future[ChecksSuiteResult]
Run all checks in the ChecksSuite
Run all checks in the ChecksSuite
- timestamp
- time the checks are being run
- ec
- execution context
- Definition Classes
- ChecksSuite → ChecksSuiteBase
- val singleDsChecks: Map[DescribedDs, Seq[SingleDsCheck]]
- val tags: Map[String, String]