Class QuartzSchedulerUtils

java.lang.Object
org.apache.flink.table.gateway.workflow.scheduler.QuartzSchedulerUtils

public class QuartzSchedulerUtils extends Object
Utility class for quartz scheduler.
  • Field Details

  • Constructor Details

    • QuartzSchedulerUtils

      public QuartzSchedulerUtils()
  • Method Details

    • initializeQuartzSchedulerConfig

      public static Properties initializeQuartzSchedulerConfig()
      This method is used for initializing the quartz scheduler config, the related options copy from quartz.properties, but we override the option org.quartz.threadPool.threadCount to 1 for minimizing the thread impact to SqlGateway.
    • getJobKey

      public static org.quartz.JobKey getJobKey(String materializedTableIdentifier)
    • fromJson

      public static <T> T fromJson(String json, Class<T> clazz)
    • toJson

      public static <T> String toJson(T t)
    • dateToString

      public static String dateToString(Date date)