Packages

c

org.checkita.dqf.core.checks.load

SchemaMatchLoadCheckCalculator

final case class SchemaMatchLoadCheckCalculator(checkId: String, schemaId: String, ignoreOrder: Boolean) extends LoadCheckCalculator with Product with Serializable

Schema match load check calculator: verifies if source schema matches required schema (defined in schemas section of job configuration and referenced by its ID)

checkId

Load check ID

schemaId

Sequence of required columns

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

Instance Constructors

  1. new SchemaMatchLoadCheckCalculator(checkId: String, schemaId: String, ignoreOrder: Boolean)

    checkId

    Load check ID

    schemaId

    Sequence of required columns

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. val checkId: String
  6. val checkName: LoadCheckName
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  8. val detailsMsg: String
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. val expected: String
  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def getMessage(sourceId: String, status: CalculatorStatus, statusString: String): String

    Generates comprehensive check message

    Generates comprehensive check message

    sourceId

    Source ID being checked

    status

    Load check evaluation status

    statusString

    Load check evaluation status string

    returns

    Load check message

    Definition Classes
    LoadCheckCalculator
  14. val ignoreOrder: Boolean
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. def run(source: Source, schemas: Map[String, SourceSchema] = Map.empty)(implicit settings: AppSettings): LoadCheckCalculatorResult

    Safely runs load check for requested source:

    Safely runs load check for requested source:

    • Tries to evaluate check and get either Success or Failure status (depending on whether load check criteria is met)
    • If check evaluation throws runtime error: returns load check result with Error status and corresponding error message.
    source

    Source to check

    schemas

    Map of predefined source schemas

    settings

    Implicit application settings

    returns

    Load check result

    Definition Classes
    LoadCheckCalculator
  20. val schemaId: String
  21. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  22. def tryToRun(source: Source, schemas: Map[String, SourceSchema] = Map.empty)(implicit settings: AppSettings): LoadCheckCalculatorResult

    Runs load check for the given source.

    Runs load check for the given source.

    source

    Source to check

    schemas

    Map of predefined source schemas

    settings

    Implicit application settings

    returns

    Load check evaluation result with either Success or Failure status

    Definition Classes
    SchemaMatchLoadCheckCalculatorLoadCheckCalculator
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from LoadCheckCalculator

Inherited from AnyRef

Inherited from Any

Ungrouped