|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TableReader
Interface for reading database tables.
Method Summary | |
---|---|
Reader |
getReader(Statement statement,
String tableName)
Get reader for a database table. |
List<String> |
getTableNames(Connection connection)
Returns a list of the names of all tables in the database. |
Method Detail |
---|
Reader getReader(Statement statement, String tableName) throws SQLException
statement
- JDBC statement being executed.tableName
- name of database table to read.
SQLException
- if table does not exist or cannot be read.List<String> getTableNames(Connection connection) throws SQLException
connection
- JDBC connection.
SQLException
- if there is a problem creating table name list.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |