Class SqlTests.StringTypeChecker

java.lang.Object
org.apache.calcite.sql.test.SqlTests.StringTypeChecker
All Implemented Interfaces:
SqlTester.TypeChecker
Enclosing class:
SqlTests

public static class SqlTests.StringTypeChecker extends Object implements SqlTester.TypeChecker
Type checker which compares types to a specified string.

The string contains "NOT NULL" constraints, but does not contain collations and charsets. For example,

  • INTEGER NOT NULL
  • BOOLEAN
  • DOUBLE NOT NULL MULTISET NOT NULL
  • CHAR(3) NOT NULL
  • RecordType(INTEGER X, VARCHAR(10) Y)