Template Method of ETL
Define the skeleton of an ETL job on the mainframe.
✧ GANG OF FOUR LINEAGE & ARCANUM ✧
GOF DESIGN PATTERN: Template Method
ARCANUM SCHOOL: Transmutation // Forging
SCRIBE / ARCHON: Joshua Edward McLaughlin Cox
CANONICAL REGISTRATION:
// CODEX INCANTATION //
/* ooRexx Template Method */
::class ETLJob
::method run
self~extract()
self~transform()
self~load()
::method extract abstract
::method transform abstract
::method load abstract
::class DailySMFETL subclass ETLJob
::method extract
say "Extracting SMF records."
::method transform
say "Formatting to CSV."
::method load
say "Loading to DB2."
The Template Method establishes the unchangeable skeleton of an ETL rite, leaving only the specific incantations of extraction and loading to the subclassed initiates.
Runic Tags:
#template-method
#etl
#rexx