org.eigenbase.sql.test
Class SqlAdvisorTest.AdvisorTestImpl

java.lang.Object
  extended by org.eigenbase.test.SqlValidatorTestCase.TesterImpl
      extended by org.eigenbase.sql.test.SqlAdvisorTest.AdvisorTestImpl
All Implemented Interfaces:
SqlAdvisorTest.Tester, SqlTester, SqlValidatorTestCase.Tester
Enclosing class:
SqlAdvisorTest

public class SqlAdvisorTest.AdvisorTestImpl
extends SqlValidatorTestCase.TesterImpl
implements SqlAdvisorTest.Tester


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eigenbase.sql.test.SqlTester
SqlTester.TypeChecker, SqlTester.VmName
 
Field Summary
 
Fields inherited from class org.eigenbase.test.SqlValidatorTestCase.TesterImpl
conformance, opTab
 
Constructor Summary
SqlAdvisorTest.AdvisorTestImpl(SqlConformance conformance)
           
 
Method Summary
 SqlAdvisor createAdvisor(SqlValidatorWithHints validator)
           
 SqlValidator getValidator()
           
 
Methods inherited from class org.eigenbase.test.SqlValidatorTestCase.TesterImpl
assertExceptionIsThrown, check, checkAgg, checkBoolean, checkCharset, checkCollation, checkColumnType, checkFails, checkIntervalConv, checkNull, checkResultType, checkRewrite, checkScalar, checkScalarApprox, checkScalarExact, checkScalarExact, checkString, checkType, checkWinAgg, createOperatorTable, getColumnType, getConformance, getMonotonicity, getResultType, parseAndValidate, parseQuery, setFor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eigenbase.test.SqlValidatorTestCase.Tester
assertExceptionIsThrown, checkCharset, checkCollation, checkColumnType, checkIntervalConv, checkResultType, checkRewrite, getColumnType, getConformance, getMonotonicity, getResultType, parseAndValidate, parseQuery
 

Constructor Detail

SqlAdvisorTest.AdvisorTestImpl

public SqlAdvisorTest.AdvisorTestImpl(SqlConformance conformance)
Method Detail

getValidator

public SqlValidator getValidator()
Specified by:
getValidator in interface SqlValidatorTestCase.Tester
Overrides:
getValidator in class SqlValidatorTestCase.TesterImpl

createAdvisor

public SqlAdvisor createAdvisor(SqlValidatorWithHints validator)
Specified by:
createAdvisor in interface SqlAdvisorTest.Tester