Class ETLJob
java.lang.Object
org.epics.archiverappliance.etl.common.ETLJob
- All Implemented Interfaces:
Runnable
An ETLJob does the actual work of moving data from one data source to another.
This is a runnable, we expect to execute this on some executor.
- Author:
- mshankar
-
Constructor Summary
ConstructorsConstructorDescriptionETLJob(ETLStage etlStage, Instant runAsIfAtTime, ConfigService configService) -
Method Summary
Modifier and TypeMethodDescriptionvoidprocessETL(Instant processingTime) Main ETL algorithm.voidrun()
-
Constructor Details
-
ETLJob
- Parameters:
etlStage- ETLStagerunAsIfAtTime- Instant
-
-
Method Details
-
run
public void run() -
processETL
Main ETL algorithm.- Parameters:
processingTime- Typically we'd use TimeUtils.now() for this. However, we can also run as if it's a certain time by using this parameter.- Throws:
IOException
-