Class FlinkReturnTypes

java.lang.Object
org.apache.flink.table.planner.plan.type.FlinkReturnTypes

public class FlinkReturnTypes extends Object
Type inference in Flink.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final org.apache.calcite.sql.type.SqlReturnTypeInference
    Type-inference strategy whereby the result type of a call is the type of the operand #0 (0-based), with nulls always allowed.
    static final org.apache.calcite.sql.type.SqlReturnTypeInference
    Determine the return type of IF functions with arguments that has the least restrictive (eg: numeric, character, binary).
    static final org.apache.calcite.sql.type.SqlReturnTypeInference
    ROUND(num [,len]) type inference.
    static final org.apache.calcite.sql.type.SqlReturnTypeInference
     
    static final org.apache.calcite.sql.type.SqlReturnTypeInference
     
    static final org.apache.calcite.sql.type.SqlReturnTypeInference
     
    static final org.apache.calcite.sql.type.SqlReturnTypeInference
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • ROUND_FUNCTION

      public static final org.apache.calcite.sql.type.SqlReturnTypeInference ROUND_FUNCTION
      ROUND(num [,len]) type inference.
    • ARG0_VARCHAR_FORCE_NULLABLE

      public static final org.apache.calcite.sql.type.SqlReturnTypeInference ARG0_VARCHAR_FORCE_NULLABLE
      Type-inference strategy whereby the result type of a call is the type of the operand #0 (0-based), with nulls always allowed.
    • VARCHAR_FORCE_NULLABLE

      public static final org.apache.calcite.sql.type.SqlReturnTypeInference VARCHAR_FORCE_NULLABLE
    • VARCHAR_NOT_NULL

      public static final org.apache.calcite.sql.type.SqlReturnTypeInference VARCHAR_NOT_NULL
    • ROUND_FUNCTION_NULLABLE

      public static final org.apache.calcite.sql.type.SqlReturnTypeInference ROUND_FUNCTION_NULLABLE
    • IF_NULLABLE

      public static final org.apache.calcite.sql.type.SqlReturnTypeInference IF_NULLABLE
      Determine the return type of IF functions with arguments that has the least restrictive (eg: numeric, character, binary). The return type is the type of the argument with the largest range. We start to consider the arguments from the first one. If one of the arguments is not of the type that has the least restrictive (eg: numeric, character, binary), we return the type of the first argument instead.
    • STR_MAP_NULLABLE

      public static final org.apache.calcite.sql.type.SqlReturnTypeInference STR_MAP_NULLABLE
  • Constructor Details

    • FlinkReturnTypes

      public FlinkReturnTypes()