|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.rapidminer.example.table.DatabaseDataRowReader
public class DatabaseDataRowReader
Unlike a FileDataRowReader that reads examples from a file, objects
of this class read examples from a ResultSet, a data structure that
is returned from a database query.
DatabaseHandler,
DatabaseExampleSource,
KDBExampleSource| Constructor Summary | |
|---|---|
DatabaseDataRowReader(java.sql.ResultSet resultSet)
Creates a datarow reader from a ResultSet. |
|
| Method Summary | |
|---|---|
boolean |
hasNext()
|
DataRow |
next()
|
void |
remove()
Will throw a new UnsupportedOperationException since DataRowReader does not have
to implement remove. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DatabaseDataRowReader(java.sql.ResultSet resultSet)
throws java.sql.SQLException
Attribute array.
java.sql.SQLException| Method Detail |
|---|
public boolean hasNext()
hasNext in interface java.util.Iterator<DataRow>public DataRow next()
next in interface java.util.Iterator<DataRow>public void remove()
UnsupportedOperationException since DataRowReader does not have
to implement remove.
remove in interface java.util.Iterator<DataRow>
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||