Class SqlSltTestExecutor
- java.lang.Object
-
- net.hydromatic.sqllogictest.executors.SqlTestExecutor
-
- net.hydromatic.sqllogictest.executors.SqlSltTestExecutor
-
- All Implemented Interfaces:
ICastable
- Direct Known Subclasses:
JdbcExecutor,NoExecutor
public abstract class SqlSltTestExecutor extends SqlTestExecutor
Base class that must be derived from to implement new test executors for SQL Logic Test.An Executor should implement a static method with signature
public static void register(ExecutionOptionsParser parserOptions)which can be used to register new command-line options (using
OptionsParser.registerOption(java.lang.String, java.lang.String, java.lang.String, java.util.function.Function<java.lang.String, java.lang.Boolean>)) and to create an executor at runtime (usingOptionsParser.registerExecutor(java.lang.String, java.util.function.Supplier<net.hydromatic.sqllogictest.executors.SqlSltTestExecutor>)).
-
-
Constructor Summary
Constructors Constructor Description SqlSltTestExecutor(OptionsParser.SuppliedOptions options)Create a new test executor.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract TestStatisticsexecute(SltTestFile testFile, OptionsParser.SuppliedOptions options)Executes the specified test file.-
Methods inherited from class net.hydromatic.sqllogictest.executors.SqlTestExecutor
avoid
-
-
-
-
Constructor Detail
-
SqlSltTestExecutor
public SqlSltTestExecutor(OptionsParser.SuppliedOptions options)
Create a new test executor.- Parameters:
options- Options that will guide the execution.
-
-
Method Detail
-
execute
public abstract TestStatistics execute(SltTestFile testFile, OptionsParser.SuppliedOptions options) throws SQLException, NoSuchAlgorithmException
Executes the specified test file.- Throws:
SQLExceptionNoSuchAlgorithmException
-
-