abstract class ETLP[T, C <: Configuration] extends SingleETL[T, C]
- Alphabetic
- By Inheritance
- ETLP
- SingleETL
- ETL
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new ETLP(context: ETLContext[T, C])
Abstract Value Members
-
abstract
def
extract(lastRunValue: T = minValue, currentRunValue: T = defaultCurrentValue): 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
- ETL
-
abstract
def
mainDestination: DatasetConf
- Definition Classes
- ETL
-
abstract
def
transformSingle(data: Map[String, DataFrame], lastRunValue: T = minValue, currentRunValue: T = defaultCurrentValue): 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
- SingleETL
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
implicit
val
conf: Configuration
- Definition Classes
- ETL
-
val
defaultCurrentValue: T
- Definition Classes
- ETL
-
def
defaultRepartition: (DataFrame) ⇒ DataFrame
- Definition Classes
- ETL
-
def
defaultSampling: PartialFunction[String, (DataFrame) ⇒ DataFrame]
- Definition Classes
- ETL
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
getLastRunValue(ds: DatasetConf): T
If possible, fetch the last run value from the dataset passed in argument.
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def lastReleaseId: String
-
final
def
load(data: Map[String, DataFrame], lastRunValue: T, currentRunValue: T): Map[String, DataFrame]
Loads the output data into a persistent storage.
-
def
loadDataset(df: DataFrame, ds: DatasetConf): DataFrame
- Definition Classes
- ETL
-
def
loadSingle(data: DataFrame, lastRunValue: T = minValue, currentRunValue: T = defaultCurrentValue): DataFrame
- Definition Classes
- SingleETL
-
val
log: Logger
- Definition Classes
- ETL
-
val
minValue: T
- Definition Classes
- ETL
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
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.
-
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
-
def
reset(): Unit
Reset the ETL by removing the destination dataset.
Reset the ETL by removing the destination dataset.
- Definition Classes
- ETL
-
def
run(lastRunValue: Option[T] = None, currentRunValue: Option[T] = 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
-
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
-
implicit
val
spark: SparkSession
- Definition Classes
- ETL
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toMain(df: ⇒ DataFrame): Map[String, DataFrame]
- Definition Classes
- ETL
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
transform(data: Map[String, DataFrame], lastRunValue: T = minValue, currentRunValue: T = defaultCurrentValue): Map[String, DataFrame]
Takes a Map[DatasetConf, DataFrame] as input and applies a set of transformations to it to produce the ETL output.
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated