net.argius.stu.sql
クラス ResultSetEmulator

java.lang.Object
  拡張net.argius.stu.sql.ResultSetEmulator
すべての実装インタフェース:
ResultSet, ResultSetMetaData

public final class ResultSetEmulator
extends Object
implements ResultSet, ResultSetMetaData

擬似結果セットです。 データベースに接続せずに結果セットを構築したい場合、 もしくはデータベースから取得した結果セットを直接使いたくない場合に使用します。

すべてのデータがメモリに展開されることになりますので、 サイズの大きなデータを扱う場合には注意が必要です。


フィールドの概要
 
インタフェース java.sql.ResultSet から継承したフィールド
CLOSE_CURSORS_AT_COMMIT, CONCUR_READ_ONLY, CONCUR_UPDATABLE, FETCH_FORWARD, FETCH_REVERSE, FETCH_UNKNOWN, HOLD_CURSORS_OVER_COMMIT, TYPE_FORWARD_ONLY, TYPE_SCROLL_INSENSITIVE, TYPE_SCROLL_SENSITIVE
 
インタフェース java.sql.ResultSetMetaData から継承したフィールド
columnNoNulls, columnNullable, columnNullableUnknown
 
コンストラクタの概要
ResultSetEmulator()
          結果セットを生成します。
 
メソッドの概要
 boolean absolute(int row)
          カーソルを指定された行に移動します。
 void addColumn(List column, String name, int type, int size)
          列を追加します。
 void afterLast()
          カーソルを最終行の直後に移動します。
 void beforeFirst()
          カーソルを先頭行の直前に移動します。
 void cancelRowUpdates()
          このメソッドはサポートされません。
 void clearWarnings()
          警告をクリアします。
 void close()
          オブジェクトを直ちに解放します。
 void deleteRow()
          このメソッドはサポートされません。
 int findColumn(String columnName)
          指定した列名に対応する列番号を返します。
 boolean first()
          カーソルを先頭行に移動します。
 Array getArray(int i)
          指定した列の現在行にあるデータをArray型で返します。
 Array getArray(String colName)
          指定した列の現在行にあるデータをArray型で返します。
 InputStream getAsciiStream(int columnIndex)
          指定した列の現在行にあるデータのASCII文字入力ストリームを取得します。
 InputStream getAsciiStream(String columnName)
          指定した列の現在行にあるデータのASCII文字入力ストリームを取得します。
 BigDecimal getBigDecimal(int columnIndex)
          指定した列の現在行にあるデータをjava.math.BigDecimal型で返します。
 BigDecimal getBigDecimal(int columnIndex, int scale)
          推奨されていません。  
 BigDecimal getBigDecimal(String columnName)
          指定した列の現在行にあるデータをjava.math.BigDecimal型で返します。
 BigDecimal getBigDecimal(String columnName, int scale)
          推奨されていません。  
 InputStream getBinaryStream(int columnIndex)
          指定した列の現在行にあるデータのバイト入力ストリームを取得します。
 InputStream getBinaryStream(String columnName)
          指定した列の現在行にあるデータのバイト入力ストリームを取得します。
 Blob getBlob(int i)
          指定した列の現在行にあるデータをBlob型で返します。
 Blob getBlob(String colName)
          指定した列の現在行にあるデータをBlob型で返します。
 boolean getBoolean(int columnIndex)
          指定した列の現在行にあるデータを真偽型で返します。
 boolean getBoolean(String columnName)
          指定した列の現在行にあるデータを真偽型で返します。
 byte getByte(int columnIndex)
          指定した列の現在行にあるデータをバイト型で返します。
 byte getByte(String columnName)
          指定した列の現在行にあるデータをバイト型で返します。
 byte[] getBytes(int columnIndex)
          指定した列の現在行にあるデータをバイト型の配列で返します。
 byte[] getBytes(String columnName)
          指定した列の現在行にあるデータをバイト型の配列で返します。
 String getCatalogName(int column)
          このメソッドはサポートされません。
 Reader getCharacterStream(int columnIndex)
          指定した列の現在行にあるデータのjava.io.Readerを取得します。
 Reader getCharacterStream(String columnName)
          指定した列の現在行にあるデータのjava.io.Readerを取得します。
 Clob getClob(int i)
          指定した列の現在行にあるデータをClob型で返します。
 Clob getClob(String colName)
          指定した列の現在行にあるデータをClob型で返します。
 String getColumnClassName(int columnIndex)
          列の型に対応するクラスのFQCNを返します。
 int getColumnCount()
          このテーブルの列数を返します。
 int getColumnDisplaySize(int columnIndex)
          指定された列の通常の最大幅を文字数で示します。
 String getColumnLabel(int columnIndex)
          指定された列の推奨タイトルを取得します。
 String getColumnName(int columnIndex)
          指定された列の名前を取得します。
 int getColumnType(int columnIndex)
          指定された列の型を取得します。
 String getColumnTypeName(int columnIndex)
          指定された列のデータベース固有の型名を取得します。
 int getConcurrency()
          この ResultSet オブジェクトの並行処理モードを返します。
 String getCursorName()
           
 Date getDate(int columnIndex)
          指定した列の現在行にあるデータをjava.sql.Date型で返します。
 Date getDate(int columnIndex, Calendar cal)
          指定した列の現在行にあるデータをjava.sql.Date型で返します。
 Date getDate(String columnName)
          指定した列の現在行にあるデータをjava.sql.Date型で返します。
 Date getDate(String columnName, Calendar cal)
          指定した列の現在行にあるデータをjava.sql.Date型で返します。
 double getDouble(int columnIndex)
          指定した列の現在行にあるデータを倍精度浮動小数点数型で返します。
 double getDouble(String columnName)
          指定した列の現在行にあるデータを倍精度浮動小数点数型で返します。
 int getFetchDirection()
          この結果セットの行が処理される方向を取得します。
 int getFetchSize()
          この結果セットのフェッチサイズを取得します。
 float getFloat(int columnIndex)
          指定した列の現在行にあるデータを単精度浮動小数点数型で返します。
 float getFloat(String columnName)
          指定した列の現在行にあるデータを単精度浮動小数点数型で返します。
 int getInt(int columnIndex)
          指定した列の現在行にあるデータを整数型で返します。
 int getInt(String columnName)
          指定した列の現在行にあるデータを整数型で返します。
 long getLong(int columnIndex)
          指定した列の現在行にあるデータを長整数型で返します。
 long getLong(String columnName)
          指定した列の現在行にあるデータを長整数型で返します。
 ResultSetMetaData getMetaData()
          結果セットのプロパティを取得します。
 Object getObject(int columnIndex)
          指定した列の現在行にあるデータをオブジェクト型で返します。
 Object getObject(int i, Map map)
           
 Object getObject(String columnName)
          指定した列の現在行にあるデータをオブジェクト型で返します。
 Object getObject(String colName, Map map)
           
 int getPrecision(int column)
          このメソッドはサポートされません。
 Ref getRef(int i)
          このメソッドはサポートされません。
 Ref getRef(String colName)
          このメソッドはサポートされません。
 int getRow()
          現在の行番号を返します。
 int getScale(int column)
          このメソッドはサポートされません。
 String getSchemaName(int column)
          このメソッドはサポートされません。
 short getShort(int columnIndex)
          指定した列の現在行にあるデータを短整数型で返します。
 short getShort(String columnName)
          指定した列の現在行にあるデータを短整数型で返します。
 Statement getStatement()
          この結果セットを生成したStatementを返します。
 String getString(int columnIndex)
          指定した列の現在行にあるデータを文字列として返します。
 String getString(String columnName)
          指定した列の現在行にあるデータを文字列として返します。
 String getTableName(int column)
          このメソッドはサポートされません。
 Time getTime(int columnIndex)
          指定した列の現在行にあるデータをjava.sql.Time型で返します。
 Time getTime(int columnIndex, Calendar cal)
          指定した列の現在行にあるデータをjava.sql.Time型で返します。
 Time getTime(String columnName)
          指定した列の現在行にあるデータをjava.sql.Time型で返します。
 Time getTime(String columnName, Calendar cal)
          指定した列の現在行にあるデータをjava.sql.Time型で返します。
 Timestamp getTimestamp(int columnIndex)
          指定した列の現在行にあるデータをjava.sql.Timestamp型で返します。
 Timestamp getTimestamp(int columnIndex, Calendar cal)
          指定した列の現在行にあるデータをjava.sql.Timestamp型で返します。
 Timestamp getTimestamp(String columnName)
          指定した列の現在行にあるデータをjava.sql.Timestamp型で返します。
 Timestamp getTimestamp(String columnName, Calendar cal)
          指定した列の現在行にあるデータをjava.sql.Timestamp型で返します。
 int getType()
          この結果セットのタイプを返します。
 InputStream getUnicodeStream(int columnIndex)
          推奨されていません。  
 InputStream getUnicodeStream(String columnName)
          推奨されていません。  
 URL getURL(int columnIndex)
          指定した列の現在行にあるデータをjava.net.URL型で返します。
 URL getURL(String columnName)
          指定した列の現在行にあるデータをjava.net.URL型で返します。
 SQLWarning getWarnings()
          警告を返します。
 void insertRow()
          このメソッドはサポートされません。
 boolean isAfterLast()
          カーソルが最終行より後にあるかどうかを調べます。
 boolean isAutoIncrement(int column)
          このメソッドはサポートされません。
 boolean isBeforeFirst()
          カーソルが先頭行より前にあるかどうかを調べます。
 boolean isCaseSensitive(int column)
          このメソッドはサポートされません。
 boolean isCurrency(int column)
          このメソッドはサポートされません。
 boolean isDefinitelyWritable(int column)
          このメソッドはサポートされません。
 boolean isFirst()
          カーソルが先頭行にあるかどうかを調べます。
 boolean isLast()
          カーソルが最終行にあるかどうかを調べます。
 int isNullable(int column)
          このメソッドはサポートされません。
 boolean isReadOnly(int column)
          このメソッドはサポートされません。
 boolean isSearchable(int column)
          このメソッドはサポートされません。
 boolean isSigned(int column)
          このメソッドはサポートされません。
 boolean isWritable(int column)
          このメソッドはサポートされません。
 boolean last()
          カーソルを最終行に移動します。
 void moveToCurrentRow()
          このメソッドはサポートされません。
 void moveToInsertRow()
          このメソッドはサポートされません。
 boolean next()
          カーソルを次の行へ移動させます。
 boolean previous()
          カーソルをひとつ前の行へ移動させます。
 void refreshRow()
          このメソッドはサポートされません。
 boolean relative(int rows)
          カーソルを正または負の相対行数だけ移動します。
 boolean rowDeleted()
          このメソッドはサポートされません。
 boolean rowInserted()
          このメソッドはサポートされません。
 boolean rowUpdated()
          このメソッドはサポートされません。
 void setFetchDirection(int direction)
          この結果セットの行が処理される方向を設定します。
 void setFetchSize(int rows)
          この結果セットのフェッチサイズを設定します。
 void updateArray(int columnIndex, Array x)
          このメソッドはサポートされません。
 void updateArray(String columnName, Array x)
          このメソッドはサポートされません。
 void updateAsciiStream(int columnIndex, InputStream x, int length)
          このメソッドはサポートされません。
 void updateAsciiStream(String columnName, InputStream x, int length)
          このメソッドはサポートされません。
 void updateBigDecimal(int columnIndex, BigDecimal x)
          このメソッドはサポートされません。
 void updateBigDecimal(String columnName, BigDecimal x)
          このメソッドはサポートされません。
 void updateBinaryStream(int columnIndex, InputStream x, int length)
          このメソッドはサポートされません。
 void updateBinaryStream(String columnName, InputStream x, int length)
          このメソッドはサポートされません。
 void updateBlob(int columnIndex, Blob x)
          このメソッドはサポートされません。
 void updateBlob(String columnName, Blob x)
          このメソッドはサポートされません。
 void updateBoolean(int columnIndex, boolean x)
          このメソッドはサポートされません。
 void updateBoolean(String columnName, boolean x)
          このメソッドはサポートされません。
 void updateByte(int columnIndex, byte x)
          このメソッドはサポートされません。
 void updateByte(String columnName, byte x)
          このメソッドはサポートされません。
 void updateBytes(int columnIndex, byte[] x)
          このメソッドはサポートされません。
 void updateBytes(String columnName, byte[] x)
          このメソッドはサポートされません。
 void updateCharacterStream(int columnIndex, Reader x, int length)
          このメソッドはサポートされません。
 void updateCharacterStream(String columnName, Reader reader, int length)
          このメソッドはサポートされません。
 void updateClob(int columnIndex, Clob x)
          このメソッドはサポートされません。
 void updateClob(String columnName, Clob x)
          このメソッドはサポートされません。
 void updateDate(int columnIndex, Date x)
          このメソッドはサポートされません。
 void updateDate(String columnName, Date x)
          このメソッドはサポートされません。
 void updateDouble(int columnIndex, double x)
          このメソッドはサポートされません。
 void updateDouble(String columnName, double x)
          このメソッドはサポートされません。
 void updateFloat(int columnIndex, float x)
          このメソッドはサポートされません。
 void updateFloat(String columnName, float x)
          このメソッドはサポートされません。
 void updateInt(int columnIndex, int x)
          このメソッドはサポートされません。
 void updateInt(String columnName, int x)
          このメソッドはサポートされません。
 void updateLong(int columnIndex, long x)
          このメソッドはサポートされません。
 void updateLong(String columnName, long x)
          このメソッドはサポートされません。
 void updateNull(int columnIndex)
          このメソッドはサポートされません。
 void updateNull(String columnName)
          このメソッドはサポートされません。
 void updateObject(int columnIndex, Object x)
          このメソッドはサポートされません。
 void updateObject(int columnIndex, Object x, int scale)
          このメソッドはサポートされません。
 void updateObject(String columnName, Object x)
          このメソッドはサポートされません。
 void updateObject(String columnName, Object x, int scale)
          このメソッドはサポートされません。
 void updateRef(int columnIndex, Ref x)
          このメソッドはサポートされません。
 void updateRef(String columnName, Ref x)
          このメソッドはサポートされません。
 void updateRow()
          このメソッドはサポートされません。
 void updateShort(int columnIndex, short x)
          このメソッドはサポートされません。
 void updateShort(String columnName, short x)
          このメソッドはサポートされません。
 void updateString(int columnIndex, String x)
          このメソッドはサポートされません。
 void updateString(String columnName, String x)
          このメソッドはサポートされません。
 void updateTime(int columnIndex, Time x)
          このメソッドはサポートされません。
 void updateTime(String columnName, Time x)
          このメソッドはサポートされません。
 void updateTimestamp(int columnIndex, Timestamp x)
          このメソッドはサポートされません。
 void updateTimestamp(String columnName, Timestamp x)
          このメソッドはサポートされません。
 boolean wasNull()
          最後に読み込まれた列の値がNULLかどうかを返します。
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

ResultSetEmulator

public ResultSetEmulator()
結果セットを生成します。

メソッドの詳細

addColumn

public void addColumn(List column,
                      String name,
                      int type,
                      int size)
列を追加します。 レコード件数は、追加された列のうち、 最もサイズの小さいものが適用されます。

パラメータ:
column - 1列の全レコード
name - 列名
type - 列型(java.sql.Types)
size - 列の表示桁サイズ

close

public void close()
           throws SQLException
オブジェクトを直ちに解放します。

定義:
インタフェース ResultSet 内の close
例外:
SQLException - データベースアクセスエラー

first

public boolean first()
              throws SQLException
カーソルを先頭行に移動します。

定義:
インタフェース ResultSet 内の first
戻り値:
カーソルが有効な行にある場合はtrue、そうでない場合はfalse
例外:
SQLException - データベースアクセスエラー

last

public boolean last()
             throws SQLException
カーソルを最終行に移動します。

定義:
インタフェース ResultSet 内の last
戻り値:
カーソルが有効な行にある場合はtrue、そうでない場合はfalse
例外:
SQLException - データベースアクセスエラー

beforeFirst

public void beforeFirst()
                 throws SQLException
カーソルを先頭行の直前に移動します。

定義:
インタフェース ResultSet 内の beforeFirst
例外:
SQLException - データベースアクセスエラー

afterLast

public void afterLast()
               throws SQLException
カーソルを最終行の直後に移動します。

定義:
インタフェース ResultSet 内の afterLast
例外:
SQLException - データベースアクセスエラー

previous

public boolean previous()
                 throws SQLException
カーソルをひとつ前の行へ移動させます。

定義:
インタフェース ResultSet 内の previous
戻り値:
移動できた場合はtrue、できなかった場合はfalse
例外:
SQLException - データベースアクセスエラー

next

public boolean next()
             throws SQLException
カーソルを次の行へ移動させます。

定義:
インタフェース ResultSet 内の next
戻り値:
移動できた場合はtrue、できなかった場合はfalse
例外:
SQLException - データベースアクセスエラー

absolute

public boolean absolute(int row)
                 throws SQLException
カーソルを指定された行に移動します。

定義:
インタフェース ResultSet 内の absolute
パラメータ:
row - 行を示す整数
戻り値:
カーソルが結果セットにある場合はtrue、そうでない場合はfalse
例外:
SQLException - データベースアクセスエラー

relative

public boolean relative(int rows)
                 throws SQLException
カーソルを正または負の相対行数だけ移動します。

定義:
インタフェース ResultSet 内の relative
パラメータ:
rows - カーソルの相対行数
戻り値:
カーソルが結果セットにある場合はtrue、そうでない場合はfalse
例外:
SQLException - データベースアクセスエラー

findColumn

public int findColumn(String columnName)
               throws SQLException
指定した列名に対応する列番号を返します。

定義:
インタフェース ResultSet 内の findColumn
パラメータ:
columnName - 列名
戻り値:
列番号
例外:
SQLException - データベースアクセスエラー

getString

public String getString(int columnIndex)
                 throws SQLException
指定した列の現在行にあるデータを文字列として返します。

定義:
インタフェース ResultSet 内の getString
パラメータ:
columnIndex - 列番号
戻り値:
データの文字列値
例外:
SQLException - データベースアクセスエラー

getString

public String getString(String columnName)
                 throws SQLException
指定した列の現在行にあるデータを文字列として返します。

定義:
インタフェース ResultSet 内の getString
パラメータ:
columnName - 列名
戻り値:
データの文字列値
例外:
SQLException - データベースアクセスエラー

getBoolean

public boolean getBoolean(int columnIndex)
                   throws SQLException
指定した列の現在行にあるデータを真偽型で返します。

定義:
インタフェース ResultSet 内の getBoolean
パラメータ:
columnIndex - 列番号
戻り値:
データの真偽型値
例外:
SQLException - データベースアクセスエラー

getBoolean

public boolean getBoolean(String columnName)
                   throws SQLException
指定した列の現在行にあるデータを真偽型で返します。

定義:
インタフェース ResultSet 内の getBoolean
パラメータ:
columnName - 列名
戻り値:
データの真偽型値
例外:
SQLException - データベースアクセスエラー

getByte

public byte getByte(int columnIndex)
             throws SQLException
指定した列の現在行にあるデータをバイト型で返します。

定義:
インタフェース ResultSet 内の getByte
パラメータ:
columnIndex - 列番号
戻り値:
データのバイト型値
例外:
SQLException - データベースアクセスエラー

getByte

public byte getByte(String columnName)
             throws SQLException
指定した列の現在行にあるデータをバイト型で返します。

定義:
インタフェース ResultSet 内の getByte
パラメータ:
columnName - 列名
戻り値:
データのバイト型値
例外:
SQLException - データベースアクセスエラー

getBytes

public byte[] getBytes(int columnIndex)
                throws SQLException
指定した列の現在行にあるデータをバイト型の配列で返します。

定義:
インタフェース ResultSet 内の getBytes
パラメータ:
columnIndex - 列番号
戻り値:
データのバイト型配列
例外:
SQLException - データベースアクセスエラー

getBytes

public byte[] getBytes(String columnName)
                throws SQLException
指定した列の現在行にあるデータをバイト型の配列で返します。

定義:
インタフェース ResultSet 内の getBytes
パラメータ:
columnName - 列名
戻り値:
データのバイト型配列
例外:
SQLException - データベースアクセスエラー

getInt

public int getInt(int columnIndex)
           throws SQLException
指定した列の現在行にあるデータを整数型で返します。

定義:
インタフェース ResultSet 内の getInt
パラメータ:
columnIndex - 列番号
戻り値:
データの整数型値
例外:
SQLException - データベースアクセスエラー

getInt

public int getInt(String columnName)
           throws SQLException
指定した列の現在行にあるデータを整数型で返します。

定義:
インタフェース ResultSet 内の getInt
パラメータ:
columnName - 列名
戻り値:
データの整数型値
例外:
SQLException - データベースアクセスエラー

getShort

public short getShort(int columnIndex)
               throws SQLException
指定した列の現在行にあるデータを短整数型で返します。

定義:
インタフェース ResultSet 内の getShort
パラメータ:
columnIndex - 列番号
戻り値:
データの短整数型値
例外:
SQLException - データベースアクセスエラー

getShort

public short getShort(String columnName)
               throws SQLException
指定した列の現在行にあるデータを短整数型で返します。

定義:
インタフェース ResultSet 内の getShort
パラメータ:
columnName - 列名
戻り値:
データの短整数型値
例外:
SQLException - データベースアクセスエラー

getLong

public long getLong(int columnIndex)
             throws SQLException
指定した列の現在行にあるデータを長整数型で返します。

定義:
インタフェース ResultSet 内の getLong
パラメータ:
columnIndex - 列番号
戻り値:
データの長整数型値
例外:
SQLException - データベースアクセスエラー

getLong

public long getLong(String columnName)
             throws SQLException
指定した列の現在行にあるデータを長整数型で返します。

定義:
インタフェース ResultSet 内の getLong
パラメータ:
columnName - 列名
戻り値:
データの長整数型値
例外:
SQLException - データベースアクセスエラー

getFloat

public float getFloat(int columnIndex)
               throws SQLException
指定した列の現在行にあるデータを単精度浮動小数点数型で返します。

定義:
インタフェース ResultSet 内の getFloat
パラメータ:
columnIndex - 列番号
戻り値:
データの単精度浮動小数点数型値
例外:
SQLException - データベースアクセスエラー

getFloat

public float getFloat(String columnName)
               throws SQLException
指定した列の現在行にあるデータを単精度浮動小数点数型で返します。

定義:
インタフェース ResultSet 内の getFloat
パラメータ:
columnName - 列名
戻り値:
データの単精度浮動小数点数型値
例外:
SQLException - データベースアクセスエラー

getDouble

public double getDouble(int columnIndex)
                 throws SQLException
指定した列の現在行にあるデータを倍精度浮動小数点数型で返します。

定義:
インタフェース ResultSet 内の getDouble
パラメータ:
columnIndex - 列番号
戻り値:
データの倍精度浮動小数点数型値
例外:
SQLException - データベースアクセスエラー

getDouble

public double getDouble(String columnName)
                 throws SQLException
指定した列の現在行にあるデータを倍精度浮動小数点数型で返します。

定義:
インタフェース ResultSet 内の getDouble
パラメータ:
columnName - 列名
戻り値:
データの倍精度浮動小数点数型値
例外:
SQLException - データベースアクセスエラー

getBigDecimal

public BigDecimal getBigDecimal(int columnIndex)
                         throws SQLException
指定した列の現在行にあるデータをjava.math.BigDecimal型で返します。

定義:
インタフェース ResultSet 内の getBigDecimal
パラメータ:
columnIndex - 列番号
戻り値:
データのjava.math.BigDecimal型値
例外:
SQLException - データベースアクセスエラー

getBigDecimal

public BigDecimal getBigDecimal(int columnIndex,
                                int scale)
                         throws SQLException
推奨されていません。  

指定した列の現在行にあるデータをjava.math.BigDecimal型で返します。

定義:
インタフェース ResultSet 内の getBigDecimal
パラメータ:
columnIndex - 列番号
scale - 精度
戻り値:
データのjava.math.BigDecimal型値
例外:
SQLException - データベースアクセスエラー

getBigDecimal

public BigDecimal getBigDecimal(String columnName)
                         throws SQLException
指定した列の現在行にあるデータをjava.math.BigDecimal型で返します。

定義:
インタフェース ResultSet 内の getBigDecimal
パラメータ:
columnName - 列名
戻り値:
データのjava.math.BigDecimal型値
例外:
SQLException - データベースアクセスエラー

getBigDecimal

public BigDecimal getBigDecimal(String columnName,
                                int scale)
                         throws SQLException
推奨されていません。  

指定した列の現在行にあるデータをjava.math.BigDecimal型で返します。

定義:
インタフェース ResultSet 内の getBigDecimal
パラメータ:
columnName - 列名
scale - 精度
戻り値:
データのjava.math.BigDecimal型値
例外:
SQLException - データベースアクセスエラー

getObject

public Object getObject(int columnIndex)
                 throws SQLException
指定した列の現在行にあるデータをオブジェクト型で返します。

定義:
インタフェース ResultSet 内の getObject
パラメータ:
columnIndex - 列番号
戻り値:
データのオブジェクト型値
例外:
SQLException - データベースアクセスエラー

getObject

public Object getObject(String columnName)
                 throws SQLException
指定した列の現在行にあるデータをオブジェクト型で返します。

定義:
インタフェース ResultSet 内の getObject
パラメータ:
columnName - 列名
戻り値:
データのオブジェクト型値
例外:
SQLException - データベースアクセスエラー

getObject

public Object getObject(int i,
                        Map map)
                 throws SQLException
定義:
インタフェース ResultSet 内の getObject
例外:
SQLException

getObject

public Object getObject(String colName,
                        Map map)
                 throws SQLException
定義:
インタフェース ResultSet 内の getObject
例外:
SQLException

getDate

public Date getDate(int columnIndex)
             throws SQLException
指定した列の現在行にあるデータをjava.sql.Date型で返します。

定義:
インタフェース ResultSet 内の getDate
パラメータ:
columnIndex - 列番号
戻り値:
データのjava.sql.Date型値
例外:
SQLException - データベースアクセスエラー

getDate

public Date getDate(int columnIndex,
                    Calendar cal)
             throws SQLException
指定した列の現在行にあるデータをjava.sql.Date型で返します。

定義:
インタフェース ResultSet 内の getDate
パラメータ:
columnIndex - 列番号
cal -
戻り値:
データのjava.sql.Date型値
例外:
SQLException - データベースアクセスエラー

getDate

public Date getDate(String columnName)
             throws SQLException
指定した列の現在行にあるデータをjava.sql.Date型で返します。

定義:
インタフェース ResultSet 内の getDate
パラメータ:
columnName - 列名
戻り値:
データのjava.sql.Date型値
例外:
SQLException - データベースアクセスエラー

getDate

public Date getDate(String columnName,
                    Calendar cal)
             throws SQLException
指定した列の現在行にあるデータをjava.sql.Date型で返します。

定義:
インタフェース ResultSet 内の getDate
パラメータ:
columnName - 列名
戻り値:
データのjava.sql.Date型値
例外:
SQLException - データベースアクセスエラー

getTime

public Time getTime(int columnIndex)
             throws SQLException
指定した列の現在行にあるデータをjava.sql.Time型で返します。

定義:
インタフェース ResultSet 内の getTime
パラメータ:
columnIndex - 列番号
戻り値:
データのjava.sql.Time型値
例外:
SQLException - データベースアクセスエラー

getTime

public Time getTime(int columnIndex,
                    Calendar cal)
             throws SQLException
指定した列の現在行にあるデータをjava.sql.Time型で返します。

定義:
インタフェース ResultSet 内の getTime
パラメータ:
columnIndex - 列番号
cal -
戻り値:
データのjava.sql.Time型値
例外:
SQLException - データベースアクセスエラー

getTime

public Time getTime(String columnName)
             throws SQLException
指定した列の現在行にあるデータをjava.sql.Time型で返します。

定義:
インタフェース ResultSet 内の getTime
パラメータ:
columnName - 列名
戻り値:
データのjava.sql.Time型値
例外:
SQLException - データベースアクセスエラー

getTime

public Time getTime(String columnName,
                    Calendar cal)
             throws SQLException
指定した列の現在行にあるデータをjava.sql.Time型で返します。

定義:
インタフェース ResultSet 内の getTime
パラメータ:
columnName - 列名
cal -
戻り値:
データのjava.sql.Time型値
例外:
SQLException - データベースアクセスエラー

getTimestamp

public Timestamp getTimestamp(int columnIndex)
                       throws SQLException
指定した列の現在行にあるデータをjava.sql.Timestamp型で返します。

定義:
インタフェース ResultSet 内の getTimestamp
パラメータ:
columnIndex - 列番号
戻り値:
データのjava.sql.Timestamp型値
例外:
SQLException - データベースアクセスエラー

getTimestamp

public Timestamp getTimestamp(int columnIndex,
                              Calendar cal)
                       throws SQLException
指定した列の現在行にあるデータをjava.sql.Timestamp型で返します。

定義:
インタフェース ResultSet 内の getTimestamp
パラメータ:
columnIndex - 列番号
cal -
戻り値:
データのjava.sql.Timestamp型値
例外:
SQLException - データベースアクセスエラー

getTimestamp

public Timestamp getTimestamp(String columnName)
                       throws SQLException
指定した列の現在行にあるデータをjava.sql.Timestamp型で返します。

定義:
インタフェース ResultSet 内の getTimestamp
パラメータ:
columnName - 列名
戻り値:
データのjava.sql.Timestamp型値
例外:
SQLException - データベースアクセスエラー

getTimestamp

public Timestamp getTimestamp(String columnName,
                              Calendar cal)
                       throws SQLException
指定した列の現在行にあるデータをjava.sql.Timestamp型で返します。

定義:
インタフェース ResultSet 内の getTimestamp
パラメータ:
columnName - 列名
戻り値:
データのjava.sql.Timestamp型値
例外:
SQLException - データベースアクセスエラー

getURL

public URL getURL(int columnIndex)
           throws SQLException
指定した列の現在行にあるデータをjava.net.URL型で返します。

定義:
インタフェース ResultSet 内の getURL
パラメータ:
columnIndex - 列番号
戻り値:
データのjava.net.URL型値
例外:
SQLException - データベースアクセスエラー

getURL

public URL getURL(String columnName)
           throws SQLException
指定した列の現在行にあるデータをjava.net.URL型で返します。

定義:
インタフェース ResultSet 内の getURL
パラメータ:
columnName - 列名
戻り値:
データのjava.net.URL型値
例外:
SQLException - データベースアクセスエラー

getBlob

public Blob getBlob(int i)
             throws SQLException
指定した列の現在行にあるデータをBlob型で返します。

定義:
インタフェース ResultSet 内の getBlob
パラメータ:
i - 列番号
戻り値:
データのBlob型値
例外:
SQLException - データベースアクセスエラー

getBlob

public Blob getBlob(String colName)
             throws SQLException
指定した列の現在行にあるデータをBlob型で返します。

定義:
インタフェース ResultSet 内の getBlob
パラメータ:
colName - 列名
戻り値:
データのBlob型値
例外:
SQLException - データベースアクセスエラー

getClob

public Clob getClob(int i)
             throws SQLException
指定した列の現在行にあるデータをClob型で返します。

定義:
インタフェース ResultSet 内の getClob
パラメータ:
i - 列番号
戻り値:
データのClob型値
例外:
SQLException - データベースアクセスエラー

getClob

public Clob getClob(String colName)
             throws SQLException
指定した列の現在行にあるデータをClob型で返します。

定義:
インタフェース ResultSet 内の getClob
パラメータ:
colName - 列名
戻り値:
データのClob型値
例外:
SQLException - データベースアクセスエラー

getArray

public Array getArray(int i)
               throws SQLException
指定した列の現在行にあるデータをArray型で返します。

定義:
インタフェース ResultSet 内の getArray
パラメータ:
i - 列番号
戻り値:
データのArray型値
例外:
SQLException - データベースアクセスエラー

getArray

public Array getArray(String colName)
               throws SQLException
指定した列の現在行にあるデータをArray型で返します。

定義:
インタフェース ResultSet 内の getArray
パラメータ:
colName - 列名
戻り値:
データのArray型値
例外:
SQLException - データベースアクセスエラー

getRef

public Ref getRef(int i)
           throws SQLException
このメソッドはサポートされません。

定義:
インタフェース ResultSet 内の getRef
例外:
SQLException - 常にエラー

getRef

public Ref getRef(String colName)
           throws SQLException
このメソッドはサポートされません。

定義:
インタフェース ResultSet 内の getRef
例外:
SQLException - 常にエラー

getBinaryStream

public InputStream getBinaryStream(int columnIndex)
                            throws SQLException
指定した列の現在行にあるデータのバイト入力ストリームを取得します。

定義:
インタフェース ResultSet 内の getBinaryStream
パラメータ:
columnIndex - 列番号
戻り値:
データの入力ストリーム
例外:
SQLException - データベースアクセスエラー

getBinaryStream

public InputStream getBinaryStream(String columnName)
                            throws SQLException
指定した列の現在行にあるデータのバイト入力ストリームを取得します。

定義:
インタフェース ResultSet 内の getBinaryStream
パラメータ:
columnName - 列名
戻り値:
データの入力ストリーム
例外:
SQLException - データベースアクセスエラー

getAsciiStream

public InputStream getAsciiStream(int columnIndex)
                           throws SQLException
指定した列の現在行にあるデータのASCII文字入力ストリームを取得します。

定義:
インタフェース ResultSet 内の getAsciiStream
パラメータ:
columnIndex - 列番号
戻り値:
データの入力ストリーム
例外:
SQLException - データベースアクセスエラー

getAsciiStream

public InputStream getAsciiStream(String columnName)
                           throws SQLException
指定した列の現在行にあるデータのASCII文字入力ストリームを取得します。

定義:
インタフェース ResultSet 内の getAsciiStream
パラメータ:
columnName - 列名
戻り値:
データの入力ストリーム
例外:
SQLException - データベースアクセスエラー

getUnicodeStream

public InputStream getUnicodeStream(int columnIndex)
                             throws SQLException
推奨されていません。  

指定した列の現在行にあるデータのUnicode文字入力ストリームを取得します。

定義:
インタフェース ResultSet 内の getUnicodeStream
パラメータ:
columnIndex - 列番号
戻り値:
データの入力ストリーム
例外:
SQLException - データベースアクセスエラー

getUnicodeStream

public InputStream getUnicodeStream(String columnName)
                             throws SQLException
推奨されていません。  

指定した列の現在行にあるデータのUnicode文字入力ストリームを取得します。

定義:
インタフェース ResultSet 内の getUnicodeStream
パラメータ:
columnName - 列名
戻り値:
データの入力ストリーム
例外:
SQLException - データベースアクセスエラー

getCharacterStream

public Reader getCharacterStream(int columnIndex)
                          throws SQLException
指定した列の現在行にあるデータのjava.io.Readerを取得します。

定義:
インタフェース ResultSet 内の getCharacterStream
パラメータ:
columnIndex - 列番号
戻り値:
データのjava.io.Reader
例外:
SQLException - データベースアクセスエラー

getCharacterStream

public Reader getCharacterStream(String columnName)
                          throws SQLException
指定した列の現在行にあるデータのjava.io.Readerを取得します。

定義:
インタフェース ResultSet 内の getCharacterStream
パラメータ:
columnName - 列名
戻り値:
データのjava.io.Reader
例外:
SQLException - データベースアクセスエラー

getFetchDirection

public int getFetchDirection()
                      throws SQLException
この結果セットの行が処理される方向を取得します。

定義:
インタフェース ResultSet 内の getFetchDirection
戻り値:
常にResultSet.FETCH_FORWARD
例外:
SQLException - データベースアクセスエラー

getFetchSize

public int getFetchSize()
                 throws SQLException
この結果セットのフェッチサイズを取得します。

定義:
インタフェース ResultSet 内の getFetchSize
戻り値:
フェッチサイズ
例外:
SQLException - データベースアクセスエラー

setFetchDirection

public void setFetchDirection(int direction)
                       throws SQLException
この結果セットの行が処理される方向を設定します。

定義:
インタフェース ResultSet 内の setFetchDirection
パラメータ:
direction - フェッチ方向
例外:
SQLException - データベースアクセスエラー

setFetchSize

public void setFetchSize(int rows)
                  throws SQLException
この結果セットのフェッチサイズを設定します。

定義:
インタフェース ResultSet 内の setFetchSize
パラメータ:
rows - フェッチサイズ
例外:
SQLException - データベースアクセスエラー

getConcurrency

public int getConcurrency()
                   throws SQLException
この ResultSet オブジェクトの並行処理モードを返します。

定義:
インタフェース ResultSet 内の getConcurrency
戻り値:
並行処理の種類。(常にCONCUR_READ_ONLY)
例外:
SQLException

getCursorName

public String getCursorName()
                     throws SQLException
定義:
インタフェース ResultSet 内の getCursorName
例外:
SQLException

isBeforeFirst

public boolean isBeforeFirst()
                      throws SQLException
カーソルが先頭行より前にあるかどうかを調べます。

定義:
インタフェース ResultSet 内の isBeforeFirst
戻り値:
カーソルが先頭行より前にある場合はtrue、それ以外または行が無い場合はfalse
例外:
SQLException - データベースアクセスエラー

isFirst

public boolean isFirst()
                throws SQLException
カーソルが先頭行にあるかどうかを調べます。

定義:
インタフェース ResultSet 内の isFirst
戻り値:
カーソルが先頭行にある場合はtrue、それ以外または行が無い場合はfalse
例外:
SQLException - データベースアクセスエラー

isLast

public boolean isLast()
               throws SQLException
カーソルが最終行にあるかどうかを調べます。

定義:
インタフェース ResultSet 内の isLast
戻り値:
カーソルが最終行にある場合はtrue、それ以外または行が無い場合はfalse
例外:
SQLException - データベースアクセスエラー

isAfterLast

public boolean isAfterLast()
                    throws SQLException
カーソルが最終行より後にあるかどうかを調べます。

定義:
インタフェース ResultSet 内の isAfterLast
戻り値:
カーソルが最終行より後にある場合はtrue、それ以外または行が無い場合はfalse
例外:
SQLException - データベースアクセスエラー

wasNull

public boolean wasNull()
                throws SQLException
最後に読み込まれた列の値がNULLかどうかを返します。

定義:
インタフェース ResultSet 内の wasNull
戻り値:
最後に読み込まれた列の値がNULLの場合はtrue、そうでなければfalse
例外:
SQLException - データベースアクセスエラー

getRow

public int getRow()
           throws SQLException
現在の行番号を返します。

定義:
インタフェース ResultSet 内の getRow
戻り値:
現在の行番号。行が無い場合は0
例外:
SQLException - データベースアクセスエラー

getMetaData

public ResultSetMetaData getMetaData()
                              throws SQLException
結果セットのプロパティを取得します。

定義:
インタフェース ResultSet 内の getMetaData
戻り値:
プロパティ記述(ResultSetMetaData
例外:
SQLException - データベースアクセスエラー

getStatement

public Statement getStatement()
                       throws SQLException
この結果セットを生成したStatementを返します。 このクラスでは、常にnullを返します。

定義:
インタフェース ResultSet 内の getStatement
戻り値:
常にnull
例外:
SQLException - データベースアクセスエラー

getType

public int getType()
            throws SQLException
この結果セットのタイプを返します。

定義:
インタフェース ResultSet 内の getType
戻り値:
常にTYPE_SCROLL_INSENSITIVE
例外:
SQLException - データベースアクセスエラー

getWarnings

public SQLWarning getWarnings()
                       throws SQLException
警告を返します。

定義:
インタフェース ResultSet 内の getWarnings
戻り値:
警告
例外:
SQLException - データベースアクセスエラー
関連項目:
SQLWarning

clearWarnings

public void clearWarnings()
                   throws SQLException
警告をクリアします。

定義:
インタフェース ResultSet 内の clearWarnings
例外:
SQLException - データベースアクセスエラー

cancelRowUpdates

public void cancelRowUpdates()
                      throws SQLException
このメソッドはサポートされません。

定義:
インタフェース ResultSet 内の cancelRowUpdates
例外:
SQLException - 常にエラー

deleteRow

public void deleteRow()
               throws SQLException
このメソッドはサポートされません。

定義:
インタフェース ResultSet 内の deleteRow
例外:
SQLException - 常にエラー

updateAsciiStream

public void updateAsciiStream(int columnIndex,
                              InputStream x,
                              int length)
                       throws SQLException
このメソッドはサポートされません。

定義:
インタフェース ResultSet 内の updateAsciiStream
例外:
SQLException - 常にエラー

updateAsciiStream

public void updateAsciiStream(String columnName,
                              InputStream x,
                              int length)
                       throws SQLException
このメソッドはサポートされません。

定義:
インタフェース ResultSet 内の updateAsciiStream
例外:
SQLException - 常にエラー

updateBigDecimal

public void updateBigDecimal(int columnIndex,
                             BigDecimal x)
                      throws SQLException
このメソッドはサポートされません。

定義:
インタフェース ResultSet 内の updateBigDecimal
例外:
SQLException - 常にエラー

updateBigDecimal

public void updateBigDecimal(String columnName,
                             BigDecimal x)
                      throws SQLException
このメソッドはサポートされません。

定義:
インタフェース ResultSet 内の updateBigDecimal
例外:
SQLException - 常にエラー

updateBinaryStream

public void updateBinaryStream(int columnIndex,
                               InputStream x,
                               int length)
                        throws SQLException
このメソッドはサポートされません。

定義:
インタフェース ResultSet 内の updateBinaryStream
例外:
SQLException - 常にエラー

updateBinaryStream

public void updateBinaryStream(String columnName,
                               InputStream x,
                               int length)
                        throws SQLException
このメソッドはサポートされません。

定義:
インタフェース ResultSet 内の updateBinaryStream
例外:
SQLException - 常にエラー

updateBoolean

public void updateBoolean(int columnIndex,
                          boolean x)
                   throws SQLException
このメソッドはサポートされません。

定義:
インタフェース ResultSet 内の updateBoolean
例外:
SQLException - 常にエラー

updateBoolean

public void updateBoolean(String columnName,
                          boolean x)
                   throws SQLException
このメソッドはサポートされません。

定義:
インタフェース ResultSet 内の updateBoolean
例外:
SQLException - 常にエラー

updateByte

public void updateByte(int columnIndex,
                       byte x)
                throws SQLException
このメソッドはサポートされません。

定義:
インタフェース ResultSet 内の updateByte
例外:
SQLException - 常にエラー

updateByte

public void updateByte(String columnName,
                       byte x)
                throws SQLException
このメソッドはサポートされません。

定義:
インタフェース ResultSet 内の updateByte
例外:
SQLException - 常にエラー

updateBytes

public void updateBytes(int columnIndex,
                        byte[] x)
                 throws SQLException
このメソッドはサポートされません。

定義:
インタフェース ResultSet 内の updateBytes
例外:
SQLException - 常にエラー

updateBytes

public void updateBytes(String columnName,
                        byte[] x)
                 throws SQLException
このメソッドはサポートされません。

定義:
インタフェース ResultSet 内の updateBytes
例外:
SQLException - 常にエラー

updateCharacterStream

public void updateCharacterStream(int columnIndex,
                                  Reader x,
                                  int length)
                           throws SQLException
このメソッドはサポートされません。

定義:
インタフェース ResultSet 内の updateCharacterStream
例外:
SQLException - 常にエラー

updateCharacterStream

public void updateCharacterStream(String columnName,
                                  Reader reader,
                                  int length)
                           throws SQLException
このメソッドはサポートされません。

定義:
インタフェース ResultSet 内の updateCharacterStream
例外:
SQLException - 常にエラー

updateDate

public void updateDate(int columnIndex,
                       Date x)
                throws SQLException
このメソッドはサポートされません。

定義:
インタフェース ResultSet 内の updateDate
例外:
SQLException - 常にエラー

updateDate

public void updateDate(String columnName,
                       Date x)
                throws SQLException
このメソッドはサポートされません。

定義:
インタフェース ResultSet 内の updateDate
例外:
SQLException - 常にエラー

updateDouble

public void updateDouble(int columnIndex,
                         double x)
                  throws SQLException
このメソッドはサポートされません。

定義:
インタフェース ResultSet 内の updateDouble
例外:
SQLException - 常にエラー

updateDouble

public void updateDouble(String columnName,
                         double x)
                  throws SQLException
このメソッドはサポートされません。

定義:
インタフェース ResultSet 内の updateDouble
例外:
SQLException - 常にエラー

updateFloat

public void updateFloat(int columnIndex,
                        float x)
                 throws SQLException
このメソッドはサポートされません。

定義:
インタフェース ResultSet 内の updateFloat
例外:
SQLException - 常にエラー

updateFloat

public void updateFloat(String columnName,
                        float x)
                 throws SQLException
このメソッドはサポートされません。

定義:
インタフェース ResultSet 内の updateFloat
例外:
SQLException - 常にエラー

updateInt

public void updateInt(int columnIndex,
                      int x)
               throws SQLException
このメソッドはサポートされません。

定義:
インタフェース ResultSet 内の updateInt
例外:
SQLException - 常にエラー

updateInt

public void updateInt(String columnName,
                      int x)
               throws SQLException
このメソッドはサポートされません。

定義:
インタフェース ResultSet 内の updateInt
例外:
SQLException - 常にエラー

updateLong

public void updateLong(int columnIndex,
                       long x)
                throws SQLException
このメソッドはサポートされません。

定義:
インタフェース ResultSet 内の updateLong
例外:
SQLException - 常にエラー

updateLong

public void updateLong(String columnName,
                       long x)
                throws SQLException
このメソッドはサポートされません。

定義:
インタフェース ResultSet 内の updateLong
例外:
SQLException - 常にエラー

updateNull

public void updateNull(int columnIndex)
                throws SQLException
このメソッドはサポートされません。

定義:
インタフェース ResultSet 内の updateNull
例外:
SQLException - 常にエラー

updateNull

public void updateNull(String columnName)
                throws SQLException
このメソッドはサポートされません。

定義:
インタフェース ResultSet 内の updateNull
例外:
SQLException - 常にエラー

updateObject

public void updateObject(int columnIndex,
                         Object x,
                         int scale)
                  throws SQLException
このメソッドはサポートされません。

定義:
インタフェース ResultSet 内の updateObject
例外:
SQLException - 常にエラー

updateObject

public void updateObject(int columnIndex,
                         Object x)
                  throws SQLException
このメソッドはサポートされません。

定義:
インタフェース ResultSet 内の updateObject
例外:
SQLException - 常にエラー

updateObject

public void updateObject(String columnName,
                         Object x,
                         int scale)
                  throws SQLException
このメソッドはサポートされません。

定義:
インタフェース ResultSet 内の updateObject
例外:
SQLException - 常にエラー

updateObject

public void updateObject(String columnName,
                         Object x)
                  throws SQLException
このメソッドはサポートされません。

定義:
インタフェース ResultSet 内の updateObject
例外:
SQLException - 常にエラー

updateRow

public void updateRow()
               throws SQLException
このメソッドはサポートされません。

定義:
インタフェース ResultSet 内の updateRow
例外:
SQLException - 常にエラー

updateShort

public void updateShort(int columnIndex,
                        short x)
                 throws SQLException
このメソッドはサポートされません。

定義:
インタフェース ResultSet 内の updateShort
例外:
SQLException - 常にエラー

updateShort

public void updateShort(String columnName,
                        short x)
                 throws SQLException
このメソッドはサポートされません。

定義:
インタフェース ResultSet 内の updateShort
例外:
SQLException - 常にエラー

updateString

public void updateString(int columnIndex,
                         String x)
                  throws SQLException
このメソッドはサポートされません。

定義:
インタフェース ResultSet 内の updateString
例外:
SQLException - 常にエラー

updateString

public void updateString(String columnName,
                         String x)
                  throws SQLException
このメソッドはサポートされません。

定義:
インタフェース ResultSet 内の updateString
例外:
SQLException - 常にエラー

updateTime

public void updateTime(int columnIndex,
                       Time x)
                throws SQLException
このメソッドはサポートされません。

定義:
インタフェース ResultSet 内の updateTime
例外:
SQLException - 常にエラー

updateTime

public void updateTime(String columnName,
                       Time x)
                throws SQLException
このメソッドはサポートされません。

定義:
インタフェース ResultSet 内の updateTime
例外:
SQLException - 常にエラー

updateTimestamp

public void updateTimestamp(int columnIndex,
                            Timestamp x)
                     throws SQLException
このメソッドはサポートされません。

定義:
インタフェース ResultSet 内の updateTimestamp
例外:
SQLException - 常にエラー

updateTimestamp

public void updateTimestamp(String columnName,
                            Timestamp x)
                     throws SQLException
このメソッドはサポートされません。

定義:
インタフェース ResultSet 内の updateTimestamp
例外:
SQLException - 常にエラー

updateArray

public void updateArray(int columnIndex,
                        Array x)
                 throws SQLException
このメソッドはサポートされません。

定義:
インタフェース ResultSet 内の updateArray
例外:
SQLException - 常にエラー

updateArray

public void updateArray(String columnName,
                        Array x)
                 throws SQLException
このメソッドはサポートされません。

定義:
インタフェース ResultSet 内の updateArray
例外:
SQLException - 常にエラー

updateBlob

public void updateBlob(int columnIndex,
                       Blob x)
                throws SQLException
このメソッドはサポートされません。

定義:
インタフェース ResultSet 内の updateBlob
例外:
SQLException - 常にエラー

updateBlob

public void updateBlob(String columnName,
                       Blob x)
                throws SQLException
このメソッドはサポートされません。

定義:
インタフェース ResultSet 内の updateBlob
例外:
SQLException - 常にエラー

updateClob

public void updateClob(int columnIndex,
                       Clob x)
                throws SQLException
このメソッドはサポートされません。

定義:
インタフェース ResultSet 内の updateClob
例外:
SQLException - 常にエラー

updateClob

public void updateClob(String columnName,
                       Clob x)
                throws SQLException
このメソッドはサポートされません。

定義:
インタフェース ResultSet 内の updateClob
例外:
SQLException - 常にエラー

updateRef

public void updateRef(int columnIndex,
                      Ref x)
               throws SQLException
このメソッドはサポートされません。

定義:
インタフェース ResultSet 内の updateRef
例外:
SQLException - 常にエラー

updateRef

public void updateRef(String columnName,
                      Ref x)
               throws SQLException
このメソッドはサポートされません。

定義:
インタフェース ResultSet 内の updateRef
例外:
SQLException - 常にエラー

insertRow

public void insertRow()
               throws SQLException
このメソッドはサポートされません。

定義:
インタフェース ResultSet 内の insertRow
例外:
SQLException - 常にエラー

moveToCurrentRow

public void moveToCurrentRow()
                      throws SQLException
このメソッドはサポートされません。

定義:
インタフェース ResultSet 内の moveToCurrentRow
例外:
SQLException - 常にエラー

moveToInsertRow

public void moveToInsertRow()
                     throws SQLException
このメソッドはサポートされません。

定義:
インタフェース ResultSet 内の moveToInsertRow
例外:
SQLException - 常にエラー

refreshRow

public void refreshRow()
                throws SQLException
このメソッドはサポートされません。

定義:
インタフェース ResultSet 内の refreshRow
例外:
SQLException - 常にエラー

rowDeleted

public boolean rowDeleted()
                   throws SQLException
このメソッドはサポートされません。

定義:
インタフェース ResultSet 内の rowDeleted
例外:
SQLException - 常にエラー

rowInserted

public boolean rowInserted()
                    throws SQLException
このメソッドはサポートされません。

定義:
インタフェース ResultSet 内の rowInserted
例外:
SQLException - 常にエラー

rowUpdated

public boolean rowUpdated()
                   throws SQLException
このメソッドはサポートされません。

定義:
インタフェース ResultSet 内の rowUpdated
例外:
SQLException - 常にエラー

getColumnCount

public int getColumnCount()
                   throws SQLException
このテーブルの列数を返します。

定義:
インタフェース ResultSetMetaData 内の getColumnCount
戻り値:
列数
例外:
SQLException - データベースアクセスエラー

getColumnName

public String getColumnName(int columnIndex)
                     throws SQLException
指定された列の名前を取得します。

定義:
インタフェース ResultSetMetaData 内の getColumnName
パラメータ:
columnIndex - 列番号
戻り値:
列名
例外:
SQLException - データベースアクセスエラー

getColumnType

public int getColumnType(int columnIndex)
                  throws SQLException
指定された列の型を取得します。

定義:
インタフェース ResultSetMetaData 内の getColumnType
パラメータ:
columnIndex - 列番号
戻り値:
java.sql.Types からの SQL 型
例外:
SQLException - データベースアクセスエラー
関連項目:
Types

getColumnDisplaySize

public int getColumnDisplaySize(int columnIndex)
                         throws SQLException
指定された列の通常の最大幅を文字数で示します。

定義:
インタフェース ResultSetMetaData 内の getColumnDisplaySize
戻り値:
列の最大文字数
例外:
SQLException - データベースアクセスエラー

getColumnClassName

public String getColumnClassName(int columnIndex)
                          throws SQLException
列の型に対応するクラスのFQCNを返します。

定義:
インタフェース ResultSetMetaData 内の getColumnClassName
パラメータ:
columnIndex - 列番号
戻り値:
クラス名(FQCN)
例外:
SQLException - データベースアクセスエラー

getColumnLabel

public String getColumnLabel(int columnIndex)
                      throws SQLException
指定された列の推奨タイトルを取得します。

定義:
インタフェース ResultSetMetaData 内の getColumnLabel
パラメータ:
columnIndex - 列番号
戻り値:
列の推奨タイトル
例外:
SQLException - データベースアクセスエラー

getColumnTypeName

public String getColumnTypeName(int columnIndex)
                         throws SQLException
指定された列のデータベース固有の型名を取得します。 このクラスではサポートされません。

定義:
インタフェース ResultSetMetaData 内の getColumnTypeName
パラメータ:
columnIndex - 列番号
戻り値:
常にUnsupportedOperationException
例外:
SQLException - データベースアクセスエラー

getCatalogName

public String getCatalogName(int column)
                      throws SQLException
このメソッドはサポートされません。

定義:
インタフェース ResultSetMetaData 内の getCatalogName
例外:
SQLException - 常にエラー

getPrecision

public int getPrecision(int column)
                 throws SQLException
このメソッドはサポートされません。

定義:
インタフェース ResultSetMetaData 内の getPrecision
例外:
SQLException - 常にエラー

getScale

public int getScale(int column)
             throws SQLException
このメソッドはサポートされません。

定義:
インタフェース ResultSetMetaData 内の getScale
例外:
SQLException - 常にエラー

getSchemaName

public String getSchemaName(int column)
                     throws SQLException
このメソッドはサポートされません。

定義:
インタフェース ResultSetMetaData 内の getSchemaName
例外:
SQLException - 常にエラー

getTableName

public String getTableName(int column)
                    throws SQLException
このメソッドはサポートされません。

定義:
インタフェース ResultSetMetaData 内の getTableName
例外:
SQLException - 常にエラー

isAutoIncrement

public boolean isAutoIncrement(int column)
                        throws SQLException
このメソッドはサポートされません。

定義:
インタフェース ResultSetMetaData 内の isAutoIncrement
例外:
SQLException - 常にエラー

isCaseSensitive

public boolean isCaseSensitive(int column)
                        throws SQLException
このメソッドはサポートされません。

定義:
インタフェース ResultSetMetaData 内の isCaseSensitive
例外:
SQLException - 常にエラー

isCurrency

public boolean isCurrency(int column)
                   throws SQLException
このメソッドはサポートされません。

定義:
インタフェース ResultSetMetaData 内の isCurrency
例外:
SQLException - 常にエラー

isDefinitelyWritable

public boolean isDefinitelyWritable(int column)
                             throws SQLException
このメソッドはサポートされません。

定義:
インタフェース ResultSetMetaData 内の isDefinitelyWritable
例外:
SQLException - 常にエラー

isNullable

public int isNullable(int column)
               throws SQLException
このメソッドはサポートされません。

定義:
インタフェース ResultSetMetaData 内の isNullable
例外:
SQLException - 常にエラー

isReadOnly

public boolean isReadOnly(int column)
                   throws SQLException
このメソッドはサポートされません。

定義:
インタフェース ResultSetMetaData 内の isReadOnly
例外:
SQLException - 常にエラー

isSearchable

public boolean isSearchable(int column)
                     throws SQLException
このメソッドはサポートされません。

定義:
インタフェース ResultSetMetaData 内の isSearchable
例外:
SQLException - 常にエラー

isSigned

public boolean isSigned(int column)
                 throws SQLException
このメソッドはサポートされません。

定義:
インタフェース ResultSetMetaData 内の isSigned
例外:
SQLException - 常にエラー

isWritable

public boolean isWritable(int column)
                   throws SQLException
このメソッドはサポートされません。

定義:
インタフェース ResultSetMetaData 内の isWritable
例外:
SQLException - 常にエラー