org.asyrinx.joey.gen.task
クラス JoeyDataDumpTask.TableTool

java.lang.Object
  拡張org.asyrinx.joey.gen.task.JoeyDataDumpTask.TableTool
すべての実装インタフェース:
java.util.Iterator
含まれているクラス:
JoeyDataDumpTask

public class JoeyDataDumpTask.TableTool
extends java.lang.Object
implements java.util.Iterator

A nasty do-it-all tool class. It serves as:

作成者:
fedor

コンストラクタの概要
  JoeyDataDumpTask.TableTool()
          Constructor for the TableTool object
protected JoeyDataDumpTask.TableTool(com.workingdogs.village.QueryDataSet qds)
          Constructor for the TableTool object
 
メソッドの概要
 JoeyDataDumpTask.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()
          unsupported!
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

JoeyDataDumpTask.TableTool

public JoeyDataDumpTask.TableTool()
Constructor for the TableTool object


JoeyDataDumpTask.TableTool

protected JoeyDataDumpTask.TableTool(com.workingdogs.village.QueryDataSet qds)
                              throws java.lang.Exception
Constructor for the TableTool object

パラメータ:
qds - Description of Parameter
例外:
java.lang.Exception - Problem using database record set cursor.
メソッドの詳細

fetch

public JoeyDataDumpTask.TableTool fetch(java.lang.String tableName)
                                 throws java.lang.Exception
Fetches an 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.

hasNext

public boolean hasNext()
check if there are more records in the QueryDataSet

定義:
インタフェース java.util.Iterator 内の hasNext
戻り値:
true if there are more records

next

public java.lang.Object next()
                      throws java.util.NoSuchElementException
load the next record from the QueryDataSet

定義:
インタフェース java.util.Iterator 内の next
戻り値:
Description of the Returned Value
例外:
java.util.NoSuchElementException - Description of Exception

get

public java.lang.String get(java.lang.String columnName)
Returns the value for the column

パラメータ:
columnName - name of the column
戻り値:
value of the column or null if it doesn't exist

remove

public void remove()
            throws java.lang.UnsupportedOperationException
unsupported! always throws Exception

定義:
インタフェース java.util.Iterator 内の remove
例外:
java.lang.UnsupportedOperationException - unsupported


Copyright © 2004 asyrinx organization. All Rights Reserved.