Packages

case class Genes(rc: RuntimeETLContext) extends SimpleSingleETL with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, SingleETL[LocalDateTime, SimpleConfiguration], ETL[LocalDateTime, SimpleConfiguration], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Genes
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. SingleETL
  7. ETL
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Genes(rc: RuntimeETLContext)

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() @HotSpotIntrinsicCandidate()
  6. implicit val conf: Configuration
    Definition Classes
    ETL
  7. val cosmic_gene_set: DatasetConf
  8. val ddd_gene_set: DatasetConf
  9. val defaultCurrentValue: LocalDateTime
    Definition Classes
    ETL
  10. def defaultRepartition: (DataFrame) ⇒ DataFrame
    Definition Classes
    GenesETL
  11. def defaultSampling: PartialFunction[String, (DataFrame) ⇒ DataFrame]
    Definition Classes
    ETL
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def extract(lastRunValue: LocalDateTime, currentRunValue: LocalDateTime): Map[String, DataFrame]

    Reads data from a file system and produces a Map[DatasetConf, DataFrame].

    Reads data from a file system and produces a Map[DatasetConf, DataFrame]. This method should avoid transformation and joins but can implement filters in order to make the ETL more efficient.

    returns

    all the data needed to pass to the transform method and produce the desired output.

    Definition Classes
    GenesETL
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. def getLastRunValue(ds: DatasetConf): LocalDateTime

    If possible, fetch the last run value from the dataset passed in argument.

    If possible, fetch the last run value from the dataset passed in argument. Usually a date or an id.

    ds

    dataset

    returns

    the last run value or the minValue

    Definition Classes
    ETL
  16. val gnomad_constraint: DatasetConf
  17. val hpo_gene_set: DatasetConf
  18. val human_genes: DatasetConf
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. final def load(data: Map[String, DataFrame], lastRunValue: LocalDateTime, currentRunValue: LocalDateTime): Map[String, DataFrame]

    Loads the output data into a persistent storage.

    Loads the output data into a persistent storage. The output destination can be any of: object store, database or flat files...

    data

    output data produced by the transform method.

    Definition Classes
    SingleETLETL
  21. def loadDataset(df: DataFrame, ds: DatasetConf): DataFrame
    Definition Classes
    ETL
  22. def loadSingle(data: DataFrame, lastRunValue: LocalDateTime = minValue, currentRunValue: LocalDateTime = defaultCurrentValue): DataFrame
    Definition Classes
    SingleETL
  23. val log: Logger
    Definition Classes
    ETL
  24. val mainDestination: DatasetConf
    Definition Classes
    GenesETL
  25. val minValue: LocalDateTime
    Definition Classes
    ETL
  26. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  28. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  29. val omim_gene_set: DatasetConf
  30. val orphanet_gene_set: DatasetConf
  31. def publish(): Unit

    OPTIONAL - Contains all actions needed to be done in order to make the data available to users like creating a view with the data.

    OPTIONAL - Contains all actions needed to be done in order to make the data available to users like creating a view with the data.

    Definition Classes
    ETL
  32. val rc: RuntimeETLContext
  33. def replaceWhere: Option[String]

    replaceWhere is used in for OverWriteStaticPartition load.

    replaceWhere is used in for OverWriteStaticPartition load. It avoids to compute dataframe to infer which partitions to replace. Most of the time, these partitions can be inferred statically. Always prefer that to dynamically overwrite partitions.

    Definition Classes
    ETL
  34. def reset(): Unit

    Reset the ETL by removing the destination dataset.

    Reset the ETL by removing the destination dataset.

    Definition Classes
    ETL
  35. def run(lastRunValue: Option[LocalDateTime] = None, currentRunValue: Option[LocalDateTime] = None): Map[String, DataFrame]

    Entry point of the etl - execute this method in order to run the whole ETL

    Entry point of the etl - execute this method in order to run the whole ETL

    Definition Classes
    ETL
  36. def sampling: PartialFunction[String, (DataFrame) ⇒ DataFrame]

    Logic used when the ETL is run as a RunStep.sample step.

    Logic used when the ETL is run as a RunStep.sample step.

    Definition Classes
    ETL
  37. implicit val spark: SparkSession
    Definition Classes
    ETL
  38. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  39. def toMain(df: ⇒ DataFrame): Map[String, DataFrame]
    Definition Classes
    ETL
  40. final def transform(data: Map[String, DataFrame], lastRunValue: LocalDateTime = minValue, currentRunValue: LocalDateTime = defaultCurrentValue): Map[String, DataFrame]

    Takes a Map[DatasetConf, DataFrame] as input and applies a set of transformations to it to produce the ETL output.

    Takes a Map[DatasetConf, DataFrame] as input and applies a set of transformations to it to produce the ETL output. It is recommended to not read any additional data but to use the extract() method instead to inject input data.

    data

    input data

    Definition Classes
    SingleETLETL
  41. def transformSingle(data: Map[String, DataFrame], lastRunValue: LocalDateTime, currentRunValue: LocalDateTime): DataFrame

    Takes a DataFrame as input and applies a set of transformations to it to produce the ETL output.

    Takes a DataFrame as input and applies a set of transformations to it to produce the ETL output. It is recommended to not read any additional data but to use the extract() method instead to inject input data.

    data

    input data

    Definition Classes
    GenesSingleETL
  42. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  44. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from SingleETL[LocalDateTime, SimpleConfiguration]

Inherited from ETL[LocalDateTime, SimpleConfiguration]

Inherited from AnyRef

Inherited from Any

Ungrouped