Class SqlUserDefinedTypeNameSpec

java.lang.Object
org.apache.calcite.sql.SqlTypeNameSpec
org.apache.calcite.sql.SqlUserDefinedTypeNameSpec

public class SqlUserDefinedTypeNameSpec extends SqlTypeNameSpec
A sql type name specification of user defined type.

Usually you should register the UDT into the CalciteSchema first before referencing it in the sql statement.

  • Constructor Details

    • SqlUserDefinedTypeNameSpec

      public SqlUserDefinedTypeNameSpec(SqlIdentifier typeName, SqlParserPos pos)
      Create a SqlUserDefinedTypeNameSpec instance.
      Parameters:
      typeName - Type name as SQL identifier
      pos - The parser position
    • SqlUserDefinedTypeNameSpec

      public SqlUserDefinedTypeNameSpec(String name, SqlParserPos pos)
  • Method Details