Class IntervalFreshnessUtils

    • Method Detail

      • convertFreshnessToDuration

        public static java.time.Duration convertFreshnessToDuration​(IntervalFreshness intervalFreshness)
      • convertFreshnessToCron

        public static String convertFreshnessToCron​(IntervalFreshness intervalFreshness)
        This is an util method that is used to convert the freshness of materialized table to cron expression in full refresh mode. Since freshness and cron expression cannot be converted equivalently, there are currently only a limited patterns of freshness that can be converted to cron expression.