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 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
- 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
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val arbitraryChecks: Seq[ArbitraryCheck]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val checkResultCombiner: (Seq[CheckResult]) ⇒ CheckSuiteStatus
- val checkSuiteDescription: String
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- val dualDsChecks: Map[DescribedDsPair, Seq[DualDsQCCheck]]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val metricsPersister: MetricsPersister
- val metricsToTrack: Map[DescribedDs, Seq[MetricDescriptor]]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val qcResultsRepository: QcResultsRepository
-
def
run(timestamp: Instant)(implicit ec: ExecutionContext): Future[ChecksSuiteResult]
Run all checks in the ChecksSuite asynchronously, returning a Future
Run all checks in the ChecksSuite asynchronously, returning a Future
- timestamp
- time the checks are being run
- ec
- execution context
-
def
runBlocking(timestamp: Instant, timeout: Duration = 1 minute)(implicit ec: ExecutionContext): ChecksSuiteResult
Run all checks in the ChecksSuite and waits for computations to finish before returning (blocking the thread)
Run all checks in the ChecksSuite and waits for computations to finish before returning (blocking the thread)
- timestamp
- time the checks are being run
- ec
- execution context
- val singleDsChecks: Map[DescribedDs, Seq[SingleDsCheck]]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val tags: Map[String, String]
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()