Class SqlTests.SqlTypeChecker

  • All Implemented Interfaces:
    SqlTester.TypeChecker
    Enclosing class:
    SqlTests

    private static class SqlTests.SqlTypeChecker
    extends java.lang.Object
    implements SqlTester.TypeChecker
    Checks that a type matches a given SQL type. Does not care about nullability.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.apache.calcite.sql.type.SqlTypeName typeName  
    • Constructor Summary

      Constructors 
      Constructor Description
      SqlTypeChecker​(org.apache.calcite.sql.type.SqlTypeName typeName)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void checkType​(org.apache.calcite.rel.type.RelDataType type)  
      • Methods inherited from class java.lang.Object

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

      • typeName

        private final org.apache.calcite.sql.type.SqlTypeName typeName
    • Constructor Detail

      • SqlTypeChecker

        SqlTypeChecker​(org.apache.calcite.sql.type.SqlTypeName typeName)
    • Method Detail