public class DataRowIterator extends java.lang.Object implements java.util.Iterator<JDataRow>
IPL pl = ...
DataRowIterator dri = pl.getDataRowIterator("MyData", "SELECT * FROM MyData", null);
while (dri.hasNext()) {
JDataRow = dri.nextRow();
...
}
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
JDataSet |
getDataset()
Achtung!
|
int |
getRowCounter()
Liefert die Anzahl der bisher mit next() gelesenen DataRows.
|
boolean |
hasNext()
Liefert true, solange noch Rows verfügbar sind.
|
JDataRow |
next()
Liefert eine JDataRow, solange der Vorrat reicht.
|
JDataRow |
nextRow() |
void |
remove()
Not implemented
|
public JDataSet getDataset()
public void remove()
remove in interface java.util.Iterator<JDataRow>public boolean hasNext()
hasNext in interface java.util.Iterator<JDataRow>public JDataRow next()
next in interface java.util.Iterator<JDataRow>public int getRowCounter()
public void close()
throws java.sql.SQLException
java.sql.SQLException