Class ExtractOperatorConversion

  • All Implemented Interfaces:

    public class ExtractOperatorConversion
    extends java.lang.Object
    implements DruidSqlOperatorConverter
    Time extract operator conversion for expressions like EXTRACT(timeUnit FROM arg) Unit can be SECOND, MINUTE, HOUR, DAY (day of month), DOW (day of week), DOY (day of year), WEEK (week of week year), MONTH (1 through 12), QUARTER (1 through 4), or YEAR
    • Field Summary

      Modifier and Type Field Description
      private static java.util.Map<org.apache.calcite.avatica.util.TimeUnitRange,​java.lang.String> EXTRACT_UNIT_MAP  
    • Field Detail


        private static final java.util.Map<org.apache.calcite.avatica.util.TimeUnitRange,​java.lang.String> EXTRACT_UNIT_MAP
    • Constructor Detail

      • ExtractOperatorConversion

        public ExtractOperatorConversion()