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.
|
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 ITableIterator
true
if the new current table is valid;
false
if there are no more tableDataSetException
public ITableMetaData getTableMetaData() throws DataSetException
getTableMetaData
in interface ITableIterator
DataSetException
public ITable getTable() throws DataSetException
getTable
in interface ITableIterator
DataSetException
Copyright © 2002–2020. All rights reserved.