org.eigenbase.sql.test
Class AbstractSqlTester.StringTypeChecker

java.lang.Object
  extended by 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,


Field Summary
private  String expected
           
 
Constructor Summary
AbstractSqlTester.StringTypeChecker(String expected)
           
 
Method Summary
 void checkType(RelDataType type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

expected

private final String expected
Constructor Detail

AbstractSqlTester.StringTypeChecker

public AbstractSqlTester.StringTypeChecker(String expected)
Method Detail

checkType

public void checkType(RelDataType type)
Specified by:
checkType in interface SqlTester.TypeChecker