Package org.apache.flink.table.utils
Class IntervalFreshnessUtils
- java.lang.Object
-
- org.apache.flink.table.utils.IntervalFreshnessUtils
-
@Internal public class IntervalFreshnessUtils extends Object
Utilities toIntervalFreshness
.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description 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.static Duration
convertFreshnessToDuration(IntervalFreshness intervalFreshness)
-
-
-
Method Detail
-
convertFreshnessToDuration
public static 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.
-
-