Class JdbcExecutor
- java.lang.Object
-
- net.hydromatic.sqllogictest.executors.SqlTestExecutor
-
- net.hydromatic.sqllogictest.executors.SqlSltTestExecutor
-
- net.hydromatic.sqllogictest.executors.JdbcExecutor
-
- All Implemented Interfaces:
ICastable
- Direct Known Subclasses:
HsqldbExecutor,PostgresExecutor
public abstract class JdbcExecutor extends SqlSltTestExecutor
-
-
Constructor Summary
Constructors Constructor Description JdbcExecutor(ExecutionOptions options, String dbUrl, String username, String password)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcloseConnection()voidestablishConnection()TestStatisticsexecute(SltTestFile file, ExecutionOptions options)Executes the specified test file.-
Methods inherited from class net.hydromatic.sqllogictest.executors.SqlTestExecutor
avoid
-
-
-
-
Field Detail
-
dbUrl
public final String dbUrl
-
-
Constructor Detail
-
JdbcExecutor
public JdbcExecutor(ExecutionOptions options, String dbUrl, String username, String password)
-
-
Method Detail
-
establishConnection
public void establishConnection() throws SQLException- Throws:
SQLException
-
closeConnection
public void closeConnection() throws SQLException- Throws:
SQLException
-
execute
public TestStatistics execute(SltTestFile file, ExecutionOptions options) throws SQLException, NoSuchAlgorithmException
Description copied from class:SqlSltTestExecutorExecutes the specified test file.- Specified by:
executein classSqlSltTestExecutor- Throws:
SQLExceptionNoSuchAlgorithmException
-
-