Package net.hydromatic.sqllogictest
Class SltSqlStatement
- java.lang.Object
 - 
- net.hydromatic.sqllogictest.SltSqlStatement
 
 
- 
- All Implemented Interfaces:
 ISqlTestOperation,ICastable
public class SltSqlStatement extends Object implements ISqlTestOperation
Encapsulates a DDL statement from a test file. 
- 
- 
Field Summary
Fields Modifier and Type Field Description booleanshouldPassTrue if the statement should execute without error.StringstatementStatement to execute. 
- 
Constructor Summary
Constructors Constructor Description SltSqlStatement(String statement, boolean shouldPass)Create a representation for a SQL statement. 
 - 
 
- 
- 
Field Detail
- 
statement
public final String statement
Statement to execute. 
- 
shouldPass
public final boolean shouldPass
True if the statement should execute without error. 
 - 
 
- 
Constructor Detail
- 
SltSqlStatement
public SltSqlStatement(String statement, boolean shouldPass)
Create a representation for a SQL statement.- Parameters:
 statement- Statement to execute.shouldPass- If 'false' the statement is supposed to return an error.
 
 - 
 
 -