Class

com.github.timgent.dataflare.checkssuite

ChecksSuite

Related Doc: package checkssuite

Permalink

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

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ChecksSuite
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. 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 = ...)

    Permalink

    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

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val arbitraryChecks: Seq[ArbitraryCheck]

    Permalink

    - any other arbitrary checks

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. val checkResultCombiner: (Seq[CheckResult]) ⇒ CheckSuiteStatus

    Permalink

    - how the overall result status should be calculated

  7. val checkSuiteDescription: String

    Permalink

    - description of the check suite

  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. val dualDsChecks: Map[DescribedDsPair, Seq[DualDsQCCheck]]

    Permalink

    - map from a pair of datasets to a list of checks to do on that pair of datasets

  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. val metricsPersister: MetricsPersister

    Permalink

    - how to persist metrics

  15. val metricsToTrack: Map[DescribedDs, Seq[MetricDescriptor]]

    Permalink

    - metrics to track (even if no checks on them)

  16. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. val qcResultsRepository: QcResultsRepository

    Permalink
  20. def run(timestamp: Instant)(implicit ec: ExecutionContext): Future[ChecksSuiteResult]

    Permalink

    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

  21. def runBlocking(timestamp: Instant, timeout: Duration = 1 minute)(implicit ec: ExecutionContext): ChecksSuiteResult

    Permalink

    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

  22. val singleDsChecks: Map[DescribedDs, Seq[SingleDsCheck]]

    Permalink

    - map from a single dataset to a list of checks on that dataset

  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  24. val tags: Map[String, String]

    Permalink

    - any tags associated with the check suite

  25. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped