net.sf.farrago.test
Class FarragoAutoCalcRulesTest.TestJdbcEngineDriver

java.lang.Object
  extended by net.sf.farrago.jdbc.FarragoAbstractJdbcDriver
      extended by net.sf.farrago.jdbc.engine.FarragoUnregisteredJdbcEngineDriver
          extended by net.sf.farrago.jdbc.engine.FarragoJdbcEngineDriver
              extended by net.sf.farrago.test.FarragoAutoCalcRulesTest.TestJdbcEngineDriver
All Implemented Interfaces:
Driver, FarragoJdbcServerDriver
Enclosing class:
FarragoAutoCalcRulesTest

public static class FarragoAutoCalcRulesTest.TestJdbcEngineDriver
extends FarragoJdbcEngineDriver

TestJdbcEngineDriver extends FarragoJdbcEngineDriver and provides our custom TestDbSessionFactory in place of Farrago's normal implementation.


Field Summary
(package private) static SqlStdOperatorTable opTab
           
(package private) static CalcRexImplementorTableImpl testCalcRexImplementor
           
(package private) static FarragoOJRexImplementorTable testOjRexImplementor
           
 
Constructor Summary
FarragoAutoCalcRulesTest.TestJdbcEngineDriver()
           
 
Method Summary
 String getBaseUrl()
           
 FarragoSessionFactory newSessionFactory()
          Creates a new FarragoSessionFactory which will govern the behavior of connections established through this driver.
 
Methods inherited from class net.sf.farrago.jdbc.engine.FarragoUnregisteredJdbcEngineDriver
connect, getUrlPrefix
 
Methods inherited from class net.sf.farrago.jdbc.FarragoAbstractJdbcDriver
acceptsURL, acceptsUrlWithHostPort, applyDefaultConnectionProps, getClientUrl, getDefaultConnectionProps, getMajorVersion, getMinorVersion, getPropertyInfo, jdbcCompliant, parseConnectionParams, register
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.sql.Driver
acceptsURL, getMajorVersion, getMinorVersion, getPropertyInfo, jdbcCompliant
 

Field Detail

opTab

static SqlStdOperatorTable opTab

testOjRexImplementor

static FarragoOJRexImplementorTable testOjRexImplementor

testCalcRexImplementor

static CalcRexImplementorTableImpl testCalcRexImplementor
Constructor Detail

FarragoAutoCalcRulesTest.TestJdbcEngineDriver

public FarragoAutoCalcRulesTest.TestJdbcEngineDriver()
Method Detail

newSessionFactory

public FarragoSessionFactory newSessionFactory()
Description copied from interface: FarragoJdbcServerDriver
Creates a new FarragoSessionFactory which will govern the behavior of connections established through this driver.

Specified by:
newSessionFactory in interface FarragoJdbcServerDriver
Overrides:
newSessionFactory in class FarragoUnregisteredJdbcEngineDriver
Returns:
new factory

getBaseUrl

public String getBaseUrl()
Specified by:
getBaseUrl in interface FarragoJdbcServerDriver
Overrides:
getBaseUrl in class FarragoAbstractJdbcDriver
Returns:
the base JDBC URL for this driver; subclassing drivers can override this to customize the URL scheme