Class

it.agilelab.bigdata.wasp.consumers.spark.strategies.cdc

GoldenGateAdapterFlatModelStrategy

Related Doc: package cdc

Permalink

class GoldenGateAdapterFlatModelStrategy extends Strategy with Logging

Strategy that enable to map a flat mutation model to be mapped to an insert/update/delete object that can be sent to the CDC plugin that writes on DeltaLake. So having has input the raw flat mutations coming from a goldengate topic it will produce in output a dataframe composed of rows that has the shape accepted in input by the cdc plugin.

NB:

in this case you need to insert the configuration the following line:

goldengate.key.fields=["CUST_CODE", "ORDER_DATE", "PRODUCT_CODE", "ORDER_ID"]"

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

Instance Constructors

  1. new GoldenGateAdapterFlatModelStrategy()

    Permalink

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 ALTER_DATE_DAY: String

    Permalink
    Definition Classes
    Strategy
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. var configuration: Config

    Permalink
    Definition Classes
    Strategy
  8. def enrichFinalDf: (DataFrame) ⇒ DataFrame

    Permalink

    Eventual enrichment function of the final DF.

    Eventual enrichment function of the final DF.

    returns

    final output DF

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

    Permalink
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  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. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  15. val logger: WaspLogger

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  16. var mlModelsBroadcast: MlModelsBroadcastDB

    Permalink
    Definition Classes
    Strategy
  17. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  20. def prepareInitialDf: (DataFrame) ⇒ DataFrame

    Permalink

    Eventual preparation function of the initial DF an example can be the removal of fields that are not required to be mapped in the table or a mapping with a default value.

    Eventual preparation function of the initial DF an example can be the removal of fields that are not required to be mapped in the table or a mapping with a default value.

    returns

    final output DF

  21. var sparkContext: Option[SparkContext]

    Permalink
    Definition Classes
    Strategy
  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  23. def toString(): String

    Permalink
    Definition Classes
    Strategy → AnyRef → Any
  24. def transform(dataFrames: Map[ReaderKey, DataFrame]): DataFrame

    Permalink

    Strategy that read data from Kafka, transform the format to make it compliant with the DataLake format that the writer expect.

    Strategy that read data from Kafka, transform the format to make it compliant with the DataLake format that the writer expect.

    dataFrames

    the dataframe that need to be transformed

    returns

    a dataframe transformed that can be sent to the CDCWriter

    Definition Classes
    GoldenGateAdapterFlatModelStrategyStrategy
  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 Logging

Inherited from Strategy

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped