Packages

object Common

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

Type Members

  1. implicit class UnsafeArraySeqOps[T] extends AnyRef

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 camelToSnakeCase(name: String): String

    Converts camelCase name into snake_case name

    Converts camelCase name into snake_case name

    name

    camelCase name to convert

    returns

    snake_case name

  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def getFieldsMap[T <: Product with Serializable](obj: T)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[T]): Map[String, Any]

    Collects field values of case class in form of Map(field_name -> field_value).

    Collects field values of case class in form of Map(field_name -> field_value). Also unpacks Refined and DateFormat fields if any (required for proper JSON serialization)

    T

    Generic type constrained to case classes

    obj

    Case class instance to get field values from

    returns

    Map of case class fields with values.

  12. def getPrependVars(extraVariables: Map[String, String]): String

    Retrieves DQ variables from environment, combines them with explicitly provided variables and then converts them into a string that will be prepended to a configuration prior reading.

    Retrieves DQ variables from environment, combines them with explicitly provided variables and then converts them into a string that will be prepended to a configuration prior reading.

    extraVariables

    Explicitly provided extra variables.

    returns

    String with variables to be prepended to configuration.

    Note

    Variables are collected from system and java-runtime environment and retained only those that are related to Checkita Data Quality Framework: following regex is used to find such variables: ^(?i)(DQ)[a-z0-9_-]+$. These variables are combined with the ones provided in extraVariables argument and further used during configuration files parsing.

  13. def getStringHash(s: String): String

    Builds MD5 hash for input string.

    Builds MD5 hash for input string.

    s

    String to build has for.

    returns

    MD5 hash string.

  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. implicit val jsonFormats: DefaultFormats.type
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. def paramsSeqToMap(paramsSeq: Seq[String]): Map[String, String]

    Converts sequence of parameter strings with format "k=v" into a Map(k -> v)

    Converts sequence of parameter strings with format "k=v" into a Map(k -> v)

    paramsSeq

    Sequence of parameter strings

    returns

    Parameters Map

  21. def prepareConfig(configs: Seq[String], prependVars: String, confName: String): Result[InputStreamReader]

    Prepares configuration files for reading.

    Prepares configuration files for reading. The idea here is following:

    • system and user-provided variables are need to be prepended to the configuration file(s)
    • HOCON support configuration merging, and, therefore, we also allows multiple files for input.
    • In order to merge variables and multiple configuration files, the sequence of input streams is created.
    configs

    Sequence of configuration files for parsing (order maters! please, refer to HOCON specifications for more details)

    prependVars

    System and user-defined variables to be used in confuguration files.

    confName

    Name of configuration being read (either 'application' or 'job')

    returns

    Either configuration input stream reader ready for parsing or a list of occurred errors.

  22. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped