Package org.apache.calcite.rel.type
Class TimeFrames
java.lang.Object
org.apache.calcite.rel.type.TimeFrames
Utilities for
TimeFrame
.-
Field Summary
Modifier and TypeFieldDescriptionstatic final TimeFrameSet
The core time frame set.The names of the frames that are WEEK starting on each week day. -
Method Summary
-
Field Details
-
WEEK_FRAME_NAMES
The names of the frames that are WEEK starting on each week day. Entry 0 is "WEEK_SUNDAY" and entry 6 is "WEEK_SATURDAY". -
CORE
The core time frame set. Includes the time frames for all Avatica time units plus ISOWEEK and week offset for each week day:- SECOND, and multiples MINUTE, HOUR, DAY, WEEK (starts on a Sunday), sub-multiples MILLISECOND, MICROSECOND, NANOSECOND, quotients DOY, DOW;
- MONTH, and multiples QUARTER, YEAR, DECADE, CENTURY, MILLENNIUM;
- ISOYEAR, and sub-unit ISOWEEK (starts on a Monday), quotient ISODOW;
- WEEK(weekday) with weekday being one of SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY.
Does not include EPOCH.
-