クラス org.objectweb.cjdbc.driver.DriverResultSet

org.objectweb.cjdbc.driver.DriverResultSetのコラボレーション図

Collaboration graph
[凡例]
すべてのメンバ一覧

説明

A ResultSet provides access to a table of data generated by executing a Statement. The table rows are retrieved in sequence. Within a row its column values can be accessed in any order.

A ResultSet maintains a cursor pointing to its current row of data. Initially the cursor is positioned before the first row. The 'next' method moves the cursor to the next row.

The getXXX methods retrieve column values for the current row. You can retrieve values either using the index number of the column, or by using the name of the column. In general using the column index will be more efficient. Columns are numbered from 1.

For maximum portability, ResultSet columns within each row should be read in left-to-right order and each column should be read only once.

For the getXXX methods, the JDBC driver attempts to convert the underlying data to the specified Java type and returns a suitable Java value. See the JDBC specification for allowable mappings from SQL types to Java types with the ResultSet getXXX methods.

Column names used as input to getXXX methods are case insenstive. When performing a getXXX using a column name, if several columns have the same name, then the value of the first matching column will be returned. The column name option is designed to be used when column names are used in the SQL Query. For columns that are NOT explicitly named in the query, it is best to use column numbers. If column names were used there is no way for the programmer to guarentee that they actually refer to the intended columns.

A ResultSet is automatically closed by the Statement that generated it when that Statement is closed, re-executed, or is used to retrieve the next result from a sequence of multiple results.

The number, types and properties of a ResultSet's columns are provided by the ResultSetMetaData object returned by the getMetaData method.

参照:
java.sql.ResultSetMetaData

java.sql.ResultSet

作者:
Mark Matthews <mmatthew@worldserver.com>

Emmanuel Cecchet

Alexander Laamanen

Nicolas Modrzyk

バージョン:
1.0

DriverResultSet.java91 行で定義されています。

Public メソッド

boolean next () throws java.sql.SQLException
boolean prev () throws SQLException
boolean isBeforeFirst () throws SQLException
boolean isAfterLast () throws SQLException
boolean isFirst () throws SQLException
boolean isLast () throws SQLException
void beforeFirst () throws SQLException
void afterLast () throws SQLException
boolean first () throws SQLException
boolean last () throws SQLException
int getRow () throws SQLException
boolean absolute (int row) throws SQLException
boolean relative (int rows) throws SQLException
boolean previous () throws SQLException
void setFetchDirection (int direction) throws SQLException
int getFetchDirection () throws SQLException
void setFetchSize (int rows) throws SQLException
int getFetchSize () throws SQLException
String getString (int columnIndex) throws SQLException
boolean getBoolean (int columnIndex) throws SQLException
short getShort (int columnIndex) throws SQLException
int getInt (int columnIndex) throws SQLException
long getLong (int columnIndex) throws SQLException
float getFloat (int columnIndex) throws SQLException
double getDouble (int columnIndex) throws SQLException
BigDecimal getBigDecimal (int columnIndex, int scale) throws SQLException
byte[] getBytes (int columnIndex) throws SQLException
java.sql.Date getDate (int columnIndex) throws SQLException
Time getTime (int columnIndex) throws SQLException
Timestamp getTimestamp (int columnIndex) throws SQLException
InputStream getAsciiStream (int columnIndex) throws SQLException
InputStream getUnicodeStream (int columnIndex) throws SQLException
InputStream getBinaryStream (int columnIndex) throws SQLException
String getString (String columnName) throws SQLException
boolean getBoolean (String columnName) throws SQLException
byte getByte (String columnName) throws SQLException
short getShort (String columnName) throws SQLException
int getInt (String columnName) throws SQLException
long getLong (String columnName) throws SQLException
float getFloat (String columnName) throws SQLException
double getDouble (String columnName) throws SQLException
BigDecimal getBigDecimal (String columnName, int scale) throws SQLException
byte[] getBytes (String columnName) throws SQLException
java.sql.Date getDate (String columnName) throws SQLException
Time getTime (String columnName) throws SQLException
Timestamp getTimestamp (String columnName) throws SQLException
InputStream getAsciiStream (String columnName) throws SQLException
InputStream getUnicodeStream (String columnName) throws SQLException
InputStream getBinaryStream (String columnName) throws SQLException
java.sql.SQLWarning getWarnings () throws SQLException
void clearWarnings () throws SQLException
String getCursorName () throws SQLException
Object getObject (int columnIndex) throws SQLException
Object getObject (String columnName) throws SQLException
java.io.Reader getCharacterStream (int columnIndex) throws SQLException
java.io.Reader getCharacterStream (String columnName) throws SQLException
BigDecimal getBigDecimal (int columnIndex) throws SQLException
BigDecimal getBigDecimal (String columnName) throws SQLException
Object getObject (int i, java.util.Map map) throws SQLException
java.sql.Ref getRef (int i) throws SQLException
java.sql.Blob getBlob (int columnIndex) throws SQLException
java.sql.Clob getClob (int columnIndex) throws SQLException
java.sql.Array getArray (int columnIndex) throws SQLException
Object getObject (String colName, java.util.Map map) throws SQLException
java.sql.Ref getRef (String colName) throws SQLException
java.sql.Blob getBlob (String colName) throws SQLException
java.sql.Clob getClob (String colName) throws SQLException
java.sql.Array getArray (String colName) throws SQLException
java.sql.Date getDate (int columnIndex, Calendar cal) throws SQLException
java.sql.Date getDate (String columnName, Calendar cal) throws SQLException
java.sql.Time getTime (int columnIndex, Calendar cal) throws SQLException
java.sql.Time getTime (String columnName, Calendar cal) throws SQLException
java.sql.Timestamp getTimestamp (int columnIndex, Calendar cal) throws SQLException
java.sql.Timestamp getTimestamp (String columnName, Calendar cal) throws SQLException
boolean rowUpdated () throws SQLException
boolean rowInserted () throws SQLException
boolean rowDeleted () throws SQLException
void updateNull (int columnIndex) throws SQLException
void updateBoolean (int columnIndex, boolean x) throws SQLException
void updateByte (int columnIndex, byte x) throws SQLException
void updateShort (int columnIndex, short x) throws SQLException
void updateInt (int columnIndex, int x) throws SQLException
void updateLong (int columnIndex, long x) throws SQLException
void updateFloat (int columnIndex, float x) throws SQLException
void updateDouble (int columnIndex, double x) throws SQLException
void updateBigDecimal (int columnIndex, BigDecimal x) throws SQLException
void updateString (int columnIndex, String x) throws SQLException
void updateBytes (int columnIndex, byte x[]) throws SQLException
void updateDate (int columnIndex, java.sql.Date x) throws SQLException
void updateTime (int columnIndex, java.sql.Time x) throws SQLException
void updateTimestamp (int columnIndex, java.sql.Timestamp x) throws SQLException
void updateAsciiStream (int columnIndex, java.io.InputStream x, int length) throws SQLException
void updateBinaryStream (int columnIndex, java.io.InputStream x, int length) throws SQLException
void updateCharacterStream (int columnIndex, java.io.Reader x, int length) throws SQLException
void updateObject (int columnIndex, Object x, int scale) throws SQLException
void updateObject (int columnIndex, Object x) throws SQLException
void updateNull (String columnName) throws SQLException
void updateBoolean (String columnName, boolean x) throws SQLException
void updateByte (String columnName, byte x) throws SQLException
void updateShort (String columnName, short x) throws SQLException
void updateInt (String columnName, int x) throws SQLException
void updateLong (String columnName, long x) throws SQLException
void updateFloat (String columnName, float x) throws SQLException
void updateDouble (String columnName, double x) throws SQLException
void updateBigDecimal (String columnName, BigDecimal x) throws SQLException
void updateString (String columnName, String x) throws SQLException
void updateBytes (String columnName, byte x[]) throws SQLException
void updateDate (String columnName, java.sql.Date x) throws SQLException
void updateTime (String columnName, java.sql.Time x) throws SQLException
void updateTimestamp (String columnName, java.sql.Timestamp x) throws SQLException
void updateAsciiStream (String columnName, java.io.InputStream x, int length) throws SQLException
void updateBinaryStream (String columnName, java.io.InputStream x, int length) throws SQLException
void updateCharacterStream (String columnName, java.io.Reader reader, int length) throws SQLException
void updateObject (String columnName, Object x, int scale) throws SQLException
void updateObject (String columnName, Object x) throws SQLException
void insertRow () throws SQLException
void updateRow () throws SQLException
void deleteRow () throws SQLException
void refreshRow () throws SQLException
void cancelRowUpdates () throws SQLException
void moveToInsertRow () throws SQLException
void moveToCurrentRow () throws SQLException
int getType () throws SQLException
int getConcurrency () throws SQLException
void close () throws SQLException
boolean wasNull () throws SQLException
java.sql.Statement getStatement () throws SQLException
java.sql.ResultSetMetaData getMetaData () throws SQLException
int findColumn (String columnName) throws SQLException
 DriverResultSet (Field[] fields, ArrayList resultData)
 DriverResultSet (Field[] fields, ArrayList resultData, boolean crsHasMoreData, String cursorName)
java.net.URL getURL (int columnIndex) throws SQLException
java.net.URL getURL (String columnName) throws SQLException
void updateRef (int columnIndex, java.sql.Ref x) throws SQLException
void updateRef (String columnName, java.sql.Ref x) throws SQLException
void updateBlob (int columnIndex, java.sql.Blob x) throws SQLException
void updateBlob (String columnName, java.sql.Blob x) throws SQLException
void updateClob (int columnIndex, java.sql.Clob x) throws SQLException
void updateClob (String columnName, java.sql.Clob x) throws SQLException
void updateArray (int columnIndex, java.sql.Array x) throws SQLException
void updateArray (String columnName, java.sql.Array x) throws SQLException
byte getByte (int columnIndex) throws SQLException

Protected メソッド

void setResultSetType (int typeFlag)
void setResultSetConcurrency (int concurrencyFlag)
void setData (ArrayList newData)
void setHasMoreData (boolean hasMore)
void setStatement (Statement stmt) throws SQLException

Protected 変数

int currentRow = -1
int nbOfRows = -1
int nbOfColumns = -1
ArrayList data
int fetchDirection = FETCH_FORWARD
int fetchSize = 0
Field[] fields
boolean wasNullFlag = false
transient Hashtable columnNameToIndex = null
transient Hashtable fullColumnNameToIndex = null
int resultSetType = 0
int resultSetConcurrency = 0
SQLWarning warnings = null
transient Statement owningStatement

Private メソッド

void buildIndexMapping ()
void checkRowAndColPosAndSetNullFlag (int columnIndex) throws SQLException
void checkIfClosed () throws SQLException

Private 変数

boolean hasMoreData
String cursorName
boolean isClosed = true

Static Private 変数

final String UPDATEABLE_MESSAGE


コンストラクタとデストラクタ

org.objectweb.cjdbc.driver.DriverResultSet.DriverResultSet Field[]  fields,
ArrayList  resultData
 

Creates a new DriverResultSet.

引数:
fields an array of Field objects (basically, the ResultSet meta data)
resultData array of the actual data (data[row][column])
DriverResultSet.java2410 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DriverResultSet.currentRow, org.objectweb.cjdbc.driver.DriverResultSet.data, org.objectweb.cjdbc.driver.DriverResultSet.isClosed, org.objectweb.cjdbc.driver.DriverResultSet.nbOfColumns, と org.objectweb.cjdbc.driver.DriverResultSet.nbOfRows.

02411 { 02412 currentRow = -1; 02413 this.fields = fields; 02414 data = resultData; 02415 if (data == null) 02416 nbOfRows = 0; 02417 else 02418 nbOfRows = data.size(); 02419 nbOfColumns = fields.length; 02420 isClosed = false; 02421 }

org.objectweb.cjdbc.driver.DriverResultSet.DriverResultSet Field[]  fields,
ArrayList  resultData,
boolean  crsHasMoreData,
String  cursorName
 

Creates a new DriverResultSet object from information we get back from a ControllerResultSet.

引数:
fields an array of Field objects (basically, the ResultSet meta data)
resultData array of the actual data (data[row][column])
crsHasMoreData true if remote ControllerResultSet has more data to fetch
cursorName cursor name for a streamable ResultSet
DriverResultSet.java2434 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DriverResultSet.hasMoreData.

02436 { 02437 this(fields, resultData); 02438 this.cursorName = cursorName; 02439 hasMoreData = crsHasMoreData; 02440 }


メソッド

boolean org.objectweb.cjdbc.driver.DriverResultSet.absolute int  row  )  throws SQLException
 

JDBC 2.0

Move to an absolute row number in the result set.

If row is positive, moves to an absolute row with respect to the beginning of the result set. The first row is row 1, the second is row 2, etc.

If row is negative, moves to an absolute row position with respect to the end of result set. For example, calling absolute(-1) positions the cursor on the last row, absolute(-2) indicates the next-to-last row, etc.

An attempt to position the cursor beyond the first/last row in the result set, leaves the cursor before/after the first/last row, respectively.

Note: Calling absolute(1) is the same as calling first(). Calling absolute(-1) is the same as calling last().

引数:
row the row to move to
戻り値:
true if on the result set, false if off.
例外:
SQLException if a database-access error occurs, or row is 0, or result set type is TYPE_FORWARD_ONLY.
DriverResultSet.java406 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DriverResultSet.afterLast(), org.objectweb.cjdbc.driver.DriverResultSet.beforeFirst(), org.objectweb.cjdbc.driver.DriverResultSet.checkIfClosed(), org.objectweb.cjdbc.driver.DriverResultSet.currentRow, org.objectweb.cjdbc.driver.DriverResultSet.first(), org.objectweb.cjdbc.driver.DriverResultSet.last(), と org.objectweb.cjdbc.driver.DriverResultSet.nbOfRows.

参照元 org.objectweb.cjdbc.driver.DriverResultSet.relative().

00407 { 00408 checkIfClosed(); 00409 if (nbOfRows == 0) 00410 return false; 00411 else 00412 { 00413 if (row == 0) 00414 throw new SQLException("Cannot absolute position to row 0"); 00415 00416 if (row == 1) 00417 return first(); 00418 else if (row == -1) 00419 return last(); 00420 else if (row > nbOfRows) 00421 { 00422 afterLast(); 00423 return false; 00424 } 00425 else 00426 { 00427 if (row < 0) 00428 { // adjust to reflect after end of result set 00429 int newRowPosition = nbOfRows + row + 1; 00430 00431 if (newRowPosition <= 0) 00432 { 00433 beforeFirst(); 00434 return false; 00435 } 00436 else 00437 return absolute(newRowPosition); 00438 } 00439 else 00440 { 00441 row--; // adjust for index difference 00442 currentRow = row; 00443 return true; 00444 } 00445 } 00446 } 00447 }

void org.objectweb.cjdbc.driver.DriverResultSet.afterLast  )  throws SQLException
 

JDBC 2.0

Moves to the end of the result set, just after the last row. Has no effect if the result set contains no rows.

例外:
SQLException if a database-access error occurs, or result set type is TYPE_FORWARD_ONLY.
DriverResultSet.java318 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DriverResultSet.checkIfClosed(), org.objectweb.cjdbc.driver.DriverResultSet.currentRow, と org.objectweb.cjdbc.driver.DriverResultSet.nbOfRows.

参照元 org.objectweb.cjdbc.driver.DriverResultSet.absolute().

00319 { 00320 checkIfClosed(); 00321 if (nbOfRows != 0) 00322 currentRow = nbOfRows; 00323 }

void org.objectweb.cjdbc.driver.DriverResultSet.beforeFirst  )  throws SQLException
 

JDBC 2.0

Moves to the front of the result set, just before the first row. Has no effect if the result set contains no rows.

例外:
SQLException if a database-access error occurs, or result set type is TYPE_FORWARD_ONLY
DriverResultSet.java303 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DriverResultSet.checkIfClosed(), と org.objectweb.cjdbc.driver.DriverResultSet.currentRow.

参照元 org.objectweb.cjdbc.driver.DriverResultSet.absolute().

00304 { 00305 checkIfClosed(); 00306 currentRow = -1; 00307 }

void org.objectweb.cjdbc.driver.DriverResultSet.buildIndexMapping  )  [private]
 

Builds a hash between column names and their indices for fast retrieval. DriverResultSet.java2457 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DriverResultSet.columnNameToIndex, org.objectweb.cjdbc.driver.DriverResultSet.fields, org.objectweb.cjdbc.driver.DriverResultSet.fullColumnNameToIndex, org.objectweb.cjdbc.driver.Field.getFieldName(), と org.objectweb.cjdbc.driver.DriverResultSet.nbOfColumns.

参照元 org.objectweb.cjdbc.driver.DriverResultSet.findColumn().

02458 { 02459 int numFields = nbOfColumns; 02460 02461 columnNameToIndex = new Hashtable(); 02462 fullColumnNameToIndex = new Hashtable(); 02463 02464 for (int i = 0; i < numFields; i++) 02465 { 02466 Integer index = new Integer(i); 02467 02468 String columnName = fields[i].getFieldName(); 02469 String fullColumnName = fields[i].getFullName(); 02470 if (columnName != null) 02471 { 02472 columnNameToIndex.put(fields[i].getFieldName(), index); 02473 columnNameToIndex.put(fields[i].getFieldName().toUpperCase(), index); 02474 columnNameToIndex.put(fields[i].getFieldName().toLowerCase(), index); 02475 } 02476 02477 if (fullColumnName != null) 02478 { 02479 fullColumnNameToIndex.put(fields[i].getFullName(), index); 02480 fullColumnNameToIndex.put(fields[i].getFullName().toUpperCase(), index); 02481 fullColumnNameToIndex.put(fields[i].getFullName().toLowerCase(), index); 02482 } 02483 } 02484 }

void org.objectweb.cjdbc.driver.DriverResultSet.cancelRowUpdates  )  throws SQLException
 

JDBC 2.0 The cancelRowUpdates() method may be called after calling an updateXXX() method(s) and before calling updateRow() to rollback the updates made to a row. If no updates have been made or updateRow() has already been called, then this method has no effect.

例外:
SQLException if a database-access error occurs, or if called when on the insert row.
DriverResultSet.java2192 行で定義されています。
02193 { 02194 throw new NotImplementedException("cancelRowUpdates"); 02195 }

void org.objectweb.cjdbc.driver.DriverResultSet.checkIfClosed  )  throws SQLException [private]
 

Check if the ResultSet if closed and throws a SQLException if so.

例外:
SQLException if the ResultSet is closed
DriverResultSet.java2528 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DriverResultSet.isClosed.

参照元 org.objectweb.cjdbc.driver.DriverResultSet.absolute(), org.objectweb.cjdbc.driver.DriverResultSet.afterLast(), org.objectweb.cjdbc.driver.DriverResultSet.beforeFirst(), org.objectweb.cjdbc.driver.DriverResultSet.checkRowAndColPosAndSetNullFlag(), org.objectweb.cjdbc.driver.DriverResultSet.first(), org.objectweb.cjdbc.driver.DriverResultSet.getRow(), org.objectweb.cjdbc.driver.DriverResultSet.isAfterLast(), org.objectweb.cjdbc.driver.DriverResultSet.isBeforeFirst(), org.objectweb.cjdbc.driver.DriverResultSet.isFirst(), org.objectweb.cjdbc.driver.DriverResultSet.isLast(), org.objectweb.cjdbc.driver.DriverResultSet.last(), org.objectweb.cjdbc.driver.DriverResultSet.next(), org.objectweb.cjdbc.driver.DriverResultSet.prev(), と org.objectweb.cjdbc.driver.DriverResultSet.relative().

02529 { 02530 if (isClosed) 02531 throw new SQLException("Trying to access a closed ResultSet"); 02532 }

void org.objectweb.cjdbc.driver.DriverResultSet.checkRowAndColPosAndSetNullFlag int  columnIndex  )  throws SQLException [private]
 

Sanity checks for result parsing

引数:
columnIndex the column to check
例外:
SQLException if an error occurs
DriverResultSet.java2492 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DriverResultSet.checkIfClosed(), org.objectweb.cjdbc.driver.DriverResultSet.currentRow, org.objectweb.cjdbc.driver.DriverResultSet.data, org.objectweb.cjdbc.driver.DriverResultSet.fields, org.objectweb.cjdbc.driver.DriverResultSet.nbOfColumns, org.objectweb.cjdbc.driver.DriverResultSet.nbOfRows, と org.objectweb.cjdbc.driver.DriverResultSet.wasNullFlag.

参照元 org.objectweb.cjdbc.driver.DriverResultSet.getArray(), org.objectweb.cjdbc.driver.DriverResultSet.getAsciiStream(), org.objectweb.cjdbc.driver.DriverResultSet.getBigDecimal(), org.objectweb.cjdbc.driver.DriverResultSet.getBinaryStream(), org.objectweb.cjdbc.driver.DriverResultSet.getBoolean(), org.objectweb.cjdbc.driver.DriverResultSet.getByte(), org.objectweb.cjdbc.driver.DriverResultSet.getBytes(), org.objectweb.cjdbc.driver.DriverResultSet.getClob(), org.objectweb.cjdbc.driver.DriverResultSet.getDate(), org.objectweb.cjdbc.driver.DriverResultSet.getDouble(), org.objectweb.cjdbc.driver.DriverResultSet.getFloat(), org.objectweb.cjdbc.driver.DriverResultSet.getInt(), org.objectweb.cjdbc.driver.DriverResultSet.getLong(), org.objectweb.cjdbc.driver.DriverResultSet.getObject(), org.objectweb.cjdbc.driver.DriverResultSet.getShort(), org.objectweb.cjdbc.driver.DriverResultSet.getString(), org.objectweb.cjdbc.driver.DriverResultSet.getTime(), org.objectweb.cjdbc.driver.DriverResultSet.getTimestamp(), と org.objectweb.cjdbc.driver.DriverResultSet.getUnicodeStream().

02494 { 02495 checkIfClosed(); 02496 02497 if (currentRow < 0) 02498 throw new SQLException("Before start of result set"); 02499 02500 if (currentRow == nbOfRows) 02501 throw new SQLException("After end of result set"); 02502 02503 if (fields == null) 02504 throw new java.sql.SQLException("Query generated no fields for ResultSet"); 02505 02506 if (columnIndex < 1 || columnIndex > nbOfColumns) 02507 throw new java.sql.SQLException("Column Index out of range ( " 02508 + columnIndex + " > " + nbOfColumns + ")."); 02509 02510 try 02511 { 02512 if (((Object[]) data.get(currentRow))[columnIndex - 1] == null) 02513 wasNullFlag = true; 02514 else 02515 wasNullFlag = false; 02516 } 02517 catch (NullPointerException e) 02518 { 02519 wasNullFlag = true; 02520 } 02521 }

void org.objectweb.cjdbc.driver.DriverResultSet.clearWarnings  )  throws SQLException
 

After this call, getWarnings returns null until a new warning is reported for this ResultSet

例外:
SQLException if a database access error occurs
DriverResultSet.java1069 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DriverResultSet.warnings.

参照元 org.objectweb.cjdbc.driver.DriverResultSet.next().

01070 { 01071 warnings = null; 01072 }

void org.objectweb.cjdbc.driver.DriverResultSet.close  )  throws SQLException
 

Closes the remote ResultSet if the ResultSet was streamed else just closes the ResultSet locally.

例外:
SQLException if a database access error occurs
DriverResultSet.java2266 行で定義されています。

参照先 org.objectweb.cjdbc.driver.Connection.closeRemoteResultSet(), org.objectweb.cjdbc.driver.Statement.connection, org.objectweb.cjdbc.driver.DriverResultSet.cursorName, org.objectweb.cjdbc.driver.DriverResultSet.hasMoreData, org.objectweb.cjdbc.driver.DriverResultSet.isClosed, と org.objectweb.cjdbc.driver.DriverResultSet.owningStatement.

02267 { 02268 if (hasMoreData) 02269 owningStatement.connection.closeRemoteResultSet(cursorName); 02270 isClosed = true; 02271 }

void org.objectweb.cjdbc.driver.DriverResultSet.deleteRow  )  throws SQLException
 

JDBC 2.0 Delete the current row from the result set and the underlying database. Cannot be called when on the insert row.

例外:
SQLException if a database-access error occurs, or if called when on the insert row.
DriverResultSet.java2157 行で定義されています。
02158 { 02159 throw new NotImplementedException("deleteRow"); 02160 }

int org.objectweb.cjdbc.driver.DriverResultSet.findColumn String  columnName  )  throws SQLException
 

Map a ResultSet column name to a ResultSet column index

引数:
columnName the name of the column
戻り値:
the column index
例外:
SQLException if a database access error occurs
DriverResultSet.java2370 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DriverResultSet.buildIndexMapping(), org.objectweb.cjdbc.driver.DriverResultSet.columnNameToIndex, org.objectweb.cjdbc.driver.DriverResultSet.fields, org.objectweb.cjdbc.driver.DriverResultSet.fullColumnNameToIndex, org.objectweb.cjdbc.driver.Field.getFieldName(), org.objectweb.cjdbc.driver.Field.getFullName(), と org.objectweb.cjdbc.driver.DriverResultSet.nbOfColumns.

参照元 org.objectweb.cjdbc.driver.DriverResultSet.getArray(), org.objectweb.cjdbc.driver.DriverResultSet.getAsciiStream(), org.objectweb.cjdbc.driver.DriverResultSet.getBigDecimal(), org.objectweb.cjdbc.driver.DriverResultSet.getBinaryStream(), org.objectweb.cjdbc.driver.DriverResultSet.getBlob(), org.objectweb.cjdbc.driver.DriverResultSet.getBoolean(), org.objectweb.cjdbc.driver.DriverResultSet.getByte(), org.objectweb.cjdbc.driver.DriverResultSet.getBytes(), org.objectweb.cjdbc.driver.DriverResultSet.getClob(), org.objectweb.cjdbc.driver.DriverResultSet.getDate(), org.objectweb.cjdbc.driver.DriverResultSet.getDouble(), org.objectweb.cjdbc.driver.DriverResultSet.getFloat(), org.objectweb.cjdbc.driver.DriverResultSet.getInt(), org.objectweb.cjdbc.driver.DriverResultSet.getLong(), org.objectweb.cjdbc.driver.DriverResultSet.getObject(), org.objectweb.cjdbc.driver.DriverResultSet.getShort(), org.objectweb.cjdbc.driver.DriverResultSet.getString(), org.objectweb.cjdbc.driver.DriverResultSet.getTime(), org.objectweb.cjdbc.driver.DriverResultSet.getTimestamp(), と org.objectweb.cjdbc.driver.DriverResultSet.getUnicodeStream().

02371 { 02372 if (columnNameToIndex == null) 02373 buildIndexMapping(); 02374 02375 Integer index = (Integer) columnNameToIndex.get(columnName); 02376 02377 if (index == null) 02378 index = (Integer) fullColumnNameToIndex.get(columnName); 02379 02380 if (index != null) 02381 return index.intValue() + 1; 02382 else 02383 { 02384 // Try this inefficient way, now 02385 String columnNameUC = columnName.toUpperCase(); 02386 for (int i = 0; i < nbOfColumns; i++) 02387 { 02388 if (fields[i].getFieldName().toUpperCase().equals(columnNameUC)) 02389 return i + 1; 02390 else if (fields[i].getFullName().toUpperCase().equals(columnNameUC)) 02391 return i + 1; 02392 } 02393 throw new java.sql.SQLException("Column '" + columnName + "' not found."); 02394 } 02395 }

boolean org.objectweb.cjdbc.driver.DriverResultSet.first  )  throws SQLException
 

JDBC 2.0

Moves to the first row in the result set.

戻り値:
true if on a valid row, false if no rows in the result set.
例外:
SQLException if a database-access error occurs, or result set type is TYPE_FORWARD_ONLY.
DriverResultSet.java335 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DriverResultSet.checkIfClosed(), org.objectweb.cjdbc.driver.DriverResultSet.currentRow, と org.objectweb.cjdbc.driver.DriverResultSet.nbOfRows.

参照元 org.objectweb.cjdbc.driver.DriverResultSet.absolute().

00336 { 00337 checkIfClosed(); 00338 if (nbOfRows == 0) 00339 return false; 00340 00341 currentRow = 0; 00342 return true; 00343 }

java.sql.Array org.objectweb.cjdbc.driver.DriverResultSet.getArray String  colName  )  throws SQLException
 

JDBC 2.0 Get an array column.

引数:
colName the column name
戻り値:
an object representing an SQL array
例外:
SQLException if a database-access error occurs.
DriverResultSet.java1380 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DriverResultSet.findColumn(), と org.objectweb.cjdbc.driver.DriverResultSet.getArray().

01381 { 01382 return getArray(findColumn(colName)); 01383 }

java.sql.Array org.objectweb.cjdbc.driver.DriverResultSet.getArray int  columnIndex  )  throws SQLException
 

JDBC 2.0 Gets an array column.

引数:
columnIndex the first column is 1, the second is 2, ...
戻り値:
an object representing an SQL array
例外:
SQLException if a database-access error occurs.
DriverResultSet.java1311 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DriverResultSet.checkRowAndColPosAndSetNullFlag(), org.objectweb.cjdbc.driver.DriverResultSet.currentRow, org.objectweb.cjdbc.driver.DriverResultSet.data, と org.objectweb.cjdbc.driver.DriverResultSet.wasNullFlag.

参照元 org.objectweb.cjdbc.driver.DriverResultSet.getArray().

01312 { 01313 checkRowAndColPosAndSetNullFlag(columnIndex); 01314 01315 if (wasNullFlag) 01316 return null; 01317 01318 return (java.sql.Array) (((Object[]) data.get(currentRow))[columnIndex - 1]); 01319 }

InputStream org.objectweb.cjdbc.driver.DriverResultSet.getAsciiStream String  columnName  )  throws SQLException
 

参照:
java.sql.ResultSet#getAsciiStream(java.lang.String)
DriverResultSet.java1022 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DriverResultSet.findColumn(), と org.objectweb.cjdbc.driver.DriverResultSet.getAsciiStream().

01023 { 01024 return getAsciiStream(findColumn(columnName)); 01025 }

InputStream org.objectweb.cjdbc.driver.DriverResultSet.getAsciiStream int  columnIndex  )  throws SQLException
 

A column value can be retrieved as a stream of ASCII characters and then read in chunks from the stream. This method is particulary suitable for retrieving large LONGVARCHAR values. The JDBC driver will do any necessary conversion from the database format into ASCII.

Note: All the data in the returned stream must be read prior to getting the value of any other column. The next call to a get method implicitly closes the stream. Also, a stream may return 0 for available() whether there is data available or not.

引数:
columnIndex the first column is 1, the second is 2, ...
戻り値:
a Java InputStream that delivers the database column value as a stream of one byte ASCII characters. If the value is SQL NULL then the result is null
例外:
SQLException if a database access error occurs
参照:
getBinaryStream
DriverResultSet.java859 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DriverResultSet.checkRowAndColPosAndSetNullFlag(), と org.objectweb.cjdbc.driver.DriverResultSet.getBinaryStream().

参照元 org.objectweb.cjdbc.driver.DriverResultSet.getAsciiStream().

00860 { 00861 checkRowAndColPosAndSetNullFlag(columnIndex); 00862 00863 return getBinaryStream(columnIndex); 00864 }

BigDecimal org.objectweb.cjdbc.driver.DriverResultSet.getBigDecimal String  columnName  )  throws SQLException
 

参照:
java.sql.ResultSet#getBigDecimal(java.lang.String)
DriverResultSet.java1236 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DriverResultSet.findColumn(), と org.objectweb.cjdbc.driver.DriverResultSet.getBigDecimal().

01237 { 01238 return getBigDecimal(findColumn(columnName)); 01239 }

BigDecimal org.objectweb.cjdbc.driver.DriverResultSet.getBigDecimal int  columnIndex  )  throws SQLException
 

JDBC 2.0 Get the value of a column in the current row as a java.math.BigDecimal object.

引数:
columnIndex the first column is 1, the second is 2, ...
戻り値:
the column value (full precision); if the value is SQL NULL, the result is null
例外:
SQLException if a database-access error occurs.
DriverResultSet.java1174 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DriverResultSet.checkRowAndColPosAndSetNullFlag(), org.objectweb.cjdbc.driver.DriverResultSet.currentRow, org.objectweb.cjdbc.driver.DriverResultSet.data, と org.objectweb.cjdbc.driver.DriverResultSet.wasNullFlag.

01175 { 01176 checkRowAndColPosAndSetNullFlag(columnIndex); 01177 01178 if (wasNullFlag) 01179 return null; 01180 else 01181 { 01182 Object obj = ((Object[]) data.get(currentRow))[columnIndex - 1]; 01183 if (obj instanceof BigDecimal) 01184 return (BigDecimal) obj; 01185 else if (obj instanceof Long) 01186 { 01187 return new BigDecimal(((Long) obj).longValue()); 01188 } 01189 else if (obj instanceof BigInteger) 01190 { 01191 return new BigDecimal(((BigInteger) obj)); 01192 } 01193 else if (obj instanceof Short) 01194 { 01195 return new BigDecimal(((Short) obj).shortValue()); 01196 } 01197 else if (obj instanceof Integer) 01198 { 01199 return new BigDecimal(((Integer) obj).intValue()); 01200 } 01201 else if (obj instanceof String) 01202 { 01203 return new BigDecimal((String) obj); 01204 } 01205 else if (obj instanceof Number) 01206 { 01207 // float and double have to be converted via string 01208 // othwerwise we produce errors 01209 // javadoc for BigDecimal : 01210 // Note: the results of this constructor can be somewhat unpredictable. 01211 // One might assume that new BigDecimal(.1) is exactly equal to .1, but 01212 // it is actually equal to 01213 // .1000000000000000055511151231257827021181583404541015625. This is so 01214 // because .1 cannot be represented exactly as a double (or, for that 01215 // matter, as a binary fraction of any finite length). Thus, the long 01216 // value that is being passed in to the constructor is not exactly equal 01217 // to .1, appearances nonwithstanding. 01218 01219 // The (String) constructor, on the other hand, is perfectly 01220 // predictable: new BigDecimal(".1") is exactly equal to .1, as one 01221 // would expect. Therefore, it is generally recommended that the 01222 // (String) constructor be used in preference to this one. 01223 return new BigDecimal(obj.toString()); 01224 } 01225 else 01226 { 01227 throw new SQLException("Type " + obj.getClass().getName() 01228 + " is not compatible with BigDecimal"); 01229 } 01230 } 01231 }

BigDecimal org.objectweb.cjdbc.driver.DriverResultSet.getBigDecimal String  columnName,
int  scale
throws SQLException
 

参照:
java.sql.ResultSet#getBigDecimal(String, int)
非推奨:
DriverResultSet.java981 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DriverResultSet.findColumn(), と org.objectweb.cjdbc.driver.DriverResultSet.getBigDecimal().

00983 { 00984 return getBigDecimal(findColumn(columnName), scale); 00985 }

BigDecimal org.objectweb.cjdbc.driver.DriverResultSet.getBigDecimal int  columnIndex,
int  scale
throws SQLException
 

Get the value of a column in the current row as a java.lang.BigDecimal object

引数:
columnIndex the first column is 1, the second is 2...
scale the number of digits to the right of the decimal
戻り値:
the column value; if the value is SQL NULL, null
例外:
SQLException if a database access error occurs
非推奨:
DriverResultSet.java712 行で定義されています。

参照元 org.objectweb.cjdbc.driver.DriverResultSet.getBigDecimal().

00714 { 00715 BigDecimal bigDecimal = getBigDecimal(columnIndex); 00716 if (bigDecimal == null) 00717 return null; 00718 else 00719 return bigDecimal.setScale(scale); 00720 }

InputStream org.objectweb.cjdbc.driver.DriverResultSet.getBinaryStream String  columnName  )  throws SQLException
 

参照:
java.sql.ResultSet#getBinaryStream(java.lang.String)
DriverResultSet.java1039 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DriverResultSet.findColumn(), と org.objectweb.cjdbc.driver.DriverResultSet.getBinaryStream().

01040 { 01041 return getBinaryStream(findColumn(columnName)); 01042 }

InputStream org.objectweb.cjdbc.driver.DriverResultSet.getBinaryStream int  columnIndex  )  throws SQLException
 

A column value can also be retrieved as a binary strea. This method is suitable for retrieving LONGVARBINARY values.

引数:
columnIndex the first column is 1, the second is 2...
戻り値:
a Java InputStream that delivers the database column value as a stream of bytes. If the value is SQL NULL, then the result is null
例外:
SQLException if a database access error occurs
参照:
getAsciiStream

getUnicodeStream

DriverResultSet.java897 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DriverResultSet.checkRowAndColPosAndSetNullFlag(), と org.objectweb.cjdbc.driver.DriverResultSet.getBytes().

参照元 org.objectweb.cjdbc.driver.DriverResultSet.getAsciiStream(), org.objectweb.cjdbc.driver.DriverResultSet.getBinaryStream(), と org.objectweb.cjdbc.driver.DriverResultSet.getUnicodeStream().

00898 { 00899 checkRowAndColPosAndSetNullFlag(columnIndex); 00900 00901 byte b[] = getBytes(columnIndex); 00902 if (b != null) 00903 return new ByteArrayInputStream(b); 00904 else 00905 return null; // SQL NULL 00906 }

java.sql.Blob org.objectweb.cjdbc.driver.DriverResultSet.getBlob String  colName  )  throws SQLException
 

JDBC 2.0 Get a BLOB column.

引数:
colName the column name
戻り値:
an object representing a BLOB
例外:
SQLException if a database-access error occurs.
DriverResultSet.java1356 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DriverResultSet.findColumn(), と org.objectweb.cjdbc.driver.DriverResultSet.getBlob().

01357 { 01358 return getBlob(findColumn(colName)); 01359 }

java.sql.Blob org.objectweb.cjdbc.driver.DriverResultSet.getBlob int  columnIndex  )  throws SQLException
 

JDBC 2.0 Gets a BLOB column.

引数:
columnIndex the first column is 1, the second is 2, ...
戻り値:
an object representing a BLOB
例外:
SQLException if a database-access error occurs.
DriverResultSet.java1275 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DriverResultSet.getBytes().

参照元 org.objectweb.cjdbc.driver.DriverResultSet.getBlob().

01276 { 01277 return new Blob(getBytes(columnIndex)); 01278 }

boolean org.objectweb.cjdbc.driver.DriverResultSet.getBoolean String  columnName  )  throws SQLException
 

参照:
java.sql.ResultSet#getBoolean(java.lang.String)
DriverResultSet.java924 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DriverResultSet.findColumn(), と org.objectweb.cjdbc.driver.DriverResultSet.getBoolean().

00925 { 00926 return getBoolean(findColumn(columnName)); 00927 }

boolean org.objectweb.cjdbc.driver.DriverResultSet.getBoolean int  columnIndex  )  throws SQLException
 

Get the value of a column in the current row as a Java boolean

引数:
columnIndex the first column is 1, the second is 2...
戻り値:
the column value, false for SQL NULL
例外:
SQLException if a database access error occurs
DriverResultSet.java585 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DriverResultSet.checkRowAndColPosAndSetNullFlag(), org.objectweb.cjdbc.driver.DriverResultSet.currentRow, org.objectweb.cjdbc.driver.DriverResultSet.data, と org.objectweb.cjdbc.driver.DriverResultSet.wasNullFlag.

参照元 org.objectweb.cjdbc.driver.DriverResultSet.getBoolean().

00586 { 00587 checkRowAndColPosAndSetNullFlag(columnIndex); 00588 00589 if (wasNullFlag) 00590 return false; 00591 else 00592 { 00593 Object object = (((Object[]) data.get(currentRow))[columnIndex - 1]); 00594 String stringVal = object.toString(); 00595 00596 if ((stringVal != null) && (stringVal.length() > 0)) 00597 { 00598 int c = Character.toLowerCase(stringVal.charAt(0)); 00599 00600 return ((c == 't') || (c == 'y') || (c == '1') || stringVal 00601 .equals("-1")); 00602 } 00603 else 00604 { 00605 return false; 00606 } 00607 } 00608 }

byte org.objectweb.cjdbc.driver.DriverResultSet.getByte int  columnIndex  )  throws SQLException
 

Get the value of a column in the current row as a Java byte.

引数:
columnIndex the first column is 1, the second is 2,...
戻り値:
the column value; 0 if SQL NULL
例外:
SQLException if a database access error occurs
DriverResultSet.java2721 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DriverResultSet.checkRowAndColPosAndSetNullFlag(), org.objectweb.cjdbc.driver.DriverResultSet.currentRow, org.objectweb.cjdbc.driver.DriverResultSet.data, と org.objectweb.cjdbc.driver.DriverResultSet.wasNullFlag.

02722 { 02723 checkRowAndColPosAndSetNullFlag(columnIndex); 02724 02725 if (wasNullFlag) 02726 return 0; 02727 else 02728 return ((Byte) (((Object[]) data.get(currentRow))[columnIndex - 1])) 02729 .byteValue(); 02730 }

byte org.objectweb.cjdbc.driver.DriverResultSet.getByte String  columnName  )  throws SQLException
 

参照:
java.sql.ResultSet#getByte(java.lang.String)
DriverResultSet.java932 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DriverResultSet.findColumn().

00933 { 00934 return getByte(findColumn(columnName)); 00935 }

byte [] org.objectweb.cjdbc.driver.DriverResultSet.getBytes String  columnName  )  throws SQLException
 

参照:
java.sql.ResultSet#getBytes(java.lang.String)
DriverResultSet.java990 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DriverResultSet.findColumn(), と org.objectweb.cjdbc.driver.DriverResultSet.getBytes().

00991 { 00992 return getBytes(findColumn(columnName)); 00993 }

byte [] org.objectweb.cjdbc.driver.DriverResultSet.getBytes int  columnIndex  )  throws SQLException
 

Get the value of a column in the current row as a Java byte array.

Be warned If the blob is huge, then you may run out of memory.

引数:
columnIndex the first column is 1, the second is 2, ...
戻り値:
the column value; if the value is SQL NULL, the result is null
例外:
SQLException if a database access error occurs
DriverResultSet.java731 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DriverResultSet.checkRowAndColPosAndSetNullFlag(), org.objectweb.cjdbc.driver.Statement.connection, org.objectweb.cjdbc.driver.DriverResultSet.currentRow, org.objectweb.cjdbc.driver.DriverResultSet.data, org.objectweb.cjdbc.driver.Connection.getBlobFilter(), org.objectweb.cjdbc.driver.DriverResultSet.owningStatement, と org.objectweb.cjdbc.driver.DriverResultSet.wasNullFlag.

参照元 org.objectweb.cjdbc.driver.DriverResultSet.getBinaryStream(), org.objectweb.cjdbc.driver.DriverResultSet.getBlob(), と org.objectweb.cjdbc.driver.DriverResultSet.getBytes().

00732 { 00733 checkRowAndColPosAndSetNullFlag(columnIndex); 00734 00735 if (wasNullFlag) 00736 return null; 00737 00738 Object o = ((Object[]) data.get(currentRow))[columnIndex - 1]; 00739 byte[] tmp; 00740 if (o instanceof java.lang.String) 00741 { 00742 tmp = ((String) o).getBytes(); 00743 } 00744 else 00745 { 00746 tmp = (byte[]) o; 00747 } 00748 //return Blob.rescapeblock(tmp); 00749 return owningStatement.connection.getBlobFilter().decode(tmp); 00750 }

java.io.Reader org.objectweb.cjdbc.driver.DriverResultSet.getCharacterStream String  columnName  )  throws SQLException
 

参照:
java.sql.ResultSet#getCharacterStream(java.lang.String)
DriverResultSet.java1159 行で定義されています。
01161 { 01162 throw new NotImplementedException("getCharacterStream(String)"); 01163 }

java.io.Reader org.objectweb.cjdbc.driver.DriverResultSet.getCharacterStream int  columnIndex  )  throws SQLException
 

参照:
java.sql.ResultSet#getCharacterStream(int)
DriverResultSet.java1151 行で定義されています。
01152 { 01153 throw new NotImplementedException("getCharacterStream(int)"); 01154 }

java.sql.Clob org.objectweb.cjdbc.driver.DriverResultSet.getClob String  colName  )  throws SQLException
 

JDBC 2.0 Get a CLOB column.

引数:
colName the column name
戻り値:
an object representing a CLOB
例外:
SQLException if a database-access error occurs.
DriverResultSet.java1368 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DriverResultSet.findColumn(), と org.objectweb.cjdbc.driver.DriverResultSet.getClob().

01369 { 01370 return getClob(findColumn(colName)); 01371 }

java.sql.Clob org.objectweb.cjdbc.driver.DriverResultSet.getClob int  columnIndex  )  throws SQLException
 

JDBC 2.0 Gets a CLOB column.

引数:
columnIndex the first column is 1, the second is 2, ...
戻り値:
an object representing a CLOB
例外:
SQLException if a database-access error occurs.
DriverResultSet.java1287 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DriverResultSet.checkRowAndColPosAndSetNullFlag(), org.objectweb.cjdbc.driver.DriverResultSet.currentRow, org.objectweb.cjdbc.driver.DriverResultSet.data, と org.objectweb.cjdbc.driver.DriverResultSet.wasNullFlag.

参照元 org.objectweb.cjdbc.driver.DriverResultSet.getClob().

01288 { 01289 checkRowAndColPosAndSetNullFlag(columnIndex); 01290 01291 if (wasNullFlag) 01292 return null; 01293 Object o = (((Object[]) data.get(currentRow))[columnIndex - 1]); 01294 // Test if the type of the Clob is indeed a Clob or just a String 01295 //throw new SQLException("Class:"+o.getClass()); 01296 if (o instanceof String) 01297 return new Clob((String) o); 01298 else if (o instanceof Clob) 01299 return (java.sql.Clob) o; 01300 else 01301 return new Clob(new String(o.toString())); 01302 }

int org.objectweb.cjdbc.driver.DriverResultSet.getConcurrency  )  throws SQLException
 

JDBC 2.0 Return the concurrency of this result set. The concurrency used is determined by the statement that created the result set.

戻り値:
the concurrency type: always CONCUR_READ_ONLY.
例外:
SQLException if a database-access error occurs
DriverResultSet.java2255 行で定義されています。
02256 { 02257 return CONCUR_READ_ONLY; 02258 }

String org.objectweb.cjdbc.driver.DriverResultSet.getCursorName  )  throws SQLException
 

Get the name of the SQL cursor used by this ResultSet

In SQL, a result table is retrieved though a cursor that is named. The current row of a result can be updated or deleted using a positioned update/delete statement that references the cursor name.

JDBC supports this SQL feature by providing the name of the SQL cursor used by a ResultSet. The current row of a ResulSet is also the current row of this SQL cursor.

Note: If positioned update is not supported, a java.sql.SQLException is thrown.

戻り値:
the ResultSet's SQL cursor name.
例外:
SQLException if a database access error occurs
DriverResultSet.java1091 行で定義されています。
01092 { 01093 throw new NotImplementedException("getCursorName()"); 01094 }

java.sql.Date org.objectweb.cjdbc.driver.DriverResultSet.getDate String  columnName,
Calendar  cal
throws SQLException
 

Get the value of a column in the current row as a java.sql.Date object. Use the calendar to construct an appropriate millisecond value for the Date, if the underlying database doesn't store timezone information.

引数:
columnName is the SQL name of the column
cal the calendar to use in constructing the date
戻り値:
the column value; if the value is SQL NULL, the result is null
例外:
SQLException if a database-access error occurs.
DriverResultSet.java1411 行で定義されています。
01413 { 01414 throw new NotImplementedException("getDate(String, Calendar)"); 01415 }

java.sql.Date org.objectweb.cjdbc.driver.DriverResultSet.getDate int  columnIndex,
Calendar  cal
throws SQLException
 

JDBC 2.0 Get the value of a column in the current row as a java.sql.Date object. Use the calendar to construct an appropriate millisecond value for the Date, if the underlying database doesn't store timezone information.

引数:
columnIndex the first column is 1, the second is 2, ...
cal the calendar to use in constructing the date
戻り値:
the column value; if the value is SQL NULL, the result is null
例外:
SQLException if a database-access error occurs.
DriverResultSet.java1395 行で定義されています。
01397 { 01398 throw new NotImplementedException("getDate(int, Calendar)"); 01399 }

java.sql.Date org.objectweb.cjdbc.driver.DriverResultSet.getDate String  columnName  )  throws SQLException
 

参照:
java.sql.ResultSet#getDate(java.lang.String)
DriverResultSet.java998 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DriverResultSet.findColumn(), と org.objectweb.cjdbc.driver.DriverResultSet.getDate().

00999 { 01000 return getDate(findColumn(columnName)); 01001 }

java.sql.Date org.objectweb.cjdbc.driver.DriverResultSet.getDate int  columnIndex  )  throws SQLException
 

Get the value of a column in the current row as a java.sql.Date object

引数:
columnIndex the first column is 1, the second is 2...
戻り値:
the column value; null if SQL NULL
例外:
SQLException if a database access error occurs
DriverResultSet.java759 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DriverResultSet.checkRowAndColPosAndSetNullFlag(), org.objectweb.cjdbc.driver.DriverResultSet.currentRow, org.objectweb.cjdbc.driver.DriverResultSet.data, と org.objectweb.cjdbc.driver.DriverResultSet.wasNullFlag.

参照元 org.objectweb.cjdbc.driver.DriverResultSet.getDate().

00760 { 00761 checkRowAndColPosAndSetNullFlag(columnIndex); 00762 00763 if (wasNullFlag) 00764 { 00765 return null; 00766 } 00767 else 00768 { 00769 // we may be reading a timestamp column and have to convert it to date 00770 // the client is asking for the date field only, we have to make sure 00771 // hour,minutes,... are cleared 00772 String dateString = ((Object[]) data.get(currentRow))[columnIndex - 1] 00773 .toString(); 00774 if (dateString.length() == 10) 00775 return java.sql.Date.valueOf(dateString); 00776 else 00777 { 00778 return java.sql.Date.valueOf(dateString.substring(0, 10)); 00779 } 00780 } 00781 }

double org.objectweb.cjdbc.driver.DriverResultSet.getDouble String  columnName  )  throws SQLException
 

参照:
java.sql.ResultSet#getDouble(java.lang.String)
DriverResultSet.java972 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DriverResultSet.findColumn(), と org.objectweb.cjdbc.driver.DriverResultSet.getDouble().

00973 { 00974 return getDouble(findColumn(columnName)); 00975 }

double org.objectweb.cjdbc.driver.DriverResultSet.getDouble int  columnIndex  )  throws SQLException
 

Get the value of a column in the current row as a Java double.

引数:
columnIndex the first column is 1, the second is 2,...
戻り値:
the column value; 0 if SQL NULL
例外:
SQLException if a database access error occurs
DriverResultSet.java691 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DriverResultSet.checkRowAndColPosAndSetNullFlag(), org.objectweb.cjdbc.driver.DriverResultSet.currentRow, org.objectweb.cjdbc.driver.DriverResultSet.data, と org.objectweb.cjdbc.driver.DriverResultSet.wasNullFlag.

参照元 org.objectweb.cjdbc.driver.DriverResultSet.getDouble().

00692 { 00693 checkRowAndColPosAndSetNullFlag(columnIndex); 00694 00695 if (wasNullFlag) 00696 return 0; 00697 else 00698 return ((Number) (((Object[]) data.get(currentRow))[columnIndex - 1])) 00699 .doubleValue(); 00700 }

int org.objectweb.cjdbc.driver.DriverResultSet.getFetchDirection  )  throws SQLException
 

JDBC 2.0 Return the fetch direction for this result set.

戻り値:
the fetch direction
例外:
SQLException if a database-access error occurs
DriverResultSet.java519 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DriverResultSet.fetchDirection.

00520 { 00521 return fetchDirection; 00522 }

int org.objectweb.cjdbc.driver.DriverResultSet.getFetchSize  )  throws SQLException
 

JDBC 2.0 Return the fetch size for this result set.

戻り値:
the fetch size
例外:
SQLException if a database-access error occurs
DriverResultSet.java550 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DriverResultSet.fetchSize.

00551 { 00552 return fetchSize; 00553 }

float org.objectweb.cjdbc.driver.DriverResultSet.getFloat String  columnName  )  throws SQLException
 

参照:
java.sql.ResultSet#getFloat(java.lang.String)
DriverResultSet.java964 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DriverResultSet.findColumn(), と org.objectweb.cjdbc.driver.DriverResultSet.getFloat().

00965 { 00966 return getFloat(findColumn(columnName)); 00967 }

float org.objectweb.cjdbc.driver.DriverResultSet.getFloat int  columnIndex  )  throws SQLException
 

Get the value of a column in the current row as a Java float.

引数:
columnIndex the first column is 1, the second is 2,...
戻り値:
the column value; 0 if SQL NULL
例外:
SQLException if a database access error occurs
DriverResultSet.java673 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DriverResultSet.checkRowAndColPosAndSetNullFlag(), org.objectweb.cjdbc.driver.DriverResultSet.currentRow, org.objectweb.cjdbc.driver.DriverResultSet.data, と org.objectweb.cjdbc.driver.DriverResultSet.wasNullFlag.

参照元 org.objectweb.cjdbc.driver.DriverResultSet.getFloat().

00674 { 00675 checkRowAndColPosAndSetNullFlag(columnIndex); 00676 00677 if (wasNullFlag) 00678 return 0; 00679 else 00680 return ((Number) (((Object[]) data.get(currentRow))[columnIndex - 1])) 00681 .floatValue(); 00682 }

int org.objectweb.cjdbc.driver.DriverResultSet.getInt String  columnName  )  throws SQLException
 

参照:
java.sql.ResultSet#getInt(java.lang.String)
DriverResultSet.java948 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DriverResultSet.findColumn(), と org.objectweb.cjdbc.driver.DriverResultSet.getInt().

00949 { 00950 return getInt(findColumn(columnName)); 00951 }

int org.objectweb.cjdbc.driver.DriverResultSet.getInt int  columnIndex  )  throws SQLException
 

Get the value of a column in the current row as a Java int.

引数:
columnIndex the first column is 1, the second is 2,...
戻り値:
the column value; 0 if SQL NULL
例外:
SQLException if a database access error occurs
DriverResultSet.java635 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DriverResultSet.checkRowAndColPosAndSetNullFlag(), org.objectweb.cjdbc.driver.DriverResultSet.currentRow, org.objectweb.cjdbc.driver.DriverResultSet.data, と org.objectweb.cjdbc.driver.DriverResultSet.wasNullFlag.

参照元 org.objectweb.cjdbc.driver.DriverResultSet.getInt().

00636 { 00637 checkRowAndColPosAndSetNullFlag(columnIndex); 00638 00639 if (wasNullFlag) 00640 return 0; 00641 else 00642 { 00643 return ((Number) (((Object[]) data.get(currentRow))[columnIndex - 1])) 00644 .intValue(); 00645 } 00646 }

long org.objectweb.cjdbc.driver.DriverResultSet.getLong String  columnName  )  throws SQLException
 

参照:
java.sql.ResultSet#getLong(java.lang.String)
DriverResultSet.java956 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DriverResultSet.findColumn(), と org.objectweb.cjdbc.driver.DriverResultSet.getLong().

00957 { 00958 return getLong(findColumn(columnName)); 00959 }

long org.objectweb.cjdbc.driver.DriverResultSet.getLong int  columnIndex  )  throws SQLException
 

Get the value of a column in the current row as a Java long.

引数:
columnIndex the first column is 1, the second is 2,...
戻り値:
the column value; 0 if SQL NULL
例外:
SQLException if a database access error occurs
DriverResultSet.java655 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DriverResultSet.checkRowAndColPosAndSetNullFlag(), org.objectweb.cjdbc.driver.DriverResultSet.currentRow, org.objectweb.cjdbc.driver.DriverResultSet.data, と org.objectweb.cjdbc.driver.DriverResultSet.wasNullFlag.

参照元 org.objectweb.cjdbc.driver.DriverResultSet.getLong().

00656 { 00657 checkRowAndColPosAndSetNullFlag(columnIndex); 00658 00659 if (wasNullFlag) 00660 return 0; 00661 else 00662 return ((Number) (((Object[]) data.get(currentRow))[columnIndex - 1])) 00663 .longValue(); 00664 }

java.sql.ResultSetMetaData org.objectweb.cjdbc.driver.DriverResultSet.getMetaData  )  throws SQLException
 

The numbers, types and properties of a ResultSet's columns are provided by the getMetaData method

戻り値:
a description of the ResultSet's columns
例外:
SQLException if a database access error occurs
DriverResultSet.java2357 行で定義されています。
02358 { 02359 return new ResultSetMetaData(this); 02360 }

Object org.objectweb.cjdbc.driver.DriverResultSet.getObject String  colName,
java.util.Map  map
throws SQLException
 

JDBC 2.0 Returns the value of column as a Java object. Use the map to determine the class from which to construct data of SQL structured and distinct types.

引数:
colName the column name
map the mapping from SQL type names to Java classes
戻り値:
an object representing the SQL value
例外:
SQLException if a database-access error occurs.
DriverResultSet.java1331 行で定義されています。
01333 { 01334 throw new NotImplementedException("getObject(String, java.util.Map)"); 01335 }

Object org.objectweb.cjdbc.driver.DriverResultSet.getObject int  i,
java.util.Map  map
throws SQLException
 

JDBC 2.0 Returns the value of column as a Java object. Use the map to determine the class from which to construct data of SQL structured and distinct types.

引数:
i the first column is 1, the second is 2, ...
map the mapping from SQL type names to Java classes
戻り値:
an object representing the SQL value
例外:
SQLException if a database-access error occurs.
DriverResultSet.java1251 行で定義されています。
01252 { 01253 throw new NotImplementedException("getObject(int, java.util.Map)"); 01254 }

Object org.objectweb.cjdbc.driver.DriverResultSet.getObject String  columnName  )  throws SQLException
 

Get the value of a column in the current row as a Java object

This method will return the value of the given column as a Java object. The type of the Java object will be the default Java Object type corresponding to the column's SQL type, following the mapping specified in the JDBC specification.

This method may also be used to read database specific abstract data types.

引数:
columnName is the SQL name of the column
戻り値:
a Object holding the column value
例外:
SQLException if a database access error occurs
DriverResultSet.java1141 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DriverResultSet.findColumn(), と org.objectweb.cjdbc.driver.DriverResultSet.getObject().

01142 { 01143 return getObject(findColumn(columnName)); 01144 }

Object org.objectweb.cjdbc.driver.DriverResultSet.getObject int  columnIndex  )  throws SQLException
 

Get the value of a column in the current row as a Java object

This method will return the value of the given column as a Java object. The type of the Java object will be the default Java Object type corresponding to the column's SQL type, following the mapping specified in the JDBC specification.

This method may also be used to read database specific abstract data types.

引数:
columnIndex the first column is 1, the second is 2...
戻り値:
a Object holding the column value
例外:
SQLException if a database access error occurs
DriverResultSet.java1110 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DriverResultSet.checkRowAndColPosAndSetNullFlag(), org.objectweb.cjdbc.driver.Statement.connection, org.objectweb.cjdbc.driver.DriverResultSet.currentRow, org.objectweb.cjdbc.driver.DriverResultSet.data, org.objectweb.cjdbc.driver.Connection.getBlobFilter(), org.objectweb.cjdbc.driver.DriverResultSet.owningStatement, と org.objectweb.cjdbc.driver.DriverResultSet.wasNullFlag.

参照元 org.objectweb.cjdbc.driver.DriverResultSet.getObject().

01111 { 01112 checkRowAndColPosAndSetNullFlag(columnIndex); 01113 01114 if (wasNullFlag) 01115 return null; 01116 else 01117 { 01118 Object o = ((Object[]) data.get(currentRow))[columnIndex - 1]; 01119 01120 if (o instanceof byte[]) 01121 return owningStatement.connection.getBlobFilter().decode((byte[]) o); 01122 else 01123 return o; 01124 } 01125 }

java.sql.Ref org.objectweb.cjdbc.driver.DriverResultSet.getRef String  colName  )  throws SQLException
 

JDBC 2.0 Get a REF(<structured-type>) column.

引数:
colName the column name
戻り値:
an object representing data of an SQL REF type
例外:
SQLException if a database-access error occurs.
DriverResultSet.java1344 行で定義されています。
01345 { 01346 throw new NotImplementedException("getRef(String)"); 01347 }

java.sql.Ref org.objectweb.cjdbc.driver.DriverResultSet.getRef int  i  )  throws SQLException
 

JDBC 2.0 Get a REF(<structured-type>) column.

引数:
i the first column is 1, the second is 2, ...
戻り値:
an object representing data of an SQL REF type
例外:
SQLException if a database-access error occurs.
DriverResultSet.java1263 行で定義されています。
01264 { 01265 throw new NotImplementedException("getRef"); 01266 }

int org.objectweb.cjdbc.driver.DriverResultSet.getRow  )  throws SQLException
 

JDBC 2.0

Determine the current row number. The first row is number 1, the second number 2, etc.

戻り値:
the current row number, else return 0 if there is no current row
例外:
SQLException if a database-access error occurs.
DriverResultSet.java374 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DriverResultSet.checkIfClosed(), org.objectweb.cjdbc.driver.DriverResultSet.currentRow, と org.objectweb.cjdbc.driver.DriverResultSet.nbOfRows.

00375 { 00376 checkIfClosed(); 00377 if (currentRow < 0 || currentRow >= nbOfRows || nbOfRows == 0) 00378 return 0; 00379 else 00380 return currentRow + 1; 00381 }

short org.objectweb.cjdbc.driver.DriverResultSet.getShort String  columnName  )  throws SQLException
 

参照:
java.sql.ResultSet#getShort(java.lang.String)
DriverResultSet.java940 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DriverResultSet.findColumn(), と org.objectweb.cjdbc.driver.DriverResultSet.getShort().

00941 { 00942 return getShort(findColumn(columnName)); 00943 }

short org.objectweb.cjdbc.driver.DriverResultSet.getShort int  columnIndex  )  throws SQLException
 

Get the value of a column in the current row as a Java short.

引数:
columnIndex the first column is 1, the second is 2,...
戻り値:
the column value; 0 if SQL NULL
例外:
SQLException if a database access error occurs
DriverResultSet.java617 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DriverResultSet.checkRowAndColPosAndSetNullFlag(), org.objectweb.cjdbc.driver.DriverResultSet.currentRow, org.objectweb.cjdbc.driver.DriverResultSet.data, と org.objectweb.cjdbc.driver.DriverResultSet.wasNullFlag.

参照元 org.objectweb.cjdbc.driver.DriverResultSet.getShort().

00618 { 00619 checkRowAndColPosAndSetNullFlag(columnIndex); 00620 00621 if (wasNullFlag) 00622 return 0; 00623 else 00624 return ((Number) (((Object[]) data.get(currentRow))[columnIndex - 1])) 00625 .shortValue(); 00626 }

java.sql.Statement org.objectweb.cjdbc.driver.DriverResultSet.getStatement  )  throws SQLException
 

JDBC 2.0 Return the Statement that produced the ResultSet.

戻り値:
the Statement that produced the ResultSet, or null if the result was produced some other way.
例外:
SQLException if a database-access error occurs
DriverResultSet.java2297 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DriverResultSet.owningStatement.

02298 { 02299 return owningStatement; 02300 }

String org.objectweb.cjdbc.driver.DriverResultSet.getString String  columnName  )  throws SQLException
 

The following routines simply convert the columnName into a columnIndex and then call the appropriate routine above.

引数:
columnName is the SQL name of the column
戻り値:
the column value
例外:
SQLException if a database access error occurs
DriverResultSet.java916 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DriverResultSet.findColumn().

00917 { 00918 return this.getString(findColumn(columnName)); 00919 }

String org.objectweb.cjdbc.driver.DriverResultSet.getString int  columnIndex  )  throws SQLException
 

Get the value of a column in the current row as a Java String

引数:
columnIndex the first column is 1, the second is 2...
戻り値:
the column value, null for SQL NULL
例外:
SQLException if a database access error occurs
DriverResultSet.java568 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DriverResultSet.checkRowAndColPosAndSetNullFlag(), org.objectweb.cjdbc.driver.DriverResultSet.currentRow, org.objectweb.cjdbc.driver.DriverResultSet.data, と org.objectweb.cjdbc.driver.DriverResultSet.wasNullFlag.

00569 { 00570 checkRowAndColPosAndSetNullFlag(columnIndex); 00571 00572 if (wasNullFlag) 00573 return null; 00574 00575 return (((Object[]) data.get(currentRow))[columnIndex - 1]).toString(); 00576 }

java.sql.Time org.objectweb.cjdbc.driver.DriverResultSet.getTime String  columnName,
Calendar  cal
throws SQLException
 

Get the value of a column in the current row as a java.sql.Time object. Use the calendar to construct an appropriate millisecond value for the Time, if the underlying database doesn't store timezone information.

引数:
columnName is the SQL name of the column
cal the calendar to use in constructing the time
戻り値:
the column value; if the value is SQL NULL, the result is null
例外:
SQLException if a database-access error occurs.
DriverResultSet.java1443 行で定義されています。
01445 { 01446 throw new NotImplementedException("getTime(String, Calendar)"); 01447 }

java.sql.Time org.objectweb.cjdbc.driver.DriverResultSet.getTime int  columnIndex,
Calendar  cal
throws SQLException
 

Get the value of a column in the current row as a java.sql.Time object. Use the calendar to construct an appropriate millisecond value for the Time, if the underlying database doesn't store timezone information.

引数:
columnIndex the first column is 1, the second is 2, ...
cal the calendar to use in constructing the time
戻り値:
the column value; if the value is SQL NULL, the result is null
例外:
SQLException if a database-access error occurs.
DriverResultSet.java1427 行で定義されています。
01429 { 01430 throw new NotImplementedException("getTime(int, Calendar)"); 01431 }

Time org.objectweb.cjdbc.driver.DriverResultSet.getTime String  columnName  )  throws SQLException
 

参照:
java.sql.ResultSet#getTime(java.lang.String)
DriverResultSet.java1006 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DriverResultSet.findColumn(), と org.objectweb.cjdbc.driver.DriverResultSet.getTime().

01007 { 01008 return getTime(findColumn(columnName)); 01009 }

Time org.objectweb.cjdbc.driver.DriverResultSet.getTime int  columnIndex  )  throws SQLException
 

Get the value of a column in the current row as a java.sql.Time object

引数:
columnIndex the first column is 1, the second is 2...
戻り値:
the column value; null if SQL NULL
例外:
SQLException if a database access error occurs
DriverResultSet.java790 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DriverResultSet.checkRowAndColPosAndSetNullFlag(), org.objectweb.cjdbc.driver.DriverResultSet.currentRow, org.objectweb.cjdbc.driver.DriverResultSet.data, と org.objectweb.cjdbc.driver.DriverResultSet.wasNullFlag.

参照元 org.objectweb.cjdbc.driver.DriverResultSet.getTime().

00791 { 00792 checkRowAndColPosAndSetNullFlag(columnIndex); 00793 00794 if (wasNullFlag) 00795 return null; 00796 else 00797 { 00798 java.util.Date time = (java.util.Date) (((Object[]) data.get(currentRow))[columnIndex - 1]); 00799 00800 // the driver returns the format of the column, but we are asking for the 00801 // time values only. 00802 String timeString = time.toString(); 00803 if (timeString.length() == 8) 00804 { 00805 // ok we have got a timefield of the format HH:mm:ss, exactly the way we 00806 // need it, no further processing is required 00807 return new Time(time.getTime()); 00808 } 00809 00810 // we have got the date fields too and have to clear the year, month and 00811 // date field 00812 Calendar cal = Calendar.getInstance(); 00813 cal.setTime(time); 00814 cal.clear(Calendar.YEAR); 00815 cal.clear(Calendar.MONTH); 00816 cal.clear(Calendar.DATE); 00817 cal.clear(Calendar.MILLISECOND); 00818 return new Time(cal.getTimeInMillis()); 00819 } 00820 }

java.sql.Timestamp org.objectweb.cjdbc.driver.DriverResultSet.getTimestamp String  columnName,
Calendar  cal
throws SQLException
 

Get the value of a column in the current row as a java.sql.Timestamp object. Use the calendar to construct an appropriate millisecond value for the Timestamp, if the underlying database doesn't store timezone information.

引数:
columnName is the SQL name of the column
cal the calendar to use in constructing the timestamp
戻り値:
the column value; if the value is SQL NULL, the result is null
例外:
SQLException if a database-access error occurs.
DriverResultSet.java1477 行で定義されています。
01479 { 01480 throw new NotImplementedException("getTimestamp(String, Calendar)"); 01481 }

java.sql.Timestamp org.objectweb.cjdbc.driver.DriverResultSet.getTimestamp int  columnIndex,
Calendar  cal
throws SQLException
 

Get the value of a column in the current row as a java.sql.Timestamp object. Use the calendar to construct an appropriate millisecond value for the Timestamp, if the underlying database doesn't store timezone information.

引数:
columnIndex the first column is 1, the second is 2, ...
cal the calendar to use in constructing the timestamp
戻り値:
the column value; if the value is SQL NULL, the result is null
例外:
SQLException if a database-access error occurs.
DriverResultSet.java1460 行で定義されています。
01462 { 01463 throw new NotImplementedException("getTimestamp(int, Calendar)"); 01464 }

Timestamp org.objectweb.cjdbc.driver.DriverResultSet.getTimestamp String  columnName  )  throws SQLException
 

参照:
java.sql.ResultSet#getTimestamp(java.lang.String)
DriverResultSet.java1014 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DriverResultSet.findColumn(), と org.objectweb.cjdbc.driver.DriverResultSet.getTimestamp().

01015 { 01016 return getTimestamp(findColumn(columnName)); 01017 }

Timestamp org.objectweb.cjdbc.driver.DriverResultSet.getTimestamp int  columnIndex  )  throws SQLException
 

Get the value of a column in the current row as a java.sql.Timestamp object

引数:
columnIndex the first column is 1, the second is 2...
戻り値:
the column value; null if SQL NULL
例外:
SQLException if a database access error occurs
DriverResultSet.java829 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DriverResultSet.checkRowAndColPosAndSetNullFlag(), org.objectweb.cjdbc.driver.DriverResultSet.currentRow, org.objectweb.cjdbc.driver.DriverResultSet.data, と org.objectweb.cjdbc.driver.DriverResultSet.wasNullFlag.

参照元 org.objectweb.cjdbc.driver.DriverResultSet.getTimestamp().

00830 { 00831 checkRowAndColPosAndSetNullFlag(columnIndex); 00832 00833 if (wasNullFlag) 00834 return null; 00835 else 00836 return new Timestamp( 00837 ((java.util.Date) (((Object[]) data.get(currentRow))[columnIndex - 1])) 00838 .getTime()); 00839 }

int org.objectweb.cjdbc.driver.DriverResultSet.getType  )  throws SQLException
 

JDBC 2.0 Return the type of this result set. The type is determined based on the statement that created the result set.

戻り値:
TYPE_FORWARD_ONLY, TYPE_SCROLL_INSENSITIVE, or TYPE_SCROLL_SENSITIVE
例外:
SQLException if a database-access error occurs
DriverResultSet.java2242 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DriverResultSet.resultSetType.

02243 { 02244 return resultSetType; 02245 }

InputStream org.objectweb.cjdbc.driver.DriverResultSet.getUnicodeStream String  columnName  )  throws SQLException
 

参照:
java.sql.ResultSet#getUnicodeStream(String)
非推奨:
DriverResultSet.java1031 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DriverResultSet.findColumn(), と org.objectweb.cjdbc.driver.DriverResultSet.getUnicodeStream().

01032 { 01033 return getUnicodeStream(findColumn(columnName)); 01034 }

InputStream org.objectweb.cjdbc.driver.DriverResultSet.getUnicodeStream int  columnIndex  )  throws SQLException
 

A column value can also be retrieved as a stream of Unicode characters. We implement this as a binary stream.

引数:
columnIndex the first column is 1, the second is 2...
戻り値:
a Java InputStream that delivers the database column value as a stream of two byte Unicode characters. If the value is SQL NULL, then the result is null
例外:
SQLException if a database access error occurs
非推奨:
参照:
getAsciiStream

getBinaryStream

DriverResultSet.java878 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DriverResultSet.checkRowAndColPosAndSetNullFlag(), と org.objectweb.cjdbc.driver.DriverResultSet.getBinaryStream().

参照元 org.objectweb.cjdbc.driver.DriverResultSet.getUnicodeStream().

00879 { 00880 checkRowAndColPosAndSetNullFlag(columnIndex); 00881 00882 return getBinaryStream(columnIndex); 00883 }

java.net.URL org.objectweb.cjdbc.driver.DriverResultSet.getURL String  columnName  )  throws SQLException
 

Retrieves the value of the designated column in the current row of this ResultSet object as a java.net.URL object in the Java programming language.

引数:
columnName the SQL name of the column
戻り値:
the column value as a java.net.URL object; if the value is SQL NULL, the value returned is null in the Java programming language
例外:
SQLException if a database access error occurs or if a URL is malformed
から:
JDK 1.4
DriverResultSet.java2569 行で定義されています。
02570 { 02571 throw new NotImplementedException("getURL"); 02572 }

java.net.URL org.objectweb.cjdbc.driver.DriverResultSet.getURL int  columnIndex  )  throws SQLException
 

Retrieves the value of the designated column in the current row of this ResultSet object as a java.net.URL object in the Java programming language.

引数:
columnIndex the index of the column 1 is the first, 2 is the second,...
戻り値:
the column value as a java.net.URL object; if the value is SQL NULL, the value returned is null in the Java programming language
例外:
SQLException if a database access error occurs, or if a URL is malformed
から:
JDK 1.4
DriverResultSet.java2551 行で定義されています。
02552 { 02553 throw new NotImplementedException("getURL"); 02554 }

java.sql.SQLWarning org.objectweb.cjdbc.driver.DriverResultSet.getWarnings  )  throws SQLException
 

The first warning reported by calls on this ResultSet is returned. Subsequent ResultSet warnings will be chained to this java.sql.SQLWarning.

The warning chain is automatically cleared each time a new row is read.

Note: This warning chain only covers warnings caused by ResultSet methods. Any warnings caused by statement methods (such as reading OUT parameters) will be chained on the Statement object.

戻り値:
the first java.sql.SQLWarning or null;
例外:
SQLException if a database access error occurs.
DriverResultSet.java1057 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DriverResultSet.warnings.

01058 { 01059 return warnings; 01060 }

void org.objectweb.cjdbc.driver.DriverResultSet.insertRow  )  throws SQLException
 

JDBC 2.0 Insert the contents of the insert row into the result set and the database. Must be on the insert row when this method is called.

例外:
SQLException if a database-access error occurs, if called when not on the insert row, or if all non-nullable columns in the insert row have not been given a value
DriverResultSet.java2133 行で定義されています。
02134 { 02135 throw new NotImplementedException("insertRow"); 02136 }

boolean org.objectweb.cjdbc.driver.DriverResultSet.isAfterLast  )  throws SQLException
 

JDBC 2.0

Determine if the cursor is after the last row in the result set.

戻り値:
true if after the last row, false otherwise. Returns false when the result set contains no rows.
例外:
SQLException if a database-access error occurs.
DriverResultSet.java246 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DriverResultSet.checkIfClosed(), org.objectweb.cjdbc.driver.DriverResultSet.currentRow, と org.objectweb.cjdbc.driver.DriverResultSet.nbOfRows.

00247 { 00248 checkIfClosed(); 00249 if (nbOfRows == 0) 00250 return false; 00251 else 00252 return (currentRow >= nbOfRows); 00253 }

boolean org.objectweb.cjdbc.driver.DriverResultSet.isBeforeFirst  )  throws SQLException
 

JDBC 2.0.

Determine if the cursor is before the first row in the result set.

戻り値:
true if before the first row, false otherwise. Returns false when the result set contains no rows.
例外:
SQLException if a database-access error occurs.
DriverResultSet.java227 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DriverResultSet.checkIfClosed(), org.objectweb.cjdbc.driver.DriverResultSet.currentRow, と org.objectweb.cjdbc.driver.DriverResultSet.nbOfRows.

00228 { 00229 checkIfClosed(); 00230 if (nbOfRows == 0) 00231 return false; 00232 else 00233 return (currentRow == -1); 00234 }

boolean org.objectweb.cjdbc.driver.DriverResultSet.isFirst  )  throws SQLException
 

JDBC 2.0

Determine if the cursor is on the first row of the result set.

戻り値:
true if on the first row, false otherwise.
例外:
SQLException if a database-access error occurs.
DriverResultSet.java264 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DriverResultSet.checkIfClosed(), org.objectweb.cjdbc.driver.DriverResultSet.currentRow, と org.objectweb.cjdbc.driver.DriverResultSet.nbOfRows.

00265 { 00266 checkIfClosed(); 00267 if (nbOfRows == 0) 00268 return false; 00269 else 00270 return (currentRow == 0); 00271 }

boolean org.objectweb.cjdbc.driver.DriverResultSet.isLast  )  throws SQLException
 

JDBC 2.0

Determine if the cursor is on the last row of the result set. Note: Calling isLast() may be expensive since the JDBC driver might need to fetch ahead one row in order to determine whether the current row is the last row in the result set.

戻り値:
true if on the last row, false otherwise.
例外:
SQLException if a database-access error occurs.
DriverResultSet.java285 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DriverResultSet.checkIfClosed(), org.objectweb.cjdbc.driver.DriverResultSet.currentRow, と org.objectweb.cjdbc.driver.DriverResultSet.nbOfRows.

00286 { 00287 checkIfClosed(); 00288 if (nbOfRows == 0) 00289 return false; 00290 else 00291 return (currentRow == nbOfRows - 1); 00292 }

boolean org.objectweb.cjdbc.driver.DriverResultSet.last  )  throws SQLException
 

JDBC 2.0

Moves to the last row in the result set.

戻り値:
true if on a valid row, false if no rows in the result set.
例外:
SQLException if a database-access error occurs, or result set type is TYPE_FORWARD_ONLY.
DriverResultSet.java355 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DriverResultSet.checkIfClosed(), org.objectweb.cjdbc.driver.DriverResultSet.currentRow, と org.objectweb.cjdbc.driver.DriverResultSet.nbOfRows.

参照元 org.objectweb.cjdbc.driver.DriverResultSet.absolute().

00356 { 00357 checkIfClosed(); 00358 if (nbOfRows == 0) 00359 return false; 00360 00361 currentRow = nbOfRows - 1; 00362 return true; 00363 }

void org.objectweb.cjdbc.driver.DriverResultSet.moveToCurrentRow  )  throws SQLException
 

JDBC 2.0 Move the cursor to the remembered cursor position, usually the current row. Has no effect unless the cursor is on the insert row.

例外:
SQLException if a database-access error occurs, or the result set is not updatable
DriverResultSet.java2223 行で定義されています。
02224 { 02225 throw new NotImplementedException("moveToCurrentRow"); 02226 }

void org.objectweb.cjdbc.driver.DriverResultSet.moveToInsertRow  )  throws SQLException
 

JDBC 2.0 Move to the insert row. The current cursor position is remembered while the cursor is positioned on the insert row. The insert row is a special row associated with an updatable result set. It is essentially a buffer where a new row may be constructed by calling the updateXXX() methods prior to inserting the row into the result set. Only the updateXXX(), getXXX(), and insertRow() methods may be called when the cursor is on the insert row. All of the columns in a result set must be given a value each time this method is called before calling insertRow(). UpdateXXX()must be called before getXXX() on a column.

例外:
SQLException if a database-access error occurs, or the result set is not updatable
DriverResultSet.java2211 行で定義されています。
02212 { 02213 throw new NotImplementedException("moveToInsertRow"); 02214 }

boolean org.objectweb.cjdbc.driver.DriverResultSet.next  )  throws java.sql.SQLException
 

A ResultSet is initially positioned before its first row, the first call to next makes the first row the current row; the second call makes the second row the current row, etc.

If an input stream from the previous row is open, it is implicitly closed. The ResultSet's warning chain is cleared when a new row is read

戻り値:
true if the new current is valid; false if there are no more rows
例外:
java.sql.SQLException if a database access error occurs
DriverResultSet.java155 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DriverResultSet.checkIfClosed(), org.objectweb.cjdbc.driver.DriverResultSet.clearWarnings(), org.objectweb.cjdbc.driver.Statement.connection, org.objectweb.cjdbc.driver.DriverResultSet.currentRow, org.objectweb.cjdbc.driver.DriverResultSet.cursorName, org.objectweb.cjdbc.driver.DriverResultSet.data, org.objectweb.cjdbc.driver.Connection.fetchNextData(), org.objectweb.cjdbc.driver.DriverResultSet.fetchSize, org.objectweb.cjdbc.driver.DriverResultSet.hasMoreData, org.objectweb.cjdbc.driver.DriverResultSet.nbOfRows, と org.objectweb.cjdbc.driver.DriverResultSet.owningStatement.

00156 { 00157 checkIfClosed(); 00158 00159 if (nbOfRows == 0) 00160 return false; 00161 else 00162 { 00163 if (currentRow + 1 >= nbOfRows) 00164 { 00165 if (hasMoreData) 00166 { 00167 owningStatement.connection.fetchNextData(cursorName, fetchSize, this); 00168 currentRow = 0; 00169 if (data == null) 00170 { 00171 nbOfRows = 0; 00172 return false; 00173 } 00174 else 00175 { 00176 nbOfRows = data.size(); 00177 return true; 00178 } 00179 } 00180 // force scroll past end 00181 currentRow = nbOfRows; 00182 return false; 00183 } 00184 else 00185 { 00186 clearWarnings(); 00187 currentRow++; 00188 return true; 00189 } 00190 } 00191 }

boolean org.objectweb.cjdbc.driver.DriverResultSet.prev  )  throws SQLException
 

The prev method is not part of JDBC, but because of the architecture of this driver it is possible to move both forward and backward within the result set.

If an input stream from the previous row is open, it is implicitly closed. The ResultSet's warning chain is cleared when a new row is read

戻り値:
true if the new current is valid; false if there are no more rows
例外:
SQLException if a database access error occurs
DriverResultSet.java205 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DriverResultSet.checkIfClosed(), と org.objectweb.cjdbc.driver.DriverResultSet.currentRow.

参照元 org.objectweb.cjdbc.driver.DriverResultSet.previous().

00206 { 00207 checkIfClosed(); 00208 if (currentRow - 1 >= 0) 00209 { 00210 currentRow--; 00211 return true; 00212 } 00213 else 00214 return false; 00215 }

boolean org.objectweb.cjdbc.driver.DriverResultSet.previous  )  throws SQLException
 

JDBC 2.0

Moves to the previous row in the result set.

Note: previous() is not the same as relative(-1) since it makes sense to call previous() when there is no current row.

戻り値:
true if on a valid row, false if off the result set.
例外:
SQLException if a database-access error occurs, or result set type is TYPE_FORWAR_DONLY.
DriverResultSet.java488 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DriverResultSet.prev().

00489 { 00490 return prev(); 00491 }

void org.objectweb.cjdbc.driver.DriverResultSet.refreshRow  )  throws SQLException
 

JDBC 2.0 Refresh the value of the current row with its current value in the database. Cannot be called when on the insert row. The refreshRow() method provides a way for an application to explicitly tell the JDBC driver to refetch a row(s) from the database. An application may want to call refreshRow() when caching or prefetching is being done by the JDBC driver to fetch the latest value of a row from the database. The JDBC driver may actually refresh multiple rows at once if the fetch size is greater than one. All values are refetched subject to the transaction isolation level and cursor sensitivity. If refreshRow() is called after calling updateXXX(), but before calling updateRow() then the updates made to the row are lost. Calling refreshRow() frequently will likely slow performance.

例外:
SQLException if a database-access error occurs, or if called when on the insert row.
DriverResultSet.java2178 行で定義されています。
02179 { 02180 throw new NotImplementedException("refreshRow"); 02181 }

boolean org.objectweb.cjdbc.driver.DriverResultSet.relative int  rows  )  throws SQLException
 

JDBC 2.0

Moves a relative number of rows, either positive or negative. Attempting to move beyond the first/last row in the result set positions the cursor before/after the the first/last row. Calling relative(0) is valid, but does not change the cursor position.

Note: Calling relative(1) is different than calling next() since is makes sense to call next() when there is no current row, for example, when the cursor is positioned before the first row or after the last row of the result set.

引数:
rows the number of rows
戻り値:
true if on a row, false otherwise.
例外:
SQLException if a database-access error occurs, or there is no current row, or result set type is TYPE_FORWARD_ONLY.
DriverResultSet.java467 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DriverResultSet.absolute(), org.objectweb.cjdbc.driver.DriverResultSet.checkIfClosed(), org.objectweb.cjdbc.driver.DriverResultSet.currentRow, と org.objectweb.cjdbc.driver.DriverResultSet.nbOfRows.

00468 { 00469 checkIfClosed(); 00470 if (nbOfRows == 0) 00471 return false; 00472 00473 return absolute(currentRow + rows + 1); 00474 }

boolean org.objectweb.cjdbc.driver.DriverResultSet.rowDeleted  )  throws SQLException
 

JDBC 2.0 Determine if this row has been deleted. A deleted row may leave a visible "hole" in a result set. This method can be used to detect holes in a result set. The value returned depends on whether or not the result set can detect deletions.

戻り値:
true if deleted and deletes are detected
例外:
SQLException if a database-access error occurs
参照:
DatabaseMetaData.deletesAreDetected
DriverResultSet.java1524 行で定義されています。
01525 { 01526 throw new NotImplementedException("rowDeleted"); 01527 }

boolean org.objectweb.cjdbc.driver.DriverResultSet.rowInserted  )  throws SQLException
 

JDBC 2.0 Determine if the current row has been inserted. The value returned depends on whether or not the result set can detect visible inserts.

戻り値:
true if inserted and inserts are detected
例外:
SQLException if a database-access error occurs
参照:
DatabaseMetaData.insertsAreDetected
DriverResultSet.java1509 行で定義されています。
01510 { 01511 throw new NotImplementedException("rowInserted"); 01512 }

boolean org.objectweb.cjdbc.driver.DriverResultSet.rowUpdated  )  throws SQLException
 

JDBC 2.0 Determine if the current row has been updated. The value returned depends on whether or not the result set can detect updates.

戻り値:
true if the row has been visibly updated by the owner or another, and updates are detected
例外:
SQLException if a database-access error occurs
参照:
DatabaseMetaData.updatesAreDetected
DriverResultSet.java1496 行で定義されています。
01497 { 01498 throw new NotImplementedException("rowUpdated"); 01499 }

void org.objectweb.cjdbc.driver.DriverResultSet.setData ArrayList  newData  )  [protected]
 

Set the ResultSet data with the given ArrayList. This function is used by the ResultSet streaming feature.

Note that metadata (currentRow, nbOfRows, ...) are not updated.

引数:
newData new ResultSet data
DriverResultSet.java2334 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DriverResultSet.data.

02335 { 02336 data = newData; 02337 }

void org.objectweb.cjdbc.driver.DriverResultSet.setFetchDirection int  direction  )  throws SQLException
 

JDBC 2.0 Give a hint as to the direction in which the rows in this result set will be processed. The initial value is determined by the statement that produced the result set. The fetch direction may be changed at any time.

引数:
direction the fetch direction
例外:
SQLException if a database-access error occurs, or the result set type is TYPE_FORWARD_ONLY and direction is not FETCH_FORWARD. MM.MySQL actually ignores this, because it has the whole result set anyway, so the direction is immaterial.
DriverResultSet.java505 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DriverResultSet.fetchDirection.

00506 { 00507 if (direction != FETCH_FORWARD && direction != FETCH_REVERSE) 00508 throw new SQLException("Illegal value for fetch direction"); 00509 else 00510 fetchDirection = direction; 00511 }

void org.objectweb.cjdbc.driver.DriverResultSet.setFetchSize int  rows  )  throws SQLException
 

JDBC 2.0 Give the JDBC driver a hint as to the number of rows that should be fetched from the database when more rows are needed for this result set. If the fetch size specified is zero, then the JDBC driver ignores the value, and is free to make its own best guess as to what the fetch size should be. The default value is set by the statement that creates the result set. The fetch size may be changed at any time.

引数:
rows the number of rows to fetch
例外:
SQLException if a database-access error occurs, or the condition 0 <= rows <= this.getMaxRows() is not satisfied. Currently ignored by this driver.
DriverResultSet.java537 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DriverResultSet.fetchSize, と org.objectweb.cjdbc.driver.DriverResultSet.nbOfRows.

00538 { 00539 if (rows < 0 || rows > nbOfRows) 00540 throw new SQLException("Value must be between 0 and getMaxRows()"); 00541 fetchSize = rows; 00542 }

void org.objectweb.cjdbc.driver.DriverResultSet.setHasMoreData boolean  hasMore  )  [protected]
 

Set the hasMoreData boolean (is there more data to fetch from the controller). This function is used by the ResultSet streaming feature.

引数:
hasMore new value for hasMoreData
DriverResultSet.java2345 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DriverResultSet.hasMoreData.

02346 { 02347 hasMoreData = hasMore; 02348 }

void org.objectweb.cjdbc.driver.DriverResultSet.setResultSetConcurrency int  concurrencyFlag  )  [protected]
 

Sets the concurrency (JDBC2)

引数:
concurrencyFlag the concurrency to use
DriverResultSet.java2317 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DriverResultSet.resultSetConcurrency, org.objectweb.cjdbc.driver.DriverResultSet.UPDATEABLE_MESSAGE, と org.objectweb.cjdbc.driver.DriverResultSet.warnings.

02318 { 02319 resultSetConcurrency = concurrencyFlag; 02320 // Issue warning is asked for updateable result set, but result set is not 02321 // updatable 02322 if (concurrencyFlag == CONCUR_UPDATABLE) 02323 warnings = new java.sql.SQLWarning(UPDATEABLE_MESSAGE); 02324 }

void org.objectweb.cjdbc.driver.DriverResultSet.setResultSetType int  typeFlag  )  [protected]
 

Sets the result set type for (JDBC2)

引数:
typeFlag the type to set
DriverResultSet.java2307 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DriverResultSet.resultSetType.

02308 { 02309 resultSetType = typeFlag; 02310 }

void org.objectweb.cjdbc.driver.DriverResultSet.setStatement Statement  stmt  )  throws SQLException [protected]
 

Set the statement.

引数:
stmt The statement to set
例外:
SQLException if an error occurs
DriverResultSet.java2448 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DriverResultSet.fetchSize, と org.objectweb.cjdbc.driver.DriverResultSet.owningStatement.

02449 { 02450 owningStatement = stmt; 02451 fetchSize = stmt.getFetchSize(); 02452 }

void org.objectweb.cjdbc.driver.DriverResultSet.updateArray String  columnName,
java.sql.Array  x
throws SQLException
 

Updates the designated column with a java.sql.Array value. The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.

引数:
columnName the name of the column
x the new column value
例外:
SQLException if a database access error occurs
から:
JDK 1.4
DriverResultSet.java2708 行で定義されています。
02710 { 02711 throw new NotImplementedException("updateArray"); 02712 }

void org.objectweb.cjdbc.driver.DriverResultSet.updateArray int  columnIndex,
java.sql.Array  x
throws SQLException
 

Updates the designated column with a java.sql.Array value. The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.

引数:
columnIndex the first column is 1, the second is 2, ...
x the new column value
例外:
SQLException if a database access error occurs
から:
JDK 1.4
DriverResultSet.java2690 行で定義されています。
02692 { 02693 throw new NotImplementedException("updateArray"); 02694 }

void org.objectweb.cjdbc.driver.DriverResultSet.updateAsciiStream String  columnName,
java.io.InputStream  x,
int  length
throws SQLException
 

JDBC 2.0 Update a column with an ascii stream value. The updateXXX() methods are used to update column values in the current row, or the insert row. The updateXXX() methods do not update the underlying database, instead the updateRow() or insertRow() methods are called to update the database.

引数:
columnName the name of the column
x the new column value
length of the stream
例外:
SQLException if a database-access error occurs
DriverResultSet.java2051 行で定義されています。
02053 { 02054 throw new NotImplementedException("updateAsciiStream"); 02055 }

void org.objectweb.cjdbc.driver.DriverResultSet.updateAsciiStream int  columnIndex,
java.io.InputStream  x,
int  length
throws SQLException
 

JDBC 2.0 Update a column with an ascii stream value. The updateXXX() methods are used to update column values in the current row, or the insert row. The updateXXX() methods do not update the underlying database, instead the updateRow() or insertRow() methods are called to update the database.

引数:
columnIndex the first column is 1, the second is 2, ...
x the new column value
length the length of the stream
例外:
SQLException if a database-access error occurs
DriverResultSet.java1752 行で定義されています。
01754 { 01755 throw new NotImplementedException("updateAsciiStream"); 01756 }

void org.objectweb.cjdbc.driver.DriverResultSet.updateBigDecimal String  columnName,
BigDecimal  x
throws SQLException
 

JDBC 2.0 Update a column with a BigDecimal value. The updateXXX() methods are used to update column values in the current row, or the insert row. The updateXXX() methods do not update the underlying database, instead the updateRow() or insertRow() methods are called to update the database.

引数:
columnName the name of the column
x the new column value
例外:
SQLException if a database-access error occurs
DriverResultSet.java1956 行で定義されています。
01958 { 01959 throw new NotImplementedException("updateBigDecimal"); 01960 }

void org.objectweb.cjdbc.driver.DriverResultSet.updateBigDecimal int  columnIndex,
BigDecimal  x
throws SQLException
 

JDBC 2.0 Update a column with a BigDecimal value. The updateXXX() methods are used to update column values in the current row, or the insert row. The updateXXX() methods do not update the underlying database, instead the updateRow() or insertRow() methods are called to update the database.

引数:
columnIndex the first column is 1, the second is 2, ...
x the new column value
例外:
SQLException if a database-access error occurs
DriverResultSet.java1659 行で定義されています。
01661 { 01662 throw new NotImplementedException("updateBigDecimal"); 01663 }

void org.objectweb.cjdbc.driver.DriverResultSet.updateBinaryStream String  columnName,
java.io.InputStream  x,
int  length
throws SQLException
 

JDBC 2.0 Update a column with a binary stream value. The updateXXX() methods are used to update column values in the current row, or the insert row. The updateXXX() methods do not update the underlying database, instead the updateRow() or insertRow() methods are called to update the database.

引数:
columnName the name of the column
x the new column value
length of the stream
例外:
SQLException if a database-access error occurs
DriverResultSet.java2068 行で定義されています。
02070 { 02071 throw new NotImplementedException("updateBinaryStream"); 02072 }

void org.objectweb.cjdbc.driver.DriverResultSet.updateBinaryStream int  columnIndex,
java.io.InputStream  x,
int  length
throws SQLException
 

JDBC 2.0 Update a column with a binary stream value. The updateXXX() methods are used to update column values in the current row, or the insert row. The updateXXX() methods do not update the underlying database, instead the updateRow() or insertRow() methods are called to update the database.

引数:
columnIndex the first column is 1, the second is 2, ...
x the new column value
length the length of the stream
例外:
SQLException if a database-access error occurs
DriverResultSet.java1769 行で定義されています。
01771 { 01772 throw new NotImplementedException("updateBinaryStream"); 01773 }

void org.objectweb.cjdbc.driver.DriverResultSet.updateBlob String  columnName,
java.sql.Blob  x
throws SQLException
 

Updates the designated column with a java.sql.Blob value. The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.

引数:
columnName the name of the column
x the new column value
例外:
SQLException if a database access error occurs
から:
JDK 1.4
DriverResultSet.java2637 行で定義されています。
02639 { 02640 throw new NotImplementedException("updateBlob"); 02641 }

void org.objectweb.cjdbc.driver.DriverResultSet.updateBlob int  columnIndex,
java.sql.Blob  x
throws SQLException
 

Updates the designated column with a java.sql.Blob value. The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.

引数:
columnIndex the first column is 1, the second is 2, ...
x the new column value
例外:
SQLException if a database access error occurs
から:
JDK 1.4
DriverResultSet.java2620 行で定義されています。
02621 { 02622 throw new NotImplementedException("updateBlob"); 02623 }

void org.objectweb.cjdbc.driver.DriverResultSet.updateBoolean String  columnName,
boolean  x
throws SQLException
 

JDBC 2.0 Update a column with a boolean value. The updateXXX() methods are used to update column values in the current row, or the insert row. The updateXXX() methods do not update the underlying database, instead the updateRow() or insertRow() methods are called to update the database.

引数:
columnName the name of the column
x the new column value
例外:
SQLException if a database-access error occurs
DriverResultSet.java1851 行で定義されています。
01852 { 01853 throw new NotImplementedException("updateBoolean"); 01854 }

void org.objectweb.cjdbc.driver.DriverResultSet.updateBoolean int  columnIndex,
boolean  x
throws SQLException
 

JDBC 2.0 Update a column with a boolean value. The updateXXX() methods are used to update column values in the current row, or the insert row. The updateXXX() methods do not update the underlying database, instead the updateRow() or insertRow() methods are called to update the database.

引数:
columnIndex the first column is 1, the second is 2, ...
x the new column value
例外:
SQLException if a database-access error occurs
DriverResultSet.java1554 行で定義されています。
01555 { 01556 throw new NotImplementedException("updateBoolean"); 01557 }

void org.objectweb.cjdbc.driver.DriverResultSet.updateByte String  columnName,
byte  x
throws SQLException
 

JDBC 2.0 Update a column with a byte value. The updateXXX() methods are used to update column values in the current row, or the insert row. The updateXXX() methods do not update the underlying database, instead the updateRow() or insertRow() methods are called to update the database.

引数:
columnName the name of the column
x the new column value
例外:
SQLException if a database-access error occurs
DriverResultSet.java1866 行で定義されています。
01867 { 01868 throw new NotImplementedException("updateByte"); 01869 }

void org.objectweb.cjdbc.driver.DriverResultSet.updateByte int  columnIndex,
byte  x
throws SQLException
 

JDBC 2.0 Update a column with a byte value. The updateXXX() methods are used to update column values in the current row, or the insert row. The updateXXX() methods do not update the underlying database, instead the updateRow() or insertRow() methods are called to update the database.

引数:
columnIndex the first column is 1, the second is 2, ...
x the new column value
例外:
SQLException if a database-access error occurs
DriverResultSet.java1569 行で定義されています。
01570 { 01571 throw new NotImplementedException("updateByte"); 01572 }

void org.objectweb.cjdbc.driver.DriverResultSet.updateBytes String  columnName,
byte  x[]
throws SQLException
 

JDBC 2.0 Update a column with a byte array value. The updateXXX() methods are used to update column values in the current row, or the insert row. The updateXXX() methods do not update the underlying database, instead the updateRow() or insertRow() methods are called to update the database.

引数:
columnName the name of the column
x the new column value
例外:
SQLException if a database-access error occurs
DriverResultSet.java1987 行で定義されています。
01988 { 01989 throw new NotImplementedException("updateBytes"); 01990 }

void org.objectweb.cjdbc.driver.DriverResultSet.updateBytes int  columnIndex,
byte  x[]
throws SQLException
 

JDBC 2.0 Update a column with a byte array value. The updateXXX() methods are used to update column values in the current row, or the insert row. The updateXXX() methods do not update the underlying database, instead the updateRow() or insertRow() methods are called to update the database.

引数:
columnIndex the first column is 1, the second is 2, ...
x the new column value
例外:
SQLException if a database-access error occurs
DriverResultSet.java1690 行で定義されています。
01691 { 01692 throw new NotImplementedException("updateBytes"); 01693 }

void org.objectweb.cjdbc.driver.DriverResultSet.updateCharacterStream String  columnName,
java.io.Reader  reader,
int  length
throws SQLException
 

JDBC 2.0 Update a column with a character stream value. The updateXXX() methods are used to update column values in the current row, or the insert row. The updateXXX() methods do not update the underlying database, instead the updateRow() or insertRow() methods are called to update the database.

引数:
columnName the name of the column
reader the stream
length of the stream
例外:
SQLException if a database-access error occurs
DriverResultSet.java2085 行で定義されています。
02087 { 02088 throw new NotImplementedException("updateCharacterStream"); 02089 }

void org.objectweb.cjdbc.driver.DriverResultSet.updateCharacterStream int  columnIndex,
java.io.Reader  x,
int  length
throws SQLException
 

JDBC 2.0 Update a column with a character stream value. The updateXXX() methods are used to update column values in the current row, or the insert row. The updateXXX() methods do not update the underlying database, instead the updateRow() or insertRow() methods are called to update the database.

引数:
columnIndex the first column is 1, the second is 2, ...
x the new column value
length the length of the stream
例外:
SQLException if a database-access error occurs
DriverResultSet.java1786 行で定義されています。
01788 { 01789 throw new NotImplementedException("updateCharacterStream"); 01790 }

void org.objectweb.cjdbc.driver.DriverResultSet.updateClob String  columnName,
java.sql.Clob  x
throws SQLException
 

Updates the designated column with a java.sql.Clob value. The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.

引数:
columnName the name of the column
x the new column value
例外:
SQLException if a database access error occurs
から:
JDK 1.4
DriverResultSet.java2672 行で定義されています。
02674 { 02675 throw new NotImplementedException("updateClob"); 02676 }

void org.objectweb.cjdbc.driver.DriverResultSet.updateClob int  columnIndex,
java.sql.Clob  x
throws SQLException
 

Updates the designated column with a java.sql.Clob value. The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.

引数:
columnIndex the first column is 1, the second is 2, ...
x the new column value
例外:
SQLException if a database access error occurs
から:
JDK 1.4
DriverResultSet.java2655 行で定義されています。
02656 { 02657 throw new NotImplementedException("updateClob"); 02658 }

void org.objectweb.cjdbc.driver.DriverResultSet.updateDate String  columnName,
java.sql.Date  x
throws SQLException
 

JDBC 2.0 Update a column with a Date value. The updateXXX() methods are used to update column values in the current row, or the insert row. The updateXXX() methods do not update the underlying database, instead the updateRow() or insertRow() methods are called to update the database.

引数:
columnName the name of the column
x the new column value
例外:
SQLException if a database-access error occurs
DriverResultSet.java2002 行で定義されています。
02004 { 02005 throw new NotImplementedException("updateDate"); 02006 }

void org.objectweb.cjdbc.driver.DriverResultSet.updateDate int  columnIndex,
java.sql.Date  x
throws SQLException
 

JDBC 2.0 Update a column with a Date value. The updateXXX() methods are used to update column values in the current row, or the insert row. The updateXXX() methods do not update the underlying database, instead the updateRow() or insertRow() methods are called to update the database.

引数:
columnIndex the first column is 1, the second is 2, ...
x the new column value
例外:
SQLException if a database-access error occurs
DriverResultSet.java1705 行で定義されています。
01706 { 01707 throw new NotImplementedException("updateDate"); 01708 }

void org.objectweb.cjdbc.driver.DriverResultSet.updateDouble String  columnName,
double  x
throws SQLException
 

JDBC 2.0 Update a column with a double value. The updateXXX() methods are used to update column values in the current row, or the insert row. The updateXXX() methods do not update the underlying database, instead the updateRow() or insertRow() methods are called to update the database.

引数:
columnName the name of the column
x the new column value
例外:
SQLException if a database-access error occurs
DriverResultSet.java1941 行で定義されています。
01942 { 01943 throw new NotImplementedException("updateDouble"); 01944 }

void org.objectweb.cjdbc.driver.DriverResultSet.updateDouble int  columnIndex,
double  x
throws SQLException
 

JDBC 2.0 Update a column with a Double value. The updateXXX() methods are used to update column values in the current row, or the insert row. The updateXXX() methods do not update the underlying database, instead the updateRow() or insertRow() methods are called to update the database.

引数:
columnIndex the first column is 1, the second is 2, ...
x the new column value
例外:
SQLException if a database-access error occurs
DriverResultSet.java1644 行で定義されています。
01645 { 01646 throw new NotImplementedException("updateDouble"); 01647 }

void org.objectweb.cjdbc.driver.DriverResultSet.updateFloat String  columnName,
float  x
throws SQLException
 

JDBC 2.0 Update a column with a float value. The updateXXX() methods are used to update column values in the current row, or the insert row. The updateXXX() methods do not update the underlying database, instead the updateRow() or insertRow() methods are called to update the database.

引数:
columnName the name of the column
x the new column value
例外:
SQLException if a database-access error occurs
DriverResultSet.java1926 行で定義されています。
01927 { 01928 throw new NotImplementedException("updateFloat"); 01929 }

void org.objectweb.cjdbc.driver.DriverResultSet.updateFloat int  columnIndex,
float  x
throws SQLException
 

JDBC 2.0 Update a column with a float value. The updateXXX() methods are used to update column values in the current row, or the insert row. The updateXXX() methods do not update the underlying database, instead the updateRow() or insertRow() methods are called to update the database.

引数:
columnIndex the first column is 1, the second is 2, ...
x the new column value
例外:
SQLException if a database-access error occurs
DriverResultSet.java1629 行で定義されています。
01630 { 01631 throw new NotImplementedException("updateFloat"); 01632 }

void org.objectweb.cjdbc.driver.DriverResultSet.updateInt String  columnName,
int  x
throws SQLException
 

JDBC 2.0 Update a column with an integer value. The updateXXX() methods are used to update column values in the current row, or the insert row. The updateXXX() methods do not update the underlying database, instead the updateRow() or insertRow() methods are called to update the database.

引数:
columnName the name of the column
x the new column value
例外:
SQLException if a database-access error occurs
DriverResultSet.java1896 行で定義されています。
01897 { 01898 throw new NotImplementedException("updateInt"); 01899 }

void org.objectweb.cjdbc.driver.DriverResultSet.updateInt int  columnIndex,
int  x
throws SQLException
 

JDBC 2.0 Update a column with an integer value. The updateXXX() methods are used to update column values in the current row, or the insert row. The updateXXX() methods do not update the underlying database, instead the updateRow() or insertRow() methods are called to update the database.

引数:
columnIndex the first column is 1, the second is 2, ...
x the new column value
例外:
SQLException if a database-access error occurs
DriverResultSet.java1599 行で定義されています。
01600 { 01601 throw new NotImplementedException("updateInt"); 01602 }

void org.objectweb.cjdbc.driver.DriverResultSet.updateLong String  columnName,
long  x
throws SQLException
 

JDBC 2.0 Update a column with a long value. The updateXXX() methods are used to update column values in the current row, or the insert row. The updateXXX() methods do not update the underlying database, instead the updateRow() or insertRow() methods are called to update the database.

引数:
columnName the name of the column
x the new column value
例外:
SQLException if a database-access error occurs
DriverResultSet.java1911 行で定義されています。
01912 { 01913 throw new NotImplementedException("updateLong"); 01914 }

void org.objectweb.cjdbc.driver.DriverResultSet.updateLong int  columnIndex,
long  x
throws SQLException
 

JDBC 2.0 Update a column with a long value. The updateXXX() methods are used to update column values in the current row, or the insert row. The updateXXX() methods do not update the underlying database, instead the updateRow() or insertRow() methods are called to update the database.

引数:
columnIndex the first column is 1, the second is 2, ...
x the new column value
例外:
SQLException if a database-access error occurs
DriverResultSet.java1614 行で定義されています。
01615 { 01616 throw new NotImplementedException("updateLong"); 01617 }

void org.objectweb.cjdbc.driver.DriverResultSet.updateNull String  columnName  )  throws SQLException
 

JDBC 2.0 Update a column with a null value. The updateXXX() methods are used to update column values in the current row, or the insert row. The updateXXX() methods do not update the underlying database, instead the updateRow() or insertRow() methods are called to update the database.

引数:
columnName the name of the column
例外:
SQLException if a database-access error occurs
DriverResultSet.java1836 行で定義されています。
01837 { 01838 throw new NotImplementedException("updateNull"); 01839 }

void org.objectweb.cjdbc.driver.DriverResultSet.updateNull int  columnIndex  )  throws SQLException
 

JDBC 2.0 Give a nullable column a null value. The updateXXX() methods are used to update column values in the current row, or the insert row. The updateXXX() methods do not update the underlying database, instead the updateRow() or insertRow() methods are called to update the database.

引数:
columnIndex the first column is 1, the second is 2, ...
例外:
SQLException if a database-access error occurs
DriverResultSet.java1538 行で定義されています。
01539 { 01540 throw new NotImplementedException("updateNull"); 01541 }

void org.objectweb.cjdbc.driver.DriverResultSet.updateObject String  columnName,
Object  x
throws SQLException
 

JDBC 2.0 Update a column with an Object value. The updateXXX() methods are used to update column values in the current row, or the insert row. The updateXXX() methods do not update the underlying database, instead the updateRow() or insertRow() methods are called to update the database.

引数:
columnName the name of the column
x the new column value
例外:
SQLException if a database-access error occurs
DriverResultSet.java2120 行で定義されています。
02121 { 02122 throw new NotImplementedException("updateObject"); 02123 }

void org.objectweb.cjdbc.driver.DriverResultSet.updateObject String  columnName,
Object  x,
int  scale
throws SQLException
 

JDBC 2.0 Update a column with an Object value. The updateXXX() methods are used to update column values in the current row, or the insert row. The updateXXX() methods do not update the underlying database, instead the updateRow() or insertRow() methods are called to update the database.

引数:
columnName the name of the column
x the new column value
scale For java.sql.Types.DECIMAL or java.sql.Types.NUMERIC types this is the number of digits after the decimal. For all other types this value will be ignored.
例外:
SQLException if a database-access error occurs
DriverResultSet.java2104 行で定義されています。
02106 { 02107 throw new NotImplementedException("updateObject"); 02108 }

void org.objectweb.cjdbc.driver.DriverResultSet.updateObject int  columnIndex,
Object  x
throws SQLException
 

JDBC 2.0 Update a column with an Object value. The updateXXX() methods are used to update column values in the current row, or the insert row. The updateXXX() methods do not update the underlying database, instead the updateRow() or insertRow() methods are called to update the database.

引数:
columnIndex the first column is 1, the second is 2, ...
x the new column value
例外:
SQLException if a database-access error occurs
DriverResultSet.java1821 行で定義されています。
01822 { 01823 throw new NotImplementedException("updateObject"); 01824 }

void org.objectweb.cjdbc.driver.DriverResultSet.updateObject int  columnIndex,
Object  x,
int  scale
throws SQLException
 

JDBC 2.0 Update a column with an Object value. The updateXXX() methods are used to update column values in the current row, or the insert row. The updateXXX() methods do not update the underlying database, instead the updateRow() or insertRow() methods are called to update the database.

引数:
columnIndex the first column is 1, the second is 2, ...
x the new column value
scale For java.sql.Types.DECIMAL or java.sql.Types.NUMERIC types this is the number of digits after the decimal. For all other types this value will be ignored.
例外:
SQLException if a database-access error occurs
DriverResultSet.java1805 行で定義されています。
01807 { 01808 throw new NotImplementedException("updateObject"); 01809 }

void org.objectweb.cjdbc.driver.DriverResultSet.updateRef String  columnName,
java.sql.Ref  x
throws SQLException
 

Updates the designated column with a java.sql.Ref value. The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.

引数:
columnName the name of the column
x the new column value
例外:
SQLException if a database access error occurs
から:
JDK 1.4
DriverResultSet.java2603 行で定義されています。
02604 { 02605 throw new NotImplementedException("updateRef"); 02606 }

void org.objectweb.cjdbc.driver.DriverResultSet.updateRef int  columnIndex,
java.sql.Ref  x
throws SQLException
 

Updates the designated column with a java.sql.Ref value. The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.

引数:
columnIndex the first column is 1, the second is 2, ...
x the new column value
例外:
SQLException if a database access error occurs
から:
JDK 1.4
DriverResultSet.java2586 行で定義されています。
02587 { 02588 throw new NotImplementedException("updateRef"); 02589 }

void org.objectweb.cjdbc.driver.DriverResultSet.updateRow  )  throws SQLException
 

JDBC 2.0 Update the underlying database with the new contents of the current row. Cannot be called when on the insert row.

例外:
SQLException if a database-access error occurs, or if called when on the insert row
DriverResultSet.java2145 行で定義されています。
02146 { 02147 throw new NotImplementedException("updateRow"); 02148 }

void org.objectweb.cjdbc.driver.DriverResultSet.updateShort String  columnName,
short  x
throws SQLException
 

JDBC 2.0 Update a column with a short value. The updateXXX() methods are used to update column values in the current row, or the insert row. The updateXXX() methods do not update the underlying database, instead the updateRow() or insertRow() methods are called to update the database.

引数:
columnName the name of the column
x the new column value
例外:
SQLException if a database-access error occurs
DriverResultSet.java1881 行で定義されています。
01882 { 01883 throw new NotImplementedException("updateShort"); 01884 }

void org.objectweb.cjdbc.driver.DriverResultSet.updateShort int  columnIndex,
short  x
throws SQLException
 

JDBC 2.0 Update a column with a short value. The updateXXX() methods are used to update column values in the current row, or the insert row. The updateXXX() methods do not update the underlying database, instead the updateRow() or insertRow() methods are called to update the database.

引数:
columnIndex the first column is 1, the second is 2, ...
x the new column value
例外:
SQLException if a database-access error occurs
DriverResultSet.java1584 行で定義されています。
01585 { 01586 throw new NotImplementedException("updateShort"); 01587 }

void org.objectweb.cjdbc.driver.DriverResultSet.updateString String  columnName,
String  x
throws SQLException
 

JDBC 2.0 Update a column with a String value. The updateXXX() methods are used to update column values in the current row, or the insert row. The updateXXX() methods do not update the underlying database, instead the updateRow() or insertRow() methods are called to update the database.

引数:
columnName the name of the column
x the new column value
例外:
SQLException if a database-access error occurs
DriverResultSet.java1972 行で定義されています。
01973 { 01974 throw new NotImplementedException("updateString"); 01975 }

void org.objectweb.cjdbc.driver.DriverResultSet.updateString int  columnIndex,
String  x
throws SQLException
 

JDBC 2.0 Update a column with a String value. The updateXXX() methods are used to update column values in the current row, or the insert row. The updateXXX() methods do not update the underlying database, instead the updateRow() or insertRow() methods are called to update the database.

引数:
columnIndex the first column is 1, the second is 2, ...
x the new column value
例外:
SQLException if a database-access error occurs
DriverResultSet.java1675 行で定義されています。
01676 { 01677 throw new NotImplementedException("updateString"); 01678 }

void org.objectweb.cjdbc.driver.DriverResultSet.updateTime String  columnName,
java.sql.Time  x
throws SQLException
 

JDBC 2.0 Update a column with a Time value. The updateXXX() methods are used to update column values in the current row, or the insert row. The updateXXX() methods do not update the underlying database, instead the updateRow() or insertRow() methods are called to update the database.

引数:
columnName the name of the column
x the new column value
例外:
SQLException if a database-access error occurs
DriverResultSet.java2018 行で定義されています。
02020 { 02021 throw new NotImplementedException("updateTime"); 02022 }

void org.objectweb.cjdbc.driver.DriverResultSet.updateTime int  columnIndex,
java.sql.Time  x
throws SQLException
 

JDBC 2.0 Update a column with a Time value. The updateXXX() methods are used to update column values in the current row, or the insert row. The updateXXX() methods do not update the underlying database, instead the updateRow() or insertRow() methods are called to update the database.

引数:
columnIndex the first column is 1, the second is 2, ...
x the new column value
例外:
SQLException if a database-access error occurs
DriverResultSet.java1720 行で定義されています。
01721 { 01722 throw new NotImplementedException("updateTime"); 01723 }

void org.objectweb.cjdbc.driver.DriverResultSet.updateTimestamp String  columnName,
java.sql.Timestamp  x
throws SQLException
 

JDBC 2.0 Update a column with a Timestamp value. The updateXXX() methods are used to update column values in the current row, or the insert row. The updateXXX() methods do not update the underlying database, instead the updateRow() or insertRow() methods are called to update the database.

引数:
columnName the name of the column
x the new column value
例外:
SQLException if a database-access error occurs
DriverResultSet.java2034 行で定義されています。
02036 { 02037 throw new NotImplementedException("updateTimestamp"); 02038 }

void org.objectweb.cjdbc.driver.DriverResultSet.updateTimestamp int  columnIndex,
java.sql.Timestamp  x
throws SQLException
 

JDBC 2.0 Update a column with a Timestamp value. The updateXXX() methods are used to update column values in the current row, or the insert row. The updateXXX() methods do not update the underlying database, instead the updateRow() or insertRow() methods are called to update the database.

引数:
columnIndex the first column is 1, the second is 2, ...
x the new column value
例外:
SQLException if a database-access error occurs
DriverResultSet.java1735 行で定義されています。
01737 { 01738 throw new NotImplementedException("updateTimestamp"); 01739 }

boolean org.objectweb.cjdbc.driver.DriverResultSet.wasNull  )  throws SQLException
 

A column may have the value of SQL NULL; wasNull() reports whether the last column read had this special value. Note that you must first call getXXX on a column to try to read its value and then call wasNull() to find if the value was SQL NULL

戻り値:
true if the last column read was SQL NULL
例外:
SQLException if a database access error occurred
DriverResultSet.java2283 行で定義されています。

参照先 org.objectweb.cjdbc.driver.DriverResultSet.wasNullFlag.

02284 { 02285 return wasNullFlag; 02286 }


変数

transient Hashtable org.objectweb.cjdbc.driver.DriverResultSet.columnNameToIndex = null [protected]
 

column name -> index in ResultSet data array DriverResultSet.java119 行で定義されています。

参照元 org.objectweb.cjdbc.driver.DriverResultSet.buildIndexMapping(), と org.objectweb.cjdbc.driver.DriverResultSet.findColumn().

int org.objectweb.cjdbc.driver.DriverResultSet.currentRow = -1 [protected]
 

Cursor to current row DriverResultSet.java98 行で定義されています。

参照元 org.objectweb.cjdbc.driver.DriverResultSet.absolute(), org.objectweb.cjdbc.driver.DriverResultSet.afterLast(), org.objectweb.cjdbc.driver.DriverResultSet.beforeFirst(), org.objectweb.cjdbc.driver.DriverResultSet.checkRowAndColPosAndSetNullFlag(), org.objectweb.cjdbc.driver.DriverResultSet.DriverResultSet(), org.objectweb.cjdbc.driver.DriverResultSet.first(), org.objectweb.cjdbc.driver.DriverResultSet.getArray(), org.objectweb.cjdbc.driver.DriverResultSet.getBigDecimal(), org.objectweb.cjdbc.driver.DriverResultSet.getBoolean(), org.objectweb.cjdbc.driver.DriverResultSet.getByte(), org.objectweb.cjdbc.driver.DriverResultSet.getBytes(), org.objectweb.cjdbc.driver.DriverResultSet.getClob(), org.objectweb.cjdbc.driver.DriverResultSet.getDate(), org.objectweb.cjdbc.driver.DriverResultSet.getDouble(), org.objectweb.cjdbc.driver.DriverResultSet.getFloat(), org.objectweb.cjdbc.driver.DriverResultSet.getInt(), org.objectweb.cjdbc.driver.DriverResultSet.getLong(), org.objectweb.cjdbc.driver.DriverResultSet.getObject(), org.objectweb.cjdbc.driver.DriverResultSet.getRow(), org.objectweb.cjdbc.driver.DriverResultSet.getShort(), org.objectweb.cjdbc.driver.DriverResultSet.getString(), org.objectweb.cjdbc.driver.DriverResultSet.getTime(), org.objectweb.cjdbc.driver.DriverResultSet.getTimestamp(), org.objectweb.cjdbc.driver.DriverResultSet.isAfterLast(), org.objectweb.cjdbc.driver.DriverResultSet.isBeforeFirst(), org.objectweb.cjdbc.driver.DriverResultSet.isFirst(), org.objectweb.cjdbc.driver.DriverResultSet.isLast(), org.objectweb.cjdbc.driver.DriverResultSet.last(), org.objectweb.cjdbc.driver.DriverResultSet.next(), org.objectweb.cjdbc.driver.DriverResultSet.prev(), と org.objectweb.cjdbc.driver.DriverResultSet.relative().

String org.objectweb.cjdbc.driver.DriverResultSet.cursorName [private]
 

ResultSet cursor name DriverResultSet.java112 行で定義されています。

参照元 org.objectweb.cjdbc.driver.DriverResultSet.close(), と org.objectweb.cjdbc.driver.DriverResultSet.next().

ArrayList org.objectweb.cjdbc.driver.DriverResultSet.data [protected]
 

The results DriverResultSet.java104 行で定義されています。

参照元 org.objectweb.cjdbc.driver.DriverResultSet.checkRowAndColPosAndSetNullFlag(), org.objectweb.cjdbc.driver.DriverResultSet.DriverResultSet(), org.objectweb.cjdbc.driver.DriverResultSet.getArray(), org.objectweb.cjdbc.driver.DriverResultSet.getBigDecimal(), org.objectweb.cjdbc.driver.DriverResultSet.getBoolean(), org.objectweb.cjdbc.driver.DriverResultSet.getByte(), org.objectweb.cjdbc.driver.DriverResultSet.getBytes(), org.objectweb.cjdbc.driver.DriverResultSet.getClob(), org.objectweb.cjdbc.driver.DriverResultSet.getDate(), org.objectweb.cjdbc.driver.DriverResultSet.getDouble(), org.objectweb.cjdbc.driver.DriverResultSet.getFloat(), org.objectweb.cjdbc.driver.DriverResultSet.getInt(), org.objectweb.cjdbc.driver.DriverResultSet.getLong(), org.objectweb.cjdbc.driver.DriverResultSet.getObject(), org.objectweb.cjdbc.driver.DriverResultSet.getShort(), org.objectweb.cjdbc.driver.DriverResultSet.getString(), org.objectweb.cjdbc.driver.DriverResultSet.getTime(), org.objectweb.cjdbc.driver.DriverResultSet.getTimestamp(), org.objectweb.cjdbc.driver.DriverResultSet.next(), と org.objectweb.cjdbc.driver.DriverResultSet.setData().

int org.objectweb.cjdbc.driver.DriverResultSet.fetchDirection = FETCH_FORWARD [protected]
 

The fetch direction (not used yet) DriverResultSet.java108 行で定義されています。

参照元 org.objectweb.cjdbc.driver.DriverResultSet.getFetchDirection(), と org.objectweb.cjdbc.driver.DriverResultSet.setFetchDirection().

int org.objectweb.cjdbc.driver.DriverResultSet.fetchSize = 0 [protected]
 

The fetch size DriverResultSet.java110 行で定義されています。

参照元 org.objectweb.cjdbc.driver.DriverResultSet.getFetchSize(), org.objectweb.cjdbc.driver.DriverResultSet.next(), org.objectweb.cjdbc.driver.DriverResultSet.setFetchSize(), と org.objectweb.cjdbc.driver.DriverResultSet.setStatement().

Field [] org.objectweb.cjdbc.driver.DriverResultSet.fields [protected]
 

The fields DriverResultSet.java115 行で定義されています。

参照元 org.objectweb.cjdbc.driver.DriverResultSet.buildIndexMapping(), org.objectweb.cjdbc.driver.DriverResultSet.checkRowAndColPosAndSetNullFlag(), org.objectweb.cjdbc.driver.DriverResultSet.findColumn(), org.objectweb.cjdbc.driver.ResultSetMetaData.getColumnClassName(), org.objectweb.cjdbc.driver.ResultSetMetaData.getColumnDisplaySize(), org.objectweb.cjdbc.driver.ResultSetMetaData.getColumnLabel(), org.objectweb.cjdbc.driver.ResultSetMetaData.getColumnName(), org.objectweb.cjdbc.driver.ResultSetMetaData.getColumnType(), org.objectweb.cjdbc.driver.ResultSetMetaData.getColumnTypeName(), org.objectweb.cjdbc.driver.ResultSetMetaData.getPrecision(), org.objectweb.cjdbc.driver.ResultSetMetaData.getScale(), org.objectweb.cjdbc.driver.ResultSetMetaData.getSchemaName(), org.objectweb.cjdbc.driver.ResultSetMetaData.getTableName(), org.objectweb.cjdbc.driver.ResultSetMetaData.isAutoIncrement(), org.objectweb.cjdbc.driver.ResultSetMetaData.isCaseSensitive(), org.objectweb.cjdbc.driver.ResultSetMetaData.isCurrency(), org.objectweb.cjdbc.driver.ResultSetMetaData.isDefinitelyWritable(), org.objectweb.cjdbc.driver.ResultSetMetaData.isNullable(), org.objectweb.cjdbc.driver.ResultSetMetaData.isReadOnly(), org.objectweb.cjdbc.driver.ResultSetMetaData.isSearchable(), org.objectweb.cjdbc.driver.ResultSetMetaData.isSigned(), と org.objectweb.cjdbc.driver.ResultSetMetaData.isWritable().

transient Hashtable org.objectweb.cjdbc.driver.DriverResultSet.fullColumnNameToIndex = null [protected]
 

full column name -> index in ResultSet data array DriverResultSet.java121 行で定義されています。

参照元 org.objectweb.cjdbc.driver.DriverResultSet.buildIndexMapping(), と org.objectweb.cjdbc.driver.DriverResultSet.findColumn().

boolean org.objectweb.cjdbc.driver.DriverResultSet.hasMoreData [private]
 

True if there is more data to fetch from the controller DriverResultSet.java106 行で定義されています。

参照元 org.objectweb.cjdbc.driver.DriverResultSet.close(), org.objectweb.cjdbc.driver.DriverResultSet.DriverResultSet(), org.objectweb.cjdbc.driver.DriverResultSet.next(), と org.objectweb.cjdbc.driver.DriverResultSet.setHasMoreData().

boolean org.objectweb.cjdbc.driver.DriverResultSet.isClosed = true [private]
 

DriverResultSet.java132 行で定義されています。

参照元 org.objectweb.cjdbc.driver.DriverResultSet.checkIfClosed(), org.objectweb.cjdbc.driver.DriverResultSet.close(), と org.objectweb.cjdbc.driver.DriverResultSet.DriverResultSet().

int org.objectweb.cjdbc.driver.DriverResultSet.nbOfColumns = -1 [protected]
 

Number of columns DriverResultSet.java102 行で定義されています。

参照元 org.objectweb.cjdbc.driver.DriverResultSet.buildIndexMapping(), org.objectweb.cjdbc.driver.DriverResultSet.checkRowAndColPosAndSetNullFlag(), org.objectweb.cjdbc.driver.DriverResultSet.DriverResultSet(), org.objectweb.cjdbc.driver.DriverResultSet.findColumn(), org.objectweb.cjdbc.driver.ResultSetMetaData.getCatalogName(), org.objectweb.cjdbc.driver.ResultSetMetaData.getColumnClassName(), org.objectweb.cjdbc.driver.ResultSetMetaData.getColumnCount(), org.objectweb.cjdbc.driver.ResultSetMetaData.getColumnDisplaySize(), org.objectweb.cjdbc.driver.ResultSetMetaData.getColumnLabel(), org.objectweb.cjdbc.driver.ResultSetMetaData.getColumnName(), org.objectweb.cjdbc.driver.ResultSetMetaData.getColumnType(), org.objectweb.cjdbc.driver.ResultSetMetaData.getColumnTypeName(), org.objectweb.cjdbc.driver.ResultSetMetaData.getPrecision(), org.objectweb.cjdbc.driver.ResultSetMetaData.getScale(), org.objectweb.cjdbc.driver.ResultSetMetaData.getSchemaName(), org.objectweb.cjdbc.driver.ResultSetMetaData.getTableName(), org.objectweb.cjdbc.driver.ResultSetMetaData.isAutoIncrement(), org.objectweb.cjdbc.driver.ResultSetMetaData.isCaseSensitive(), org.objectweb.cjdbc.driver.ResultSetMetaData.isCurrency(), org.objectweb.cjdbc.driver.ResultSetMetaData.isDefinitelyWritable(), org.objectweb.cjdbc.driver.ResultSetMetaData.isNullable(), org.objectweb.cjdbc.driver.ResultSetMetaData.isReadOnly(), org.objectweb.cjdbc.driver.ResultSetMetaData.isSearchable(), org.objectweb.cjdbc.driver.ResultSetMetaData.isSigned(), と org.objectweb.cjdbc.driver.ResultSetMetaData.isWritable().

int org.objectweb.cjdbc.driver.DriverResultSet.nbOfRows = -1 [protected]
 

Number of rows DriverResultSet.java100 行で定義されています。

参照元 org.objectweb.cjdbc.driver.DriverResultSet.absolute(), org.objectweb.cjdbc.driver.DriverResultSet.afterLast(), org.objectweb.cjdbc.driver.DriverResultSet.checkRowAndColPosAndSetNullFlag(), org.objectweb.cjdbc.driver.DriverResultSet.DriverResultSet(), org.objectweb.cjdbc.driver.DriverResultSet.first(), org.objectweb.cjdbc.driver.DriverResultSet.getRow(), org.objectweb.cjdbc.driver.DriverResultSet.isAfterLast(), org.objectweb.cjdbc.driver.DriverResultSet.isBeforeFirst(), org.objectweb.cjdbc.driver.DriverResultSet.isFirst(), org.objectweb.cjdbc.driver.DriverResultSet.isLast(), org.objectweb.cjdbc.driver.DriverResultSet.last(), org.objectweb.cjdbc.driver.DriverResultSet.next(), org.objectweb.cjdbc.driver.DriverResultSet.relative(), と org.objectweb.cjdbc.driver.DriverResultSet.setFetchSize().

transient Statement org.objectweb.cjdbc.driver.DriverResultSet.owningStatement [protected]
 

Statement corresponding to this ResultSet DriverResultSet.java130 行で定義されています。

参照元 org.objectweb.cjdbc.driver.DriverResultSet.close(), org.objectweb.cjdbc.driver.DriverResultSet.getBytes(), org.objectweb.cjdbc.driver.DriverResultSet.getObject(), org.objectweb.cjdbc.driver.DriverResultSet.getStatement(), org.objectweb.cjdbc.driver.DriverResultSet.next(), と org.objectweb.cjdbc.driver.DriverResultSet.setStatement().

int org.objectweb.cjdbc.driver.DriverResultSet.resultSetConcurrency = 0 [protected]
 

Concurrency for this ResultSet DriverResultSet.java126 行で定義されています。

参照元 org.objectweb.cjdbc.driver.DriverResultSet.setResultSetConcurrency().

int org.objectweb.cjdbc.driver.DriverResultSet.resultSetType = 0 [protected]
 

Type of ResultSet DriverResultSet.java124 行で定義されています。

参照元 org.objectweb.cjdbc.driver.DriverResultSet.getType(), と org.objectweb.cjdbc.driver.DriverResultSet.setResultSetType().

final String org.objectweb.cjdbc.driver.DriverResultSet.UPDATEABLE_MESSAGE [static, private]
 

初期値:

"ResultSet not updateable. The " + "query that generated this result set must select only one table, and must " + "select all primary keys from that table. See the JDBC 2.1 API Specification, " + "section 5.6 for more details."
DriverResultSet.java134 行で定義されています。

参照元 org.objectweb.cjdbc.driver.DriverResultSet.setResultSetConcurrency().

SQLWarning org.objectweb.cjdbc.driver.DriverResultSet.warnings = null [protected]
 

the warning chain DriverResultSet.java128 行で定義されています。

参照元 org.objectweb.cjdbc.driver.DriverResultSet.clearWarnings(), org.objectweb.cjdbc.driver.DriverResultSet.getWarnings(), と org.objectweb.cjdbc.driver.DriverResultSet.setResultSetConcurrency().

boolean org.objectweb.cjdbc.driver.DriverResultSet.wasNullFlag = false [protected]
 

for wasNull() DriverResultSet.java117 行で定義されています。

参照元 org.objectweb.cjdbc.driver.DriverResultSet.checkRowAndColPosAndSetNullFlag(), org.objectweb.cjdbc.driver.DriverResultSet.getArray(), org.objectweb.cjdbc.driver.DriverResultSet.getBigDecimal(), org.objectweb.cjdbc.driver.DriverResultSet.getBoolean(), org.objectweb.cjdbc.driver.DriverResultSet.getByte(), org.objectweb.cjdbc.driver.DriverResultSet.getBytes(), org.objectweb.cjdbc.driver.DriverResultSet.getClob(), org.objectweb.cjdbc.driver.DriverResultSet.getDate(), org.objectweb.cjdbc.driver.DriverResultSet.getDouble(), org.objectweb.cjdbc.driver.DriverResultSet.getFloat(), org.objectweb.cjdbc.driver.DriverResultSet.getInt(), org.objectweb.cjdbc.driver.DriverResultSet.getLong(), org.objectweb.cjdbc.driver.DriverResultSet.getObject(), org.objectweb.cjdbc.driver.DriverResultSet.getShort(), org.objectweb.cjdbc.driver.DriverResultSet.getString(), org.objectweb.cjdbc.driver.DriverResultSet.getTime(), org.objectweb.cjdbc.driver.DriverResultSet.getTimestamp(), と org.objectweb.cjdbc.driver.DriverResultSet.wasNull().


このクラスの説明は次のファイルから生成されました:
CJDBCversion1.0.1に対してWed Aug 18 09:20:33 2004に生成されました。 doxygen 1.3.8