|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.torque.task.TorqueDataDumpTask.TableTool
public class TorqueDataDumpTask.TableTool
A nasty do-it-all tool class. It serves as:
| Constructor Summary | |
|---|---|
|
TorqueDataDumpTask.TableTool()
Constructor for the TableTool object. |
protected |
TorqueDataDumpTask.TableTool(java.sql.ResultSet rs)
Constructor for the TableTool object. |
| Method Summary | |
|---|---|
TorqueDataDumpTask.TableTool |
fetch(java.lang.String tableName)
Fetches an Iterator for the data in the named table. |
java.lang.String |
get(java.lang.String columnName)
Returns the value for the column. |
boolean |
hasNext()
check if there are more records in the QueryDataSet. |
java.lang.Object |
next()
load the next record from the QueryDataSet. |
void |
remove()
Dummy implementation of the remove() method of the iterator interface. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TorqueDataDumpTask.TableTool()
protected TorqueDataDumpTask.TableTool(java.sql.ResultSet rs)
throws java.lang.Exception
rs - a query result set
java.lang.Exception - Problem using database record set cursor.| Method Detail |
|---|
public TorqueDataDumpTask.TableTool fetch(java.lang.String tableName)
throws java.lang.Exception
Iterator for the data in the named table.
tableName - Description of Parameter
Iterator for the fetched data.
java.lang.Exception - Problem creating connection or executing query.public boolean hasNext()
hasNext in interface java.util.Iterator
public java.lang.Object next()
throws java.util.NoSuchElementException
next in interface java.util.Iteratorjava.util.NoSuchElementException - Description of Exceptionpublic java.lang.String get(java.lang.String columnName)
columnName - name of the column
public void remove()
throws java.lang.UnsupportedOperationException
remove in interface java.util.Iteratorjava.lang.UnsupportedOperationException - always.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||