|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dbunit.database.QueryTableIterator
public class QueryTableIterator
Iterator used to iterate over a list of tables using a specific query for retrieving data for every table.
| Constructor Summary | |
|---|---|
QueryTableIterator(java.util.List tableEntries,
IDatabaseConnection connection)
|
|
| Method Summary | |
|---|---|
ITable |
getTable()
Returns the current table. |
ITableMetaData |
getTableMetaData()
Returns the metadata of the current table. |
boolean |
next()
Position this iterator to the next table. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public QueryTableIterator(java.util.List tableEntries,
IDatabaseConnection connection)
tableEntries - list of QueryDataSet.TableEntry objectsconnection - The database connection needed to load data| Method Detail |
|---|
public boolean next()
throws DataSetException
next in interface ITableIteratortrue if the new current table is valid;
false if there are no more table
DataSetException
public ITableMetaData getTableMetaData()
throws DataSetException
getTableMetaData in interface ITableIteratorDataSetException
public ITable getTable()
throws DataSetException
getTable in interface ITableIteratorDataSetException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||