Uses of Enum
org.apache.flink.table.utils.DateTimeUtils.TimeUnitRange
Packages that use DateTimeUtils.TimeUnitRange
-
Uses of DateTimeUtils.TimeUnitRange in org.apache.flink.table.utils
Methods in org.apache.flink.table.utils that return DateTimeUtils.TimeUnitRangeModifier and TypeMethodDescriptionstatic DateTimeUtils.TimeUnitRangeDateTimeUtils.TimeUnitRange.of(DateTimeUtils.TimeUnit startUnit, DateTimeUtils.TimeUnit endUnit) Returns aTimeUnitRangewith a given start and end unit.static DateTimeUtils.TimeUnitRangeReturns the enum constant of this type with the specified name.static DateTimeUtils.TimeUnitRange[]DateTimeUtils.TimeUnitRange.values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.apache.flink.table.utils with parameters of type DateTimeUtils.TimeUnitRangeModifier and TypeMethodDescriptionstatic longDateTimeUtils.extractFromDate(DateTimeUtils.TimeUnitRange range, int date) static longDateTimeUtils.extractFromDate(DateTimeUtils.TimeUnitRange range, long date) static longDateTimeUtils.extractFromTimestamp(DateTimeUtils.TimeUnitRange range, TimestampData ts, TimeZone tz) static longDateTimeUtils.timestampCeil(DateTimeUtils.TimeUnitRange range, long ts, TimeZone tz) Keep the algorithm consistent with Calcite DateTimeUtils.julianDateFloor, but here we take time zone into account.static longDateTimeUtils.timestampFloor(DateTimeUtils.TimeUnitRange range, long ts, TimeZone tz) static longDateTimeUtils.unixDateCeil(DateTimeUtils.TimeUnitRange range, long date) static longDateTimeUtils.unixDateFloor(DateTimeUtils.TimeUnitRange range, long date) static longDateTimeUtils.unixTimestampCeil(DateTimeUtils.TimeUnitRange range, long timestamp) static longDateTimeUtils.unixTimestampFloor(DateTimeUtils.TimeUnitRange range, long timestamp)