|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 dataMethod Detail |
---|
public boolean next() throws DataSetException
next
in interface ITableIterator
true
if the new current table is valid;
false
if there are no more table
DataSetException
public ITableMetaData getTableMetaData() throws DataSetException
getTableMetaData
in interface ITableIterator
DataSetException
public ITable getTable() throws DataSetException
getTable
in interface ITableIterator
DataSetException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |