org.eigenbase.sql.test
Class AbstractSqlTester.StringTypeChecker
java.lang.Object
org.eigenbase.sql.test.AbstractSqlTester.StringTypeChecker
- All Implemented Interfaces:
- SqlTester.TypeChecker
- Enclosing class:
- AbstractSqlTester
public static class AbstractSqlTester.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)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
expected
private final String expected
AbstractSqlTester.StringTypeChecker
public AbstractSqlTester.StringTypeChecker(String expected)
checkType
public void checkType(RelDataType type)
- Specified by:
checkType
in interface SqlTester.TypeChecker