org.eigenbase.sql.test
Class AbstractSqlTester.SqlTypeChecker
java.lang.Object
org.eigenbase.sql.test.AbstractSqlTester.SqlTypeChecker
- All Implemented Interfaces:
- SqlTester.TypeChecker
- Enclosing class:
- AbstractSqlTester
private static class AbstractSqlTester.SqlTypeChecker
- extends Object
- implements SqlTester.TypeChecker
Checks that a type matches a given SQL type. Does not care about
nullability.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
typeName
private final SqlTypeName typeName
AbstractSqlTester.SqlTypeChecker
AbstractSqlTester.SqlTypeChecker(SqlTypeName typeName)
checkType
public void checkType(RelDataType type)
- Specified by:
checkType
in interface SqlTester.TypeChecker