java.lang.Object
org.epics.archiverappliance.etl.common.ETLJob
All Implemented Interfaces:
Runnable

public class ETLJob extends Object implements 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 Details

    • ETLJob

      public ETLJob(ETLStage etlStage, Instant runAsIfAtTime, ConfigService configService)
      Parameters:
      etlStage - ETLStage
      runAsIfAtTime - Instant
    • ETLJob

      public ETLJob(ETLStage etlStage, Instant runAsIfAtTime, ConfigService configService, boolean allData)
      Parameters:
      etlStage - ETLStage
      runAsIfAtTime - Instant
  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable
    • processETL

      public void processETL(Instant processingTime) throws IOException
      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