|
|||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectnet.argius.stu.sql.ResultSetEmulator
擬似結果セットです。
データベースに接続せずに結果セットを構築したい場合、
もしくはデータベースから取得した結果セットを直接使いたくない場合に使用します。
すべてのデータがメモリに展開されることになりますので、
サイズの大きなデータを扱う場合には注意が必要です。
フィールドの概要 |
インタフェース 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 |
コンストラクタの詳細 |
public ResultSetEmulator()
メソッドの詳細 |
public void addColumn(List column, String name, int type, int size)
column
- 1列の全レコードname
- 列名type
- 列型(java.sql.Types)size
- 列の表示桁サイズpublic void close() throws SQLException
ResultSet
内の close
SQLException
- データベースアクセスエラーpublic boolean first() throws SQLException
ResultSet
内の first
true
、そうでない場合はfalse
SQLException
- データベースアクセスエラーpublic boolean last() throws SQLException
ResultSet
内の last
true
、そうでない場合はfalse
SQLException
- データベースアクセスエラーpublic void beforeFirst() throws SQLException
ResultSet
内の beforeFirst
SQLException
- データベースアクセスエラーpublic void afterLast() throws SQLException
ResultSet
内の afterLast
SQLException
- データベースアクセスエラーpublic boolean previous() throws SQLException
ResultSet
内の previous
true
、できなかった場合はfalse
SQLException
- データベースアクセスエラーpublic boolean next() throws SQLException
ResultSet
内の next
true
、できなかった場合はfalse
SQLException
- データベースアクセスエラーpublic boolean absolute(int row) throws SQLException
ResultSet
内の absolute
row
- 行を示す整数
true
、そうでない場合はfalse
SQLException
- データベースアクセスエラーpublic boolean relative(int rows) throws SQLException
ResultSet
内の relative
rows
- カーソルの相対行数
true
、そうでない場合はfalse
SQLException
- データベースアクセスエラーpublic int findColumn(String columnName) throws SQLException
ResultSet
内の findColumn
columnName
- 列名
SQLException
- データベースアクセスエラーpublic String getString(int columnIndex) throws SQLException
ResultSet
内の getString
columnIndex
- 列番号
SQLException
- データベースアクセスエラーpublic String getString(String columnName) throws SQLException
ResultSet
内の getString
columnName
- 列名
SQLException
- データベースアクセスエラーpublic boolean getBoolean(int columnIndex) throws SQLException
ResultSet
内の getBoolean
columnIndex
- 列番号
SQLException
- データベースアクセスエラーpublic boolean getBoolean(String columnName) throws SQLException
ResultSet
内の getBoolean
columnName
- 列名
SQLException
- データベースアクセスエラーpublic byte getByte(int columnIndex) throws SQLException
ResultSet
内の getByte
columnIndex
- 列番号
SQLException
- データベースアクセスエラーpublic byte getByte(String columnName) throws SQLException
ResultSet
内の getByte
columnName
- 列名
SQLException
- データベースアクセスエラーpublic byte[] getBytes(int columnIndex) throws SQLException
ResultSet
内の getBytes
columnIndex
- 列番号
SQLException
- データベースアクセスエラーpublic byte[] getBytes(String columnName) throws SQLException
ResultSet
内の getBytes
columnName
- 列名
SQLException
- データベースアクセスエラーpublic int getInt(int columnIndex) throws SQLException
ResultSet
内の getInt
columnIndex
- 列番号
SQLException
- データベースアクセスエラーpublic int getInt(String columnName) throws SQLException
ResultSet
内の getInt
columnName
- 列名
SQLException
- データベースアクセスエラーpublic short getShort(int columnIndex) throws SQLException
ResultSet
内の getShort
columnIndex
- 列番号
SQLException
- データベースアクセスエラーpublic short getShort(String columnName) throws SQLException
ResultSet
内の getShort
columnName
- 列名
SQLException
- データベースアクセスエラーpublic long getLong(int columnIndex) throws SQLException
ResultSet
内の getLong
columnIndex
- 列番号
SQLException
- データベースアクセスエラーpublic long getLong(String columnName) throws SQLException
ResultSet
内の getLong
columnName
- 列名
SQLException
- データベースアクセスエラーpublic float getFloat(int columnIndex) throws SQLException
ResultSet
内の getFloat
columnIndex
- 列番号
SQLException
- データベースアクセスエラーpublic float getFloat(String columnName) throws SQLException
ResultSet
内の getFloat
columnName
- 列名
SQLException
- データベースアクセスエラーpublic double getDouble(int columnIndex) throws SQLException
ResultSet
内の getDouble
columnIndex
- 列番号
SQLException
- データベースアクセスエラーpublic double getDouble(String columnName) throws SQLException
ResultSet
内の getDouble
columnName
- 列名
SQLException
- データベースアクセスエラーpublic BigDecimal getBigDecimal(int columnIndex) throws SQLException
java.math.BigDecimal
型で返します。
ResultSet
内の getBigDecimal
columnIndex
- 列番号
java.math.BigDecimal
型値
SQLException
- データベースアクセスエラーpublic BigDecimal getBigDecimal(int columnIndex, int scale) throws SQLException
java.math.BigDecimal
型で返します。
ResultSet
内の getBigDecimal
columnIndex
- 列番号scale
- 精度
java.math.BigDecimal
型値
SQLException
- データベースアクセスエラーpublic BigDecimal getBigDecimal(String columnName) throws SQLException
java.math.BigDecimal
型で返します。
ResultSet
内の getBigDecimal
columnName
- 列名
java.math.BigDecimal
型値
SQLException
- データベースアクセスエラーpublic BigDecimal getBigDecimal(String columnName, int scale) throws SQLException
java.math.BigDecimal
型で返します。
ResultSet
内の getBigDecimal
columnName
- 列名scale
- 精度
java.math.BigDecimal
型値
SQLException
- データベースアクセスエラーpublic Object getObject(int columnIndex) throws SQLException
ResultSet
内の getObject
columnIndex
- 列番号
SQLException
- データベースアクセスエラーpublic Object getObject(String columnName) throws SQLException
ResultSet
内の getObject
columnName
- 列名
SQLException
- データベースアクセスエラーpublic Object getObject(int i, Map map) throws SQLException
ResultSet
内の getObject
SQLException
public Object getObject(String colName, Map map) throws SQLException
ResultSet
内の getObject
SQLException
public Date getDate(int columnIndex) throws SQLException
java.sql.Date
型で返します。
ResultSet
内の getDate
columnIndex
- 列番号
java.sql.Date
型値
SQLException
- データベースアクセスエラーpublic Date getDate(int columnIndex, Calendar cal) throws SQLException
java.sql.Date
型で返します。
ResultSet
内の getDate
columnIndex
- 列番号cal
-
java.sql.Date
型値
SQLException
- データベースアクセスエラーpublic Date getDate(String columnName) throws SQLException
java.sql.Date
型で返します。
ResultSet
内の getDate
columnName
- 列名
java.sql.Date
型値
SQLException
- データベースアクセスエラーpublic Date getDate(String columnName, Calendar cal) throws SQLException
java.sql.Date
型で返します。
ResultSet
内の getDate
columnName
- 列名
java.sql.Date
型値
SQLException
- データベースアクセスエラーpublic Time getTime(int columnIndex) throws SQLException
java.sql.Time
型で返します。
ResultSet
内の getTime
columnIndex
- 列番号
java.sql.Time
型値
SQLException
- データベースアクセスエラーpublic Time getTime(int columnIndex, Calendar cal) throws SQLException
java.sql.Time
型で返します。
ResultSet
内の getTime
columnIndex
- 列番号cal
-
java.sql.Time
型値
SQLException
- データベースアクセスエラーpublic Time getTime(String columnName) throws SQLException
java.sql.Time
型で返します。
ResultSet
内の getTime
columnName
- 列名
java.sql.Time
型値
SQLException
- データベースアクセスエラーpublic Time getTime(String columnName, Calendar cal) throws SQLException
java.sql.Time
型で返します。
ResultSet
内の getTime
columnName
- 列名cal
-
java.sql.Time
型値
SQLException
- データベースアクセスエラーpublic Timestamp getTimestamp(int columnIndex) throws SQLException
java.sql.Timestamp
型で返します。
ResultSet
内の getTimestamp
columnIndex
- 列番号
java.sql.Timestamp
型値
SQLException
- データベースアクセスエラーpublic Timestamp getTimestamp(int columnIndex, Calendar cal) throws SQLException
java.sql.Timestamp
型で返します。
ResultSet
内の getTimestamp
columnIndex
- 列番号cal
-
java.sql.Timestamp
型値
SQLException
- データベースアクセスエラーpublic Timestamp getTimestamp(String columnName) throws SQLException
java.sql.Timestamp
型で返します。
ResultSet
内の getTimestamp
columnName
- 列名
java.sql.Timestamp
型値
SQLException
- データベースアクセスエラーpublic Timestamp getTimestamp(String columnName, Calendar cal) throws SQLException
java.sql.Timestamp
型で返します。
ResultSet
内の getTimestamp
columnName
- 列名
java.sql.Timestamp
型値
SQLException
- データベースアクセスエラーpublic URL getURL(int columnIndex) throws SQLException
java.net.URL
型で返します。
ResultSet
内の getURL
columnIndex
- 列番号
java.net.URL
型値
SQLException
- データベースアクセスエラーpublic URL getURL(String columnName) throws SQLException
java.net.URL
型で返します。
ResultSet
内の getURL
columnName
- 列名
java.net.URL
型値
SQLException
- データベースアクセスエラーpublic Blob getBlob(int i) throws SQLException
Blob
型で返します。
ResultSet
内の getBlob
i
- 列番号
Blob
型値
SQLException
- データベースアクセスエラーpublic Blob getBlob(String colName) throws SQLException
Blob
型で返します。
ResultSet
内の getBlob
colName
- 列名
Blob
型値
SQLException
- データベースアクセスエラーpublic Clob getClob(int i) throws SQLException
Clob
型で返します。
ResultSet
内の getClob
i
- 列番号
Clob
型値
SQLException
- データベースアクセスエラーpublic Clob getClob(String colName) throws SQLException
Clob
型で返します。
ResultSet
内の getClob
colName
- 列名
Clob
型値
SQLException
- データベースアクセスエラーpublic Array getArray(int i) throws SQLException
Array
型で返します。
ResultSet
内の getArray
i
- 列番号
Array
型値
SQLException
- データベースアクセスエラーpublic Array getArray(String colName) throws SQLException
Array
型で返します。
ResultSet
内の getArray
colName
- 列名
Array
型値
SQLException
- データベースアクセスエラーpublic Ref getRef(int i) throws SQLException
ResultSet
内の getRef
SQLException
- 常にエラーpublic Ref getRef(String colName) throws SQLException
ResultSet
内の getRef
SQLException
- 常にエラーpublic InputStream getBinaryStream(int columnIndex) throws SQLException
ResultSet
内の getBinaryStream
columnIndex
- 列番号
SQLException
- データベースアクセスエラーpublic InputStream getBinaryStream(String columnName) throws SQLException
ResultSet
内の getBinaryStream
columnName
- 列名
SQLException
- データベースアクセスエラーpublic InputStream getAsciiStream(int columnIndex) throws SQLException
ResultSet
内の getAsciiStream
columnIndex
- 列番号
SQLException
- データベースアクセスエラーpublic InputStream getAsciiStream(String columnName) throws SQLException
ResultSet
内の getAsciiStream
columnName
- 列名
SQLException
- データベースアクセスエラーpublic InputStream getUnicodeStream(int columnIndex) throws SQLException
ResultSet
内の getUnicodeStream
columnIndex
- 列番号
SQLException
- データベースアクセスエラーpublic InputStream getUnicodeStream(String columnName) throws SQLException
ResultSet
内の getUnicodeStream
columnName
- 列名
SQLException
- データベースアクセスエラーpublic Reader getCharacterStream(int columnIndex) throws SQLException
java.io.Reader
を取得します。
ResultSet
内の getCharacterStream
columnIndex
- 列番号
java.io.Reader
SQLException
- データベースアクセスエラーpublic Reader getCharacterStream(String columnName) throws SQLException
java.io.Reader
を取得します。
ResultSet
内の getCharacterStream
columnName
- 列名
java.io.Reader
SQLException
- データベースアクセスエラーpublic int getFetchDirection() throws SQLException
ResultSet
内の getFetchDirection
ResultSet.FETCH_FORWARD
SQLException
- データベースアクセスエラーpublic int getFetchSize() throws SQLException
ResultSet
内の getFetchSize
SQLException
- データベースアクセスエラーpublic void setFetchDirection(int direction) throws SQLException
ResultSet
内の setFetchDirection
direction
- フェッチ方向
SQLException
- データベースアクセスエラーpublic void setFetchSize(int rows) throws SQLException
ResultSet
内の setFetchSize
rows
- フェッチサイズ
SQLException
- データベースアクセスエラーpublic int getConcurrency() throws SQLException
ResultSet
内の getConcurrency
CONCUR_READ_ONLY
)
SQLException
public String getCursorName() throws SQLException
ResultSet
内の getCursorName
SQLException
public boolean isBeforeFirst() throws SQLException
ResultSet
内の isBeforeFirst
true
、それ以外または行が無い場合はfalse
SQLException
- データベースアクセスエラーpublic boolean isFirst() throws SQLException
ResultSet
内の isFirst
true
、それ以外または行が無い場合はfalse
SQLException
- データベースアクセスエラーpublic boolean isLast() throws SQLException
ResultSet
内の isLast
true
、それ以外または行が無い場合はfalse
SQLException
- データベースアクセスエラーpublic boolean isAfterLast() throws SQLException
ResultSet
内の isAfterLast
true
、それ以外または行が無い場合はfalse
SQLException
- データベースアクセスエラーpublic boolean wasNull() throws SQLException
NULL
かどうかを返します。
ResultSet
内の wasNull
NULL
の場合はtrue
、そうでなければfalse
SQLException
- データベースアクセスエラーpublic int getRow() throws SQLException
ResultSet
内の getRow
0
SQLException
- データベースアクセスエラーpublic ResultSetMetaData getMetaData() throws SQLException
ResultSet
内の getMetaData
ResultSetMetaData
)
SQLException
- データベースアクセスエラーpublic Statement getStatement() throws SQLException
Statement
を返します。
このクラスでは、常にnull
を返します。
ResultSet
内の getStatement
null
SQLException
- データベースアクセスエラーpublic int getType() throws SQLException
ResultSet
内の getType
TYPE_SCROLL_INSENSITIVE
SQLException
- データベースアクセスエラーpublic SQLWarning getWarnings() throws SQLException
ResultSet
内の getWarnings
SQLException
- データベースアクセスエラーSQLWarning
public void clearWarnings() throws SQLException
ResultSet
内の clearWarnings
SQLException
- データベースアクセスエラーpublic void cancelRowUpdates() throws SQLException
ResultSet
内の cancelRowUpdates
SQLException
- 常にエラーpublic void deleteRow() throws SQLException
ResultSet
内の deleteRow
SQLException
- 常にエラーpublic void updateAsciiStream(int columnIndex, InputStream x, int length) throws SQLException
ResultSet
内の updateAsciiStream
SQLException
- 常にエラーpublic void updateAsciiStream(String columnName, InputStream x, int length) throws SQLException
ResultSet
内の updateAsciiStream
SQLException
- 常にエラーpublic void updateBigDecimal(int columnIndex, BigDecimal x) throws SQLException
ResultSet
内の updateBigDecimal
SQLException
- 常にエラーpublic void updateBigDecimal(String columnName, BigDecimal x) throws SQLException
ResultSet
内の updateBigDecimal
SQLException
- 常にエラーpublic void updateBinaryStream(int columnIndex, InputStream x, int length) throws SQLException
ResultSet
内の updateBinaryStream
SQLException
- 常にエラーpublic void updateBinaryStream(String columnName, InputStream x, int length) throws SQLException
ResultSet
内の updateBinaryStream
SQLException
- 常にエラーpublic void updateBoolean(int columnIndex, boolean x) throws SQLException
ResultSet
内の updateBoolean
SQLException
- 常にエラーpublic void updateBoolean(String columnName, boolean x) throws SQLException
ResultSet
内の updateBoolean
SQLException
- 常にエラーpublic void updateByte(int columnIndex, byte x) throws SQLException
ResultSet
内の updateByte
SQLException
- 常にエラーpublic void updateByte(String columnName, byte x) throws SQLException
ResultSet
内の updateByte
SQLException
- 常にエラーpublic void updateBytes(int columnIndex, byte[] x) throws SQLException
ResultSet
内の updateBytes
SQLException
- 常にエラーpublic void updateBytes(String columnName, byte[] x) throws SQLException
ResultSet
内の updateBytes
SQLException
- 常にエラーpublic void updateCharacterStream(int columnIndex, Reader x, int length) throws SQLException
ResultSet
内の updateCharacterStream
SQLException
- 常にエラーpublic void updateCharacterStream(String columnName, Reader reader, int length) throws SQLException
ResultSet
内の updateCharacterStream
SQLException
- 常にエラーpublic void updateDate(int columnIndex, Date x) throws SQLException
ResultSet
内の updateDate
SQLException
- 常にエラーpublic void updateDate(String columnName, Date x) throws SQLException
ResultSet
内の updateDate
SQLException
- 常にエラーpublic void updateDouble(int columnIndex, double x) throws SQLException
ResultSet
内の updateDouble
SQLException
- 常にエラーpublic void updateDouble(String columnName, double x) throws SQLException
ResultSet
内の updateDouble
SQLException
- 常にエラーpublic void updateFloat(int columnIndex, float x) throws SQLException
ResultSet
内の updateFloat
SQLException
- 常にエラーpublic void updateFloat(String columnName, float x) throws SQLException
ResultSet
内の updateFloat
SQLException
- 常にエラーpublic void updateInt(int columnIndex, int x) throws SQLException
ResultSet
内の updateInt
SQLException
- 常にエラーpublic void updateInt(String columnName, int x) throws SQLException
ResultSet
内の updateInt
SQLException
- 常にエラーpublic void updateLong(int columnIndex, long x) throws SQLException
ResultSet
内の updateLong
SQLException
- 常にエラーpublic void updateLong(String columnName, long x) throws SQLException
ResultSet
内の updateLong
SQLException
- 常にエラーpublic void updateNull(int columnIndex) throws SQLException
ResultSet
内の updateNull
SQLException
- 常にエラーpublic void updateNull(String columnName) throws SQLException
ResultSet
内の updateNull
SQLException
- 常にエラーpublic void updateObject(int columnIndex, Object x, int scale) throws SQLException
ResultSet
内の updateObject
SQLException
- 常にエラーpublic void updateObject(int columnIndex, Object x) throws SQLException
ResultSet
内の updateObject
SQLException
- 常にエラーpublic void updateObject(String columnName, Object x, int scale) throws SQLException
ResultSet
内の updateObject
SQLException
- 常にエラーpublic void updateObject(String columnName, Object x) throws SQLException
ResultSet
内の updateObject
SQLException
- 常にエラーpublic void updateRow() throws SQLException
ResultSet
内の updateRow
SQLException
- 常にエラーpublic void updateShort(int columnIndex, short x) throws SQLException
ResultSet
内の updateShort
SQLException
- 常にエラーpublic void updateShort(String columnName, short x) throws SQLException
ResultSet
内の updateShort
SQLException
- 常にエラーpublic void updateString(int columnIndex, String x) throws SQLException
ResultSet
内の updateString
SQLException
- 常にエラーpublic void updateString(String columnName, String x) throws SQLException
ResultSet
内の updateString
SQLException
- 常にエラーpublic void updateTime(int columnIndex, Time x) throws SQLException
ResultSet
内の updateTime
SQLException
- 常にエラーpublic void updateTime(String columnName, Time x) throws SQLException
ResultSet
内の updateTime
SQLException
- 常にエラーpublic void updateTimestamp(int columnIndex, Timestamp x) throws SQLException
ResultSet
内の updateTimestamp
SQLException
- 常にエラーpublic void updateTimestamp(String columnName, Timestamp x) throws SQLException
ResultSet
内の updateTimestamp
SQLException
- 常にエラーpublic void updateArray(int columnIndex, Array x) throws SQLException
ResultSet
内の updateArray
SQLException
- 常にエラーpublic void updateArray(String columnName, Array x) throws SQLException
ResultSet
内の updateArray
SQLException
- 常にエラーpublic void updateBlob(int columnIndex, Blob x) throws SQLException
ResultSet
内の updateBlob
SQLException
- 常にエラーpublic void updateBlob(String columnName, Blob x) throws SQLException
ResultSet
内の updateBlob
SQLException
- 常にエラーpublic void updateClob(int columnIndex, Clob x) throws SQLException
ResultSet
内の updateClob
SQLException
- 常にエラーpublic void updateClob(String columnName, Clob x) throws SQLException
ResultSet
内の updateClob
SQLException
- 常にエラーpublic void updateRef(int columnIndex, Ref x) throws SQLException
ResultSet
内の updateRef
SQLException
- 常にエラーpublic void updateRef(String columnName, Ref x) throws SQLException
ResultSet
内の updateRef
SQLException
- 常にエラーpublic void insertRow() throws SQLException
ResultSet
内の insertRow
SQLException
- 常にエラーpublic void moveToCurrentRow() throws SQLException
ResultSet
内の moveToCurrentRow
SQLException
- 常にエラーpublic void moveToInsertRow() throws SQLException
ResultSet
内の moveToInsertRow
SQLException
- 常にエラーpublic void refreshRow() throws SQLException
ResultSet
内の refreshRow
SQLException
- 常にエラーpublic boolean rowDeleted() throws SQLException
ResultSet
内の rowDeleted
SQLException
- 常にエラーpublic boolean rowInserted() throws SQLException
ResultSet
内の rowInserted
SQLException
- 常にエラーpublic boolean rowUpdated() throws SQLException
ResultSet
内の rowUpdated
SQLException
- 常にエラーpublic int getColumnCount() throws SQLException
ResultSetMetaData
内の getColumnCount
SQLException
- データベースアクセスエラーpublic String getColumnName(int columnIndex) throws SQLException
ResultSetMetaData
内の getColumnName
columnIndex
- 列番号
SQLException
- データベースアクセスエラーpublic int getColumnType(int columnIndex) throws SQLException
ResultSetMetaData
内の getColumnType
columnIndex
- 列番号
SQLException
- データベースアクセスエラーTypes
public int getColumnDisplaySize(int columnIndex) throws SQLException
ResultSetMetaData
内の getColumnDisplaySize
SQLException
- データベースアクセスエラーpublic String getColumnClassName(int columnIndex) throws SQLException
ResultSetMetaData
内の getColumnClassName
columnIndex
- 列番号
SQLException
- データベースアクセスエラーpublic String getColumnLabel(int columnIndex) throws SQLException
ResultSetMetaData
内の getColumnLabel
columnIndex
- 列番号
SQLException
- データベースアクセスエラーpublic String getColumnTypeName(int columnIndex) throws SQLException
ResultSetMetaData
内の getColumnTypeName
columnIndex
- 列番号
SQLException
- データベースアクセスエラーpublic String getCatalogName(int column) throws SQLException
ResultSetMetaData
内の getCatalogName
SQLException
- 常にエラーpublic int getPrecision(int column) throws SQLException
ResultSetMetaData
内の getPrecision
SQLException
- 常にエラーpublic int getScale(int column) throws SQLException
ResultSetMetaData
内の getScale
SQLException
- 常にエラーpublic String getSchemaName(int column) throws SQLException
ResultSetMetaData
内の getSchemaName
SQLException
- 常にエラーpublic String getTableName(int column) throws SQLException
ResultSetMetaData
内の getTableName
SQLException
- 常にエラーpublic boolean isAutoIncrement(int column) throws SQLException
ResultSetMetaData
内の isAutoIncrement
SQLException
- 常にエラーpublic boolean isCaseSensitive(int column) throws SQLException
ResultSetMetaData
内の isCaseSensitive
SQLException
- 常にエラーpublic boolean isCurrency(int column) throws SQLException
ResultSetMetaData
内の isCurrency
SQLException
- 常にエラーpublic boolean isDefinitelyWritable(int column) throws SQLException
ResultSetMetaData
内の isDefinitelyWritable
SQLException
- 常にエラーpublic int isNullable(int column) throws SQLException
ResultSetMetaData
内の isNullable
SQLException
- 常にエラーpublic boolean isReadOnly(int column) throws SQLException
ResultSetMetaData
内の isReadOnly
SQLException
- 常にエラーpublic boolean isSearchable(int column) throws SQLException
ResultSetMetaData
内の isSearchable
SQLException
- 常にエラーpublic boolean isSigned(int column) throws SQLException
ResultSetMetaData
内の isSigned
SQLException
- 常にエラーpublic boolean isWritable(int column) throws SQLException
ResultSetMetaData
内の isWritable
SQLException
- 常にエラー
|
|||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |