Package org.apache.flink.table.utils
Class IntervalFreshnessUtils
java.lang.Object
org.apache.flink.table.utils.IntervalFreshnessUtils
Utilities to
IntervalFreshness.-
Method Summary
Modifier and TypeMethodDescriptionstatic StringconvertFreshnessToCron(IntervalFreshness intervalFreshness) This is an util method that is used to convert the freshness of materialized table to cron expression in full refresh mode.static DurationconvertFreshnessToDuration(IntervalFreshness intervalFreshness)
-
Method Details
-
convertFreshnessToDuration
-
convertFreshnessToCron
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.
-