Class ExtractOperatorConversion

java.lang.Object
org.apache.calcite.adapter.druid.ExtractOperatorConversion
All Implemented Interfaces:
DruidSqlOperatorConverter

public class ExtractOperatorConversion extends 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.

  • Constructor Details

    • ExtractOperatorConversion

      public ExtractOperatorConversion()
  • Method Details