public class QueryTableIterator extends Object implements ITableIterator
| Constructor and Description |
|---|
QueryTableIterator(List tableEntries,
IDatabaseConnection connection) |
| Modifier and Type | Method and Description |
|---|---|
ITable |
getTable()
Returns the current table.
|
ITableMetaData |
getTableMetaData()
Returns the metadata of the current table.
|
boolean |
next()
Position this iterator to the next table.
|
boolean |
nextWithoutClosing() |
public QueryTableIterator(List tableEntries, IDatabaseConnection connection)
tableEntries - list of QueryDataSet.TableEntry objectsconnection - The database connection needed to load datapublic boolean next()
throws DataSetException
next in interface ITableIteratortrue if the new current table is valid;
false if there are no more tableDataSetExceptionpublic boolean nextWithoutClosing()
public ITableMetaData getTableMetaData() throws DataSetException
getTableMetaData in interface ITableIteratorDataSetExceptionpublic ITable getTable() throws DataSetException
getTable in interface ITableIteratorDataSetExceptionCopyright © 2002-2017. All Rights Reserved.