Package org.soulwing.jdbc.source
Interface SQLSource
-
- All Superinterfaces:
AutoCloseable
,Closeable
- All Known Implementing Classes:
ReaderSQLSource
,ResourceSQLSource
,StringSQLSource
public interface SQLSource extends Closeable, AutoCloseable
A source of SQL statements.An instance of this type abstracts the details of reading the text of an SQL source file and parsing it into a sequence of statements.
- Author:
- Carl Harris
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
next()
Gets the next statement from this source.
-
-
-
Method Detail
-
next
String next() throws SQLInputException
Gets the next statement from this source.- Returns:
- statement or
null
if the end of the source has been reached - Throws:
SQLInputException
-
-