Class SqlFunctions.DateParseFunction

java.lang.Object
org.apache.calcite.runtime.SqlFunctions.DateParseFunction
Enclosing class:
SqlFunctions

public static class SqlFunctions.DateParseFunction extends Object
State for PARSE_DATE, PARSE_TIMESTAMP, PARSE_DATETIME, PARSE_TIME functions.
  • Constructor Details

    • DateParseFunction

      public DateParseFunction()
  • Method Details

    • parseDate

      public int parseDate(String fmtString, String date)
    • parseDatetime

      public long parseDatetime(String fmtString, String datetime)
    • parseTime

      public int parseTime(String fmtString, String time)
    • parseTimestamp

      public long parseTimestamp(String fmtString, String timestamp)
    • parseTimestamp

      public long parseTimestamp(String fmtString, String timestamp, String timeZone)