Packages

o

org.checkita.dqf.config

RefinedTypes

object RefinedTypes

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RefinedTypes
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type AccuracyDouble = Refined[Double, OpenClosed[Double(0.0), Double(1.0)]]
  2. case class DateFormat(pattern: String) extends Product with Serializable

    DateFormat class is used to store both date-time pattern and corresponding formatter.

    DateFormat class is used to store both date-time pattern and corresponding formatter. Such construction allows to verify if pattern is convertable to formatter at the point of configuration reading and also supports backwards conversion (when writing configuration). The issue with backwards conversion is due to DateTimeFormatter does not store string representation of original datetime pattern.

    pattern

    - datetime pattern string

    Note

    DataTimeFormatter is not serializable, therefore, it is marked as @transient to avoid serialization errors in Spark Tasks.

  3. type DoubleElemStringSeq = Refined[Seq[String], Size[Equal[Int(2)]]]
  4. case class Email(value: String) extends Product with Serializable

    Email class is used to wrap email addresses and provide email validation during configuration parsing.

    Email class is used to wrap email addresses and provide email validation during configuration parsing.

    value

    Validated email address

  5. type EncryptionKey = Refined[String, MatchesRegex[String("^.{32}.*$")]]

    Refinement for string holding secret key for sensitive data encryption.

    Refinement for string holding secret key for sensitive data encryption. This string should contain at least 32 characters.

  6. type FixedShortColumn = Refined[String, MatchesRegex[String("^[^\\n\\r\\t:]+:\\d+$")]]
  7. case class ID(value: String) extends Product with Serializable

    All IDs are parsers via SparkSqlParser so they are valid SparkSQL identifiers This is required to eliminate any issues with interoperability with Spark.

    All IDs are parsers via SparkSqlParser so they are valid SparkSQL identifiers This is required to eliminate any issues with interoperability with Spark. For example, source IDs can be used to create virtual source: in this case parent source are registered as temporary views in Spark.

    value

    Validated ID value

  8. type MMRecipient = Refined[String, MatchesRegex[String("^(@|#)[a-zA-Z][a-zA-Z0-9.\\-_]+$")]]
  9. type MultiElemStringSeq = Refined[Seq[String], MinSize[Int(2)]]
  10. type NonEmptyDoubleSeq = Refined[Seq[Double], NonEmpty]

    Refinements for numeric sequences:

  11. type NonEmptyStringSeq = Refined[Seq[String], NonEmpty]

    Various refinements for string sequences:

  12. type NonEmptyURISeq = Refined[Seq[URI], NonEmpty]
  13. type PercentileDouble = Refined[Double, Closed[Double(0.0), Double(1.0)]]
  14. type Port = Refined[Int, Closed[Int(0), Int(9999)]]
  15. type PositiveInt = Refined[Int, Positive]
  16. type RegexPattern = Refined[String, Regex]
  17. type SingleElemStringSeq = Refined[Seq[String], Size[Equal[Int(1)]]]
  18. type SparkParam = Refined[String, MatchesRegex[String("^\\S+?\\=[\\S\\s]+$")]]
  19. type ThreeElemIntSeq = Refined[Seq[Int], Size[Equal[Int(3)]]]
  20. type URI = Refined[String, Uri]
  21. type URL = Refined[String, Url]

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. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  16. def toString(): String
    Definition Classes
    AnyRef → Any
  17. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped