A B C D E F G H I J M N O P Q R S T U V 
All Classes All Packages

A

add(TestStatistics) - Method in class net.hydromatic.sqllogictest.TestStatistics
Add the other statistics to this.
addFailure(TestStatistics.FailedTestDescription) - Method in class net.hydromatic.sqllogictest.TestStatistics
Add a new failure; return 'true' if we need to stop executing.
addResultLine(String) - Method in class net.hydromatic.sqllogictest.SqlTestQueryOutputDescription
Add one more line to the list of expected results.
as(PrintStream, Class<T>, String) - Method in interface net.hydromatic.sqllogictest.util.ICastable
Cast this object ot the specified type.
as(Class<T>) - Method in interface net.hydromatic.sqllogictest.util.ICastable
Cast this object ot the specified type.
as(Object, Class<T>, String) - Static method in interface net.hydromatic.sqllogictest.util.ICastable
 
avoid(Set<String>) - Method in class net.hydromatic.sqllogictest.executors.SqlTestExecutor
 

B

bugsFile - Variable in class net.hydromatic.sqllogictest.OptionsParser.SuppliedOptions
Optional name of the file that contains statements and queries that are expected to fail.

C

clearResults() - Method in class net.hydromatic.sqllogictest.SqlTestQueryOutputDescription
Initialize the results to empty.
closeConnection() - Method in class net.hydromatic.sqllogictest.executors.JdbcExecutor
Close the connection to the databse.
columnTypes - Variable in class net.hydromatic.sqllogictest.SqlTestQueryOutputDescription
Encoded types of columns expected in result.

D

dbUrl - Variable in class net.hydromatic.sqllogictest.executors.JdbcExecutor
URL for connecting to the databse.
details - Variable in class net.hydromatic.sqllogictest.TestStatistics.FailedTestDescription
Detailed information about the error.
doNotExecute - Variable in class net.hydromatic.sqllogictest.OptionsParser.SuppliedOptions
If true tests are not executed.
dropAllTables() - Method in class net.hydromatic.sqllogictest.executors.JdbcExecutor
 
dropAllViews() - Method in class net.hydromatic.sqllogictest.executors.JdbcExecutor
 

E

err - Variable in class net.hydromatic.sqllogictest.OptionsParser.SuppliedOptions
Stream used to display errors.
error - Variable in class net.hydromatic.sqllogictest.TestStatistics.FailedTestDescription
Description of the error encountered.
error(PrintStream, String) - Method in interface net.hydromatic.sqllogictest.util.ICastable
Print an error when a cast fails.
error(Throwable) - Method in class net.hydromatic.sqllogictest.OptionsParser.SuppliedOptions
Function used to display an error message on the screen.
establishConnection() - Method in class net.hydromatic.sqllogictest.executors.HsqldbExecutor
 
establishConnection() - Method in class net.hydromatic.sqllogictest.executors.JdbcExecutor
Establish a JDBC connection to the database.
exception - Variable in class net.hydromatic.sqllogictest.TestStatistics.FailedTestDescription
If the test caused an exception it is stored here.
execute(OptionsParser, String...) - Static method in class net.hydromatic.sqllogictest.Main
Execute the program using the specified command-line options.
execute(SltTestFile, OptionsParser.SuppliedOptions) - Method in class net.hydromatic.sqllogictest.executors.JdbcExecutor
Execute all the test in the specified file using this database.
execute(SltTestFile, OptionsParser.SuppliedOptions) - Method in class net.hydromatic.sqllogictest.executors.NoExecutor
 
execute(SltTestFile, OptionsParser.SuppliedOptions) - Method in class net.hydromatic.sqllogictest.executors.SqlSltTestExecutor
Executes the specified test file.
executor - Variable in class net.hydromatic.sqllogictest.OptionsParser.SuppliedOptions
Name of the test executor to invoke.
exitCode - Variable in class net.hydromatic.sqllogictest.OptionsParser.SuppliedOptions
Zero if no error occurred, 1 otherwise.

F

FailedTestDescription(SqlTestQuery, String, String, Throwable) - Constructor for class net.hydromatic.sqllogictest.TestStatistics.FailedTestDescription
Create a description of a failed test.
file - Variable in class net.hydromatic.sqllogictest.SqlTestQuery
The name of the file containing the query.
fileContents - Variable in class net.hydromatic.sqllogictest.SltTestFile
A file is parsed into a list of operations: statements or queries.
flatMap(List<T>, Function<T, List<S>>) - Static method in class net.hydromatic.sqllogictest.util.Utilities
Apply a function to every element in a list.

G

getConnection() - Method in class net.hydromatic.sqllogictest.executors.JdbcExecutor
Get the connection.
getDirectories() - Method in class net.hydromatic.sqllogictest.OptionsParser.SuppliedOptions
Get the list of directories or files that contain tests to be executed.
getExecutor() - Method in class net.hydromatic.sqllogictest.OptionsParser.SuppliedOptions
Get the executor indicated by the command-line options.
getExecutorByName(String) - Method in class net.hydromatic.sqllogictest.OptionsParser.SuppliedOptions
 
getExpectedOutputSize() - Method in class net.hydromatic.sqllogictest.SqlTestQueryOutputDescription
 
getFailedTestCount() - Method in class net.hydromatic.sqllogictest.TestStatistics
 
getIgnoredTestCount() - Method in class net.hydromatic.sqllogictest.TestStatistics
 
getName() - Method in class net.hydromatic.sqllogictest.SqlTestQuery
 
getOptions() - Method in class net.hydromatic.sqllogictest.OptionsParser
Get the options produced after parsing the command-line options.
getOrder() - Method in class net.hydromatic.sqllogictest.SqlTestQueryOutputDescription
 
getParseFailureCount() - Method in class net.hydromatic.sqllogictest.TestStatistics
 
getPassedTestCount() - Method in class net.hydromatic.sqllogictest.TestStatistics
 
getPrintStream() - Method in class net.hydromatic.sqllogictest.util.StringPrintStream
Get the stream that is being printed to.
getQuery() - Method in class net.hydromatic.sqllogictest.SqlTestQuery
 
getQueryResults() - Method in class net.hydromatic.sqllogictest.SqlTestQueryOutputDescription
 
getTestCount() - Method in class net.hydromatic.sqllogictest.SltTestFile
Number of tests in the file.
getTestFileCount() - Method in class net.hydromatic.sqllogictest.TestStatistics
 
getTestList() - Static method in class net.hydromatic.sqllogictest.Main
Get the list of all test files.
getValueCount() - Method in class net.hydromatic.sqllogictest.SqlTestQueryOutputDescription
 

H

hash - Variable in class net.hydromatic.sqllogictest.SqlTestQueryOutputDescription
MD5 checksum of the canonicalized query output.
HsqldbExecutor - Class in net.hydromatic.sqllogictest.executors
A test executor that uses HSQLDB through JDBC.
HsqldbExecutor(OptionsParser.SuppliedOptions) - Constructor for class net.hydromatic.sqllogictest.executors.HsqldbExecutor
Create a test executor that uses HSQL DB to execute tests.

I

ICastable - Interface in net.hydromatic.sqllogictest.util
Utility interface providing some useful casting methods.
incFiles() - Method in class net.hydromatic.sqllogictest.TestStatistics
Increment the number of files processed.
incFilesNotParsed() - Method in class net.hydromatic.sqllogictest.TestStatistics
 
incIgnored() - Method in class net.hydromatic.sqllogictest.TestStatistics
Increment the number of tests that were ignored.
incPassed() - Method in class net.hydromatic.sqllogictest.TestStatistics
Increment the number of tests that have passed.
is(Class<T>) - Method in interface net.hydromatic.sqllogictest.util.ICastable
Check whether this object can be cast to the specified type.
ISqlTestOperation - Interface in net.hydromatic.sqllogictest
Base interface for SqlLogicTest operations: either statements or queries.

J

JdbcExecutor - Class in net.hydromatic.sqllogictest.executors
Base class for tests executors that use a JDBC connection to execute tests.
JdbcExecutor(OptionsParser.SuppliedOptions, String, String, String) - Constructor for class net.hydromatic.sqllogictest.executors.JdbcExecutor
Create an executor that uses JDBC to run tests.

M

main(String[]) - Static method in class net.hydromatic.sqllogictest.Main
Command-line entry point.
Main - Class in net.hydromatic.sqllogictest
Execute all SqlLogicTest tests.
map(List<T>, Function<T, S>) - Static method in class net.hydromatic.sqllogictest.util.Utilities
Apply a function to every element in a list.
message(String, int) - Method in class net.hydromatic.sqllogictest.OptionsParser.SuppliedOptions
Report a message to the user.

N

net.hydromatic.sqllogictest - package net.hydromatic.sqllogictest
SQL Logic Test.
net.hydromatic.sqllogictest.executors - package net.hydromatic.sqllogictest.executors
Various Executor implementations.
net.hydromatic.sqllogictest.util - package net.hydromatic.sqllogictest.util
Various utility classes
NoExecutor - Class in net.hydromatic.sqllogictest.executors
This executor does not execute the tests at all.
NONE - net.hydromatic.sqllogictest.SqlTestQueryOutputDescription.SortOrder
No sorting required.

O

options - Variable in class net.hydromatic.sqllogictest.TestLoader
Options that guide the test execution.
OptionsParser - Class in net.hydromatic.sqllogictest
Extensible command-line parsing.
OptionsParser(boolean, PrintStream, PrintStream) - Constructor for class net.hydromatic.sqllogictest.OptionsParser
Create a fresh parser for command-line options.
OptionsParser.SuppliedOptions - Class in net.hydromatic.sqllogictest
Description of the command-line options supplied.
out - Variable in class net.hydromatic.sqllogictest.OptionsParser.SuppliedOptions
Stream used to display messages.
outputDescription - Variable in class net.hydromatic.sqllogictest.SqlTestQuery
Description of the output expected from the query.

P

parse(String...) - Method in class net.hydromatic.sqllogictest.OptionsParser
Parse command-line arguments.
parse(OptionsParser.SuppliedOptions) - Method in class net.hydromatic.sqllogictest.SltTestFile
Parse the contents of the test file.
PostgresExecutor - Class in net.hydromatic.sqllogictest.executors
A test executor that uses Postgres through JDBC.
PostgresExecutor(OptionsParser.SuppliedOptions, String, String) - Constructor for class net.hydromatic.sqllogictest.executors.PostgresExecutor
Note: this implementation requires the existence of a database named SLT
printStatistics(PrintStream) - Method in class net.hydromatic.sqllogictest.TestStatistics
Print the statistics to the specified stream.

Q

query - Variable in class net.hydromatic.sqllogictest.TestStatistics.FailedTestDescription
Query that caused the failure.

R

readBugsFile() - Method in class net.hydromatic.sqllogictest.OptionsParser.SuppliedOptions
Read the list of statements and queries to skip from a file.
register(OptionsParser) - Static method in class net.hydromatic.sqllogictest.executors.HsqldbExecutor
Register the HSQL DB executor with the command-line options.
register(OptionsParser) - Static method in class net.hydromatic.sqllogictest.executors.NoExecutor
Register the NoExecutor with the execution options.
register(OptionsParser) - Static method in class net.hydromatic.sqllogictest.executors.PostgresExecutor
Register the postgres-specific command-line options with the execution options.
registerExecutor(String, Supplier<SqlSltTestExecutor>) - Method in class net.hydromatic.sqllogictest.OptionsParser
 
registerExecutor(String, Supplier<SqlSltTestExecutor>) - Method in class net.hydromatic.sqllogictest.OptionsParser.SuppliedOptions
Register a new executor.
registerOption(String, String, String, Function<String, Boolean>) - Method in class net.hydromatic.sqllogictest.OptionsParser
Register a new command-line options.
ROW - net.hydromatic.sqllogictest.SqlTestQueryOutputDescription.SortOrder
Sort on rows.

S

setBinaryName(String) - Method in class net.hydromatic.sqllogictest.OptionsParser
Set the name displayed for the current program when printing usage.
setFailedTestCount(int) - Method in class net.hydromatic.sqllogictest.TestStatistics
Set the number of tests that have failed.
setHash(String) - Method in class net.hydromatic.sqllogictest.SqlTestQueryOutputDescription
Set the MD5 checksum expected from the canonicalized query result.
setIgnoredTestCount(int) - Method in class net.hydromatic.sqllogictest.TestStatistics
Set the number of tests that were ignored.
setName(String) - Method in class net.hydromatic.sqllogictest.SqlTestQuery
In test files some queries are named.
setPassedTestCount(int) - Method in class net.hydromatic.sqllogictest.TestStatistics
Set the number of tests that have passed.
setValueCount(int) - Method in class net.hydromatic.sqllogictest.SqlTestQueryOutputDescription
Set the number of values expected to be produced by the query.
shouldPass - Variable in class net.hydromatic.sqllogictest.SltSqlStatement
True if the statement should execute without error.
singleQuote(String) - Static method in class net.hydromatic.sqllogictest.util.Utilities
Just adds single quotes around a string.
SltSqlStatement - Class in net.hydromatic.sqllogictest
Encapsulates a DDL statement from a test file.
SltSqlStatement(String, boolean) - Constructor for class net.hydromatic.sqllogictest.SltSqlStatement
Create a representation for a SQL statement.
SltTestFile - Class in net.hydromatic.sqllogictest
Represents the data from a .test file from the SqlLogicTest test framework.
SltTestFile(String) - Constructor for class net.hydromatic.sqllogictest.SltTestFile
Create a test file from the file with the specified name.
SqlSltTestExecutor - Class in net.hydromatic.sqllogictest.executors
Base class that must be derived from to implement new test executors for SQL Logic Test.
SqlSltTestExecutor(OptionsParser.SuppliedOptions) - Constructor for class net.hydromatic.sqllogictest.executors.SqlSltTestExecutor
Create a new test executor.
SqlTestExecutor - Class in net.hydromatic.sqllogictest.executors
Base class for classes that can run tests.
SqlTestQuery - Class in net.hydromatic.sqllogictest
Represents a query in a test.
SqlTestQueryOutputDescription - Class in net.hydromatic.sqllogictest
A description of the output expected from a test query.
SqlTestQueryOutputDescription() - Constructor for class net.hydromatic.sqllogictest.SqlTestQueryOutputDescription
Create a description of the output of a query.
SqlTestQueryOutputDescription.SortOrder - Enum in net.hydromatic.sqllogictest
How the results of the query have to be sorted prior to a comparison.
statement - Variable in class net.hydromatic.sqllogictest.SltSqlStatement
Statement to execute.
statement(SltSqlStatement) - Method in class net.hydromatic.sqllogictest.executors.JdbcExecutor
Execute the specified statement.
statistics - Variable in class net.hydromatic.sqllogictest.TestLoader
Statistics about the tests executed, including all errors found.
stopAtFirstError - Variable in class net.hydromatic.sqllogictest.OptionsParser.SuppliedOptions
If true execution stops at the first encountered error.
StringPrintStream - Class in net.hydromatic.sqllogictest.util
A PrintStream that writes do a String.
StringPrintStream() - Constructor for class net.hydromatic.sqllogictest.util.StringPrintStream
Create a new object that prints to a string.

T

TestLoader - Class in net.hydromatic.sqllogictest
A test loader is invoked for each test file.
TestLoader(OptionsParser.SuppliedOptions) - Constructor for class net.hydromatic.sqllogictest.TestLoader
Creates a new class that reads tests from a directory tree and executes them.
TestStatistics - Class in net.hydromatic.sqllogictest
Class that keeps track of the tests executed, including failures encountered.
TestStatistics(boolean, int) - Constructor for class net.hydromatic.sqllogictest.TestStatistics
 
TestStatistics.FailedTestDescription - Class in net.hydromatic.sqllogictest
Description of a test that failed.
to(PrintStream, Class<T>) - Method in interface net.hydromatic.sqllogictest.util.ICastable
Cast this object to the specified type.
toHex(byte[]) - Static method in class net.hydromatic.sqllogictest.util.Utilities
Convert the data in the specified array to a hex string.
toString() - Method in class net.hydromatic.sqllogictest.OptionsParser.SuppliedOptions
 
toString() - Method in class net.hydromatic.sqllogictest.SltSqlStatement
 
toString() - Method in class net.hydromatic.sqllogictest.SltTestFile
 
toString() - Method in class net.hydromatic.sqllogictest.SqlTestQuery
 
toString() - Method in class net.hydromatic.sqllogictest.TestStatistics.FailedTestDescription
 
toString() - Method in class net.hydromatic.sqllogictest.util.StringPrintStream
Get the data written so far.
toString(int) - Method in class net.hydromatic.sqllogictest.TestStatistics.FailedTestDescription
 
totalTests() - Method in class net.hydromatic.sqllogictest.TestStatistics
 

U

Utilities - Class in net.hydromatic.sqllogictest.util
A class containing various useful static methods.

V

validate(SqlTestQuery, ResultSet, SqlTestQueryOutputDescription, TestStatistics) - Method in class net.hydromatic.sqllogictest.executors.JdbcExecutor
Validate the result of the execution of a query.
VALUE - net.hydromatic.sqllogictest.SqlTestQueryOutputDescription.SortOrder
Sort each individual value.
valueOf(String) - Static method in enum net.hydromatic.sqllogictest.SqlTestQueryOutputDescription.SortOrder
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.hydromatic.sqllogictest.SqlTestQueryOutputDescription.SortOrder
Returns an array containing the constants of this enum type, in the order they are declared.
verbosity - Variable in class net.hydromatic.sqllogictest.OptionsParser.SuppliedOptions
A higher value causes execution to display more information.
visitFile(String) - Method in class net.hydromatic.sqllogictest.TestLoader
Function executed for each test file.
A B C D E F G H I J M N O P Q R S T U V 
All Classes All Packages