Public Methods | |
| DTOResultSet (ResultSet r) throws SQLException | |
| DTOResultSet () throws SQLException | |
| int | rows () |
| void | close () throws SQLException |
| boolean | wasNull () throws SQLException |
| ResultSetMetaData | getMetaData () throws SQLException |
| int | findColumn (String columnName) throws SQLException |
| String | getString (int columnIndex) throws SQLException |
| boolean | getBoolean (int columnIndex) throws SQLException |
| byte | getByte (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 |
| java.sql.Date | getDate (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 |
| java.sql.Date | getDate (String columnName) throws SQLException |
| Object | getObject (int columnIndex) throws SQLException |
| Object | getObject (String columnName) 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 | next () 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 |
| int | getType () throws SQLException |
| int | getConcurrency () 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 | 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 | 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 | 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 | 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 |
| Statement | getStatement () 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 |
| 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 |
| BigDecimal | getBigDecimal (int columnIndex, int scale) throws SQLException |
| byte[] | getBytes (int columnIndex) throws SQLException |
| java.sql.Time | getTime (int columnIndex) throws SQLException |
| java.sql.Timestamp | getTimestamp (int columnIndex) throws SQLException |
| java.io.InputStream | getAsciiStream (int columnIndex) throws SQLException |
| java.io.InputStream | getUnicodeStream (int columnIndex) throws SQLException |
| java.io.InputStream | getBinaryStream (int columnIndex) throws SQLException |
| BigDecimal | getBigDecimal (String columnName, int scale) throws SQLException |
| byte[] | getBytes (String columnName) throws SQLException |
| java.sql.Time | getTime (String columnName) throws SQLException |
| java.sql.Timestamp | getTimestamp (String columnName) throws SQLException |
| java.io.InputStream | getAsciiStream (String columnName) throws SQLException |
| java.io.InputStream | getUnicodeStream (String columnName) throws SQLException |
| java.io.InputStream | getBinaryStream (String columnName) throws SQLException |
| SQLWarning | getWarnings () throws SQLException |
| void | clearWarnings () throws SQLException |
| String | getCursorName () 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 |
| Ref | getRef (int i) throws SQLException |
| Blob | getBlob (int i) throws SQLException |
| Clob | getClob (int i) throws SQLException |
| Array | getArray (int i) throws SQLException |
| Object | getObject (String colName, java.util.Map map) throws SQLException |
| Ref | getRef (String colName) throws SQLException |
| Blob | getBlob (String colName) throws SQLException |
| Clob | getClob (String colName) throws SQLException |
| 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 |
| java.net.URL | getURL (int columnIndex) throws SQLException |
| java.net.URL | getURL (String columnName) throws SQLException |
| void | updateObject (String columnName, Object x, int scale) throws SQLException |
| void | updateBytes (int columnIndex, byte 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 | updateBytes (String columnName, byte x[]) throws SQLException |
| String | toString () |
Public Attributes | |
| boolean | inserting = false |
| boolean | lastGetColWasNull = false |
| DTOResultSetMetaData | md = null |
| int[] | types = new int[1024] |
Private Methods | |
| void | setCol (int index, Object value) throws SQLException |
| Object | getCol (int index) throws SQLException |
| int | indexOf (String column) throws SQLException |
Private Attributes | |
| ArrayList | rows = new ArrayList(100) |
| ArrayList | columnNames = new ArrayList() |
| int | cursor = 0 |
| ArrayList | row = null |
| ArrayList | insertRow = null |
It is best used when a 'server' component needs to return a list of information to a 'client'. For this discussion, 'server' is simply a component that creates and populates a DTOResultSet object and 'client' is the component that consumes it. In all likelyhood the 'server' and 'client' exist in the same VM.
The general usage pattern would be something like this:
public class Server {
public ResultSet someMethod() {
// Create the DTOResultSet object.
DTOResultSet r = new DTOResultSet();
// Move to the "insert" row. We never
// move off the insert row in this example
// so we only need one call.
r.moveToInsertRow();
// Insert some rows. Obviously the
// server would do something more
// interesting in a real example.
//
// Note that this example effectively
// creates 10 Bilbos.
for (int x = 0; x < 10; x++) {
// Set some values for the row that is
// about to be inserted.
r.updateString("firstName","Bilbo");
r.updateString("lastName","Baggins");
r.updateString("location","theShire");
// Insert (append) the row.
r.insertRow();
}
// Move the cursor to before the start
// then return it. You could leave the
// cursor where it is but that's probably
// not what the client will expect.
r.beforeFirst();
return r;
}
}
public class Client {
public void someMethod() {
// Call whatever method exists on the server.
ResultSet r = server.someMethod();
// Does this code look familiar? :)
int x = 0;
while (r.next()) {
System.out.println("row#: " + x++);
System.out.println(" firstName: " + r.getString("firstName"));
System.out.println(" lastName: " + r.getString("lastName"));
System.out.println(" location: " + r.getString("location"));
}
}
}
The DTO is completely updatable and is backed by the Java Collections package. You may have noticed that the method for populating the DTO is the same one the client would use to modify it. For example, a client may just be a middle-tier component that removes some of the rows before passing the DTO on again. It can do that by calling removeRow(), etc.
TODO: Write a unit test to ensure that calling removeRow() while inside of a next() loop does not break stuff. :)
Definition at line 124 of file DTOResultSet.java.
|
|
Creates DTOResultSet based on the data present in the supplied result set. Note that this is a copy operation and could be expensive if the supplied result set is large. Definition at line 158 of file DTOResultSet.java. References sosc::DTOResultSet::beforeFirst(), sosc::DTOResultSet::columnNames, sosc::DTOResultSetMetaData::getColumnCount(), sosc::DTOResultSetMetaData::getColumnName(), sosc::DTOResultSetMetaData::getColumnType(), sosc::DTOResultSet::insertRow(), sosc::DTOResultSet::moveToInsertRow(), sosc::DTOResultSet::updateBoolean(), sosc::DTOResultSet::updateByte(), sosc::DTOResultSet::updateDate(), sosc::DTOResultSet::updateDouble(), sosc::DTOResultSet::updateFloat(), sosc::DTOResultSet::updateInt(), sosc::DTOResultSet::updateLong(), sosc::DTOResultSet::updateObject(), sosc::DTOResultSet::updateShort(), and sosc::DTOResultSet::updateString(). |
|
|
Definition at line 200 of file DTOResultSet.java. |
|
|
Implemented Definition at line 482 of file DTOResultSet.java. References sosc::DTOResultSet::cursor, sosc::DTOResultSet::getRow(), sosc::DTOResultSet::row, and sosc::DTOResultSet::rows. Referenced by sosc::DTOResultSet::deleteRow(), sosc::DTOResultSet::first(), sosc::DTOResultSet::last(), and sosc::DTOResultSet::relative(). |
|
|
Implemented. Definition at line 451 of file DTOResultSet.java. References sosc::DTOResultSet::cursor, sosc::DTOResultSet::row, and sosc::DTOResultSet::rows. Referenced by sosc::DTOResultSet::getRow(). |
|
|
Implemented. Definition at line 445 of file DTOResultSet.java. References sosc::DTOResultSet::cursor, and sosc::DTOResultSet::row. Referenced by sosc::DTOResultSet::DTOResultSet(), and sosc::DTOResultSet::getRow(). |
|
|
Implemented Definition at line 678 of file DTOResultSet.java. |
|
|
Not Implemented Yet Definition at line 787 of file DTOResultSet.java. |
|
|
Drops references to all of the Collections. Definition at line 256 of file DTOResultSet.java. References sosc::DTOResultSet::columnNames, sosc::DTOResultSet::cursor, sosc::DTOResultSet::insertRow, sosc::DTOResultSet::row, and sosc::DTOResultSet::rows. |
|
|
Implemented. Definition at line 664 of file DTOResultSet.java. References sosc::DTOResultSet::absolute(), sosc::DTOResultSet::cursor, sosc::DTOResultSet::getRow(), and sosc::DTOResultSet::rows. |
|
|
Just like "indexOf()" but it will not dymanically add the column if it does not exist. Definition at line 276 of file DTOResultSet.java. References sosc::DTOResultSet::columnNames. |
|
|
Implemented. Definition at line 457 of file DTOResultSet.java. References sosc::DTOResultSet::absolute(). |
|
|
Not Implemented Yet Definition at line 832 of file DTOResultSet.java. |
|
|
Not Implemented Yet Definition at line 817 of file DTOResultSet.java. |
|
|
Not Implemented Yet Definition at line 775 of file DTOResultSet.java. |
|
|
Not Implemented Yet Definition at line 754 of file DTOResultSet.java. |
|
|
Not Implemented Yet Definition at line 802 of file DTOResultSet.java. |
|
|
Not Implemented Yet Definition at line 799 of file DTOResultSet.java. |
|
||||||||||||
|
Not Implemented Yet Definition at line 763 of file DTOResultSet.java. |
|
||||||||||||
|
Not Implemented Yet Definition at line 742 of file DTOResultSet.java. |
|
|
Not Implemented Yet Definition at line 781 of file DTOResultSet.java. |
|
|
Not Implemented Yet Definition at line 760 of file DTOResultSet.java. |
|
|
Not Implemented Yet Definition at line 826 of file DTOResultSet.java. |
|
|
Not Implemented Yet Definition at line 811 of file DTOResultSet.java. |
|
|
Implemented Definition at line 367 of file DTOResultSet.java. References sosc::DTOResultSet::getBoolean(), and sosc::DTOResultSet::indexOf(). |
|
|
Implemented Definition at line 298 of file DTOResultSet.java. References sosc::DTOResultSet::getCol(). Referenced by sosc::DTOResultSet::getBoolean(). |
|
|
Implemented Definition at line 372 of file DTOResultSet.java. References sosc::DTOResultSet::getByte(), and sosc::DTOResultSet::indexOf(). |
|
|
Implemented Definition at line 306 of file DTOResultSet.java. References sosc::DTOResultSet::getCol(). Referenced by sosc::DTOResultSet::getByte(). |
|
|
Not Implemented Yet Definition at line 766 of file DTOResultSet.java. |
|
|
Not Implemented Yet Definition at line 745 of file DTOResultSet.java. |
|
|
Not Implemented Yet Definition at line 796 of file DTOResultSet.java. |
|
|
Not Implemented Yet Definition at line 793 of file DTOResultSet.java. |
|
|
Not Implemented Yet Definition at line 829 of file DTOResultSet.java. |
|
|
Not Implemented Yet Definition at line 814 of file DTOResultSet.java. |
|
|
Used by the getter methods to retrieve the specifie column. Definition at line 225 of file DTOResultSet.java. References sosc::DTOResultSet::lastGetColWasNull, and sosc::DTOResultSet::row. Referenced by sosc::DTOResultSet::getBoolean(), sosc::DTOResultSet::getByte(), sosc::DTOResultSet::getDate(), sosc::DTOResultSet::getDouble(), sosc::DTOResultSet::getFloat(), sosc::DTOResultSet::getInt(), sosc::DTOResultSet::getLong(), sosc::DTOResultSet::getObject(), sosc::DTOResultSet::getShort(), and sosc::DTOResultSet::getString(). |
|
|
Always returns CONCUR_UPDATABLE Definition at line 542 of file DTOResultSet.java. |
|
|
Not Implemented Yet Definition at line 790 of file DTOResultSet.java. |
|
||||||||||||
|
Not Implemented Yet Definition at line 838 of file DTOResultSet.java. |
|
||||||||||||
|
Not Implemented Yet Definition at line 835 of file DTOResultSet.java. |
|
|
Implemented Definition at line 402 of file DTOResultSet.java. References sosc::DTOResultSet::getDate(), and sosc::DTOResultSet::indexOf(). |
|
|
Implemented Definition at line 354 of file DTOResultSet.java. References sosc::DTOResultSet::getCol(). Referenced by sosc::DTOResultSet::getDate(). |
|
|
Implemented Definition at line 397 of file DTOResultSet.java. References sosc::DTOResultSet::getDouble(), and sosc::DTOResultSet::indexOf(). |
|
|
Implemented Definition at line 346 of file DTOResultSet.java. References sosc::DTOResultSet::getCol(). Referenced by sosc::DTOResultSet::getDouble(). |
|
|
Always returns FETCH_FORWARD Definition at line 530 of file DTOResultSet.java. |
|
|
Always returns 1 Definition at line 536 of file DTOResultSet.java. |
|
|
Implemented Definition at line 392 of file DTOResultSet.java. References sosc::DTOResultSet::getFloat(), and sosc::DTOResultSet::indexOf(). |
|
|
Implemented Definition at line 338 of file DTOResultSet.java. References sosc::DTOResultSet::getCol(). Referenced by sosc::DTOResultSet::getFloat(). |
|
|
Implemented Definition at line 382 of file DTOResultSet.java. References sosc::DTOResultSet::getInt(), and sosc::DTOResultSet::indexOf(). |
|
|
Implemented Definition at line 322 of file DTOResultSet.java. References sosc::DTOResultSet::getCol(). Referenced by sosc::DTOResultSet::getInt(). |
|
|
Implemented Definition at line 387 of file DTOResultSet.java. References sosc::DTOResultSet::getLong(), and sosc::DTOResultSet::indexOf(). |
|
|
Implemented Definition at line 330 of file DTOResultSet.java. References sosc::DTOResultSet::getCol(). Referenced by sosc::DTOResultSet::getLong(). |
|
|
This really needs to be implemented. Definition at line 270 of file DTOResultSet.java. |
|
||||||||||||
|
Not Implemented Yet Definition at line 820 of file DTOResultSet.java. |
|
||||||||||||
|
Not Implemented Yet Definition at line 805 of file DTOResultSet.java. |
|
|
Implemented Definition at line 412 of file DTOResultSet.java. References sosc::DTOResultSet::getObject(), and sosc::DTOResultSet::indexOf(). |
|
|
Implemented Definition at line 407 of file DTOResultSet.java. References sosc::DTOResultSet::getCol(). Referenced by sosc::DTOResultSet::getObject(). |
|
|
Not Implemented Yet Definition at line 823 of file DTOResultSet.java. |
|
|
Not Implemented Yet Definition at line 808 of file DTOResultSet.java. |
|
|
Implemented Definition at line 468 of file DTOResultSet.java. References sosc::DTOResultSet::afterLast(), sosc::DTOResultSet::beforeFirst(), sosc::DTOResultSet::cursor, and sosc::DTOResultSet::rows. Referenced by sosc::DTOResultSet::absolute(), sosc::DTOResultSet::deleteRow(), and sosc::DTOResultSet::relative(). |
|
|
Implemented Definition at line 377 of file DTOResultSet.java. References sosc::DTOResultSet::getShort(), and sosc::DTOResultSet::indexOf(). |
|
|
Implemented Definition at line 314 of file DTOResultSet.java. References sosc::DTOResultSet::getCol(). Referenced by sosc::DTOResultSet::getShort(). |
|
|
Not Implemented Yet Definition at line 706 of file DTOResultSet.java. |
|
|
Implemented Definition at line 362 of file DTOResultSet.java. References sosc::DTOResultSet::getString(), and sosc::DTOResultSet::indexOf(). |
|
|
Implemented Definition at line 290 of file DTOResultSet.java. References sosc::DTOResultSet::getCol(). Referenced by sosc::DTOResultSet::getString(). |
|
||||||||||||
|
Not Implemented Yet Definition at line 844 of file DTOResultSet.java. |
|
||||||||||||
|
Not Implemented Yet Definition at line 841 of file DTOResultSet.java. |
|
|
Not Implemented Yet Definition at line 769 of file DTOResultSet.java. |
|
|
Not Implemented Yet Definition at line 748 of file DTOResultSet.java. |
|
||||||||||||
|
Not Implemented Yet Definition at line 850 of file DTOResultSet.java. |
|
||||||||||||
|
Not Implemented Yet Definition at line 847 of file DTOResultSet.java. |
|
|
Not Implemented Yet Definition at line 772 of file DTOResultSet.java. |
|
|
Not Implemented Yet Definition at line 751 of file DTOResultSet.java. |
|
|
Always returns TYPE_SCROLL_INSENSITIVE Definition at line 539 of file DTOResultSet.java. |
|
|
Not Implemented Yet Definition at line 778 of file DTOResultSet.java. |
|
|
Not Implemented Yet Definition at line 757 of file DTOResultSet.java. |
|
|
Not Implemented Yet Definition at line 856 of file DTOResultSet.java. |
|
|
Not Implemented Yet Definition at line 853 of file DTOResultSet.java. |
|
|
Not Implemented Yet Definition at line 784 of file DTOResultSet.java. |
|
|
Returns the SQL index for the specified column. Definition at line 239 of file DTOResultSet.java. References sosc::DTOResultSet::columnNames. Referenced by sosc::DTOResultSet::getBoolean(), sosc::DTOResultSet::getByte(), sosc::DTOResultSet::getDate(), sosc::DTOResultSet::getDouble(), sosc::DTOResultSet::getFloat(), sosc::DTOResultSet::getInt(), sosc::DTOResultSet::getLong(), sosc::DTOResultSet::getObject(), sosc::DTOResultSet::getShort(), sosc::DTOResultSet::getString(), sosc::DTOResultSet::updateBigDecimal(), sosc::DTOResultSet::updateBoolean(), sosc::DTOResultSet::updateByte(), sosc::DTOResultSet::updateDate(), sosc::DTOResultSet::updateDouble(), sosc::DTOResultSet::updateFloat(), sosc::DTOResultSet::updateInt(), sosc::DTOResultSet::updateLong(), sosc::DTOResultSet::updateNull(), sosc::DTOResultSet::updateObject(), sosc::DTOResultSet::updateShort(), sosc::DTOResultSet::updateString(), sosc::DTOResultSet::updateTime(), and sosc::DTOResultSet::updateTimestamp(). |
|
|
Implemented Definition at line 646 of file DTOResultSet.java. References sosc::DTOResultSet::inserting, sosc::DTOResultSet::insertRow, sosc::DTOResultSet::moveToInsertRow(), and sosc::DTOResultSet::rows. Referenced by sosc::DTOResultSet::DTOResultSet(). |
|
|
Implemented Definition at line 427 of file DTOResultSet.java. References sosc::DTOResultSet::cursor, and sosc::DTOResultSet::rows. |
|
|
Implemented Definition at line 421 of file DTOResultSet.java. References sosc::DTOResultSet::cursor. |
|
|
Implemented Definition at line 433 of file DTOResultSet.java. References sosc::DTOResultSet::cursor. |
|
|
Implemented Definition at line 439 of file DTOResultSet.java. References sosc::DTOResultSet::cursor, and sosc::DTOResultSet::rows. |
|
|
Implemented Definition at line 463 of file DTOResultSet.java. References sosc::DTOResultSet::absolute(), and sosc::DTOResultSet::rows. |
|
|
Implemented Definition at line 694 of file DTOResultSet.java. References sosc::DTOResultSet::cursor, sosc::DTOResultSet::row, and sosc::DTOResultSet::rows. |
|
|
Implemented Definition at line 681 of file DTOResultSet.java. References sosc::DTOResultSet::inserting, sosc::DTOResultSet::insertRow, and sosc::DTOResultSet::row. Referenced by sosc::DTOResultSet::DTOResultSet(), and sosc::DTOResultSet::insertRow(). |
|
|
Moves the cursor to the next row. Definition at line 517 of file DTOResultSet.java. References sosc::DTOResultSet::relative(). |
|
|
Implemented Definition at line 522 of file DTOResultSet.java. References sosc::DTOResultSet::relative(). |
|
|
Checks for "inserting" but otherwise does nothing. Definition at line 673 of file DTOResultSet.java. |
|
|
Implemented Definition at line 506 of file DTOResultSet.java. References sosc::DTOResultSet::absolute(), sosc::DTOResultSet::getRow(), and sosc::DTOResultSet::rows. Referenced by sosc::DTOResultSet::next(), and sosc::DTOResultSet::previous(). |
|
|
Always returns false. Definition at line 551 of file DTOResultSet.java. |
|
|
Always returns false. Definition at line 548 of file DTOResultSet.java. |
|
|
Convenience method for determining how many rows are in the rowset. This is not standard to JDBC/ResultSet, but its so usefull how can you not have it? Definition at line 207 of file DTOResultSet.java. References sosc::DTOResultSet::rows. |
|
|
Always returns false. Definition at line 545 of file DTOResultSet.java. |
|
||||||||||||
|
Used to set the value of a row column. Index is a SQL index. The current row grows to meet the upper index value requirements. Definition at line 215 of file DTOResultSet.java. References sosc::DTOResultSet::row. Referenced by sosc::DTOResultSet::updateBigDecimal(), sosc::DTOResultSet::updateBoolean(), sosc::DTOResultSet::updateByte(), sosc::DTOResultSet::updateDate(), sosc::DTOResultSet::updateDouble(), sosc::DTOResultSet::updateFloat(), sosc::DTOResultSet::updateInt(), sosc::DTOResultSet::updateLong(), sosc::DTOResultSet::updateNull(), sosc::DTOResultSet::updateObject(), sosc::DTOResultSet::updateShort(), sosc::DTOResultSet::updateString(), sosc::DTOResultSet::updateTime(), and sosc::DTOResultSet::updateTimestamp(). |
|
|
Does nothing because it can be safely ignored Definition at line 527 of file DTOResultSet.java. |
|
|
Does nothing because it can be safely ignored Definition at line 533 of file DTOResultSet.java. References sosc::DTOResultSet::rows. |
|
|
Dumps the whole result set. May be huge! Perhaps this is a bad idea also. Definition at line 882 of file DTOResultSet.java. References sosc::DTOResultSet::columnNames, sosc::DTOResultSet::row, and sosc::DTOResultSet::rows. |
|
||||||||||||
|
Not Implemented Yet Definition at line 730 of file DTOResultSet.java. |
|
||||||||||||
|
Not Implemented Yet Definition at line 727 of file DTOResultSet.java. |
|
||||||||||||||||
|
Not Implemented Yet Definition at line 865 of file DTOResultSet.java. |
|
||||||||||||||||
|
Not Implemented Yet Definition at line 733 of file DTOResultSet.java. |
|
||||||||||||
|
Implemented Definition at line 624 of file DTOResultSet.java. References sosc::DTOResultSet::indexOf(), and sosc::DTOResultSet::setCol(). |
|
||||||||||||
|
Implemented Definition at line 582 of file DTOResultSet.java. References sosc::DTOResultSet::setCol(). |
|
||||||||||||||||
|
Not Implemented Yet Definition at line 868 of file DTOResultSet.java. |
|
||||||||||||||||
|
Not Implemented Yet Definition at line 736 of file DTOResultSet.java. |
|
||||||||||||
|
Not Implemented Yet Definition at line 718 of file DTOResultSet.java. |
|
||||||||||||
|
Not Implemented Yet Definition at line 715 of file DTOResultSet.java. |
|
||||||||||||
|
Implemented Definition at line 603 of file DTOResultSet.java. References sosc::DTOResultSet::indexOf(), and sosc::DTOResultSet::setCol(). |
|
||||||||||||
|
Implemented Definition at line 561 of file DTOResultSet.java. References sosc::DTOResultSet::setCol(). Referenced by sosc::DTOResultSet::DTOResultSet(). |
|
||||||||||||
|
Implemented Definition at line 606 of file DTOResultSet.java. References sosc::DTOResultSet::indexOf(), and sosc::DTOResultSet::setCol(). |
|
||||||||||||
|
Implemented Definition at line 564 of file DTOResultSet.java. References sosc::DTOResultSet::setCol(). Referenced by sosc::DTOResultSet::DTOResultSet(). |
|
||||||||||||
|
Not Implemented Yet Definition at line 877 of file DTOResultSet.java. |
|
||||||||||||
|
Not Implemented Yet Definition at line 862 of file DTOResultSet.java. |
|
||||||||||||||||
|
Not Implemented Yet Definition at line 871 of file DTOResultSet.java. |
|
||||||||||||||||
|
Not Implemented Yet Definition at line 739 of file DTOResultSet.java. |
|
||||||||||||
|
Not Implemented Yet Definition at line 724 of file DTOResultSet.java. |
|
||||||||||||
|
Not Implemented Yet Definition at line 721 of file DTOResultSet.java. |
|
||||||||||||
|
Implemented Definition at line 630 of file DTOResultSet.java. References sosc::DTOResultSet::indexOf(), and sosc::DTOResultSet::setCol(). |
|
||||||||||||
|
Implemented Definition at line 588 of file DTOResultSet.java. References sosc::DTOResultSet::setCol(). Referenced by sosc::DTOResultSet::DTOResultSet(). |
|
||||||||||||
|
Implemented Definition at line 621 of file DTOResultSet.java. References sosc::DTOResultSet::indexOf(), and sosc::DTOResultSet::setCol(). |
|
||||||||||||
|
Implemented Definition at line 579 of file DTOResultSet.java. References sosc::DTOResultSet::setCol(). Referenced by sosc::DTOResultSet::DTOResultSet(). |
|
||||||||||||
|
Implemented Definition at line 618 of file DTOResultSet.java. References sosc::DTOResultSet::indexOf(), and sosc::DTOResultSet::setCol(). |
|
||||||||||||
|
Implemented Definition at line 576 of file DTOResultSet.java. References sosc::DTOResultSet::setCol(). Referenced by sosc::DTOResultSet::DTOResultSet(). |
|
||||||||||||
|
Implemented Definition at line 612 of file DTOResultSet.java. References sosc::DTOResultSet::indexOf(), and sosc::DTOResultSet::setCol(). |
|
||||||||||||
|
Implemented Definition at line 570 of file DTOResultSet.java. References sosc::DTOResultSet::setCol(). Referenced by sosc::DTOResultSet::DTOResultSet(). |
|
||||||||||||
|
Implemented Definition at line 615 of file DTOResultSet.java. References sosc::DTOResultSet::indexOf(), and sosc::DTOResultSet::setCol(). |
|
||||||||||||
|
Implemented Definition at line 573 of file DTOResultSet.java. References sosc::DTOResultSet::setCol(). Referenced by sosc::DTOResultSet::DTOResultSet(). |
|
|
Implemented Definition at line 600 of file DTOResultSet.java. References sosc::DTOResultSet::indexOf(), and sosc::DTOResultSet::setCol(). |
|
|
Implemented Definition at line 558 of file DTOResultSet.java. References sosc::DTOResultSet::setCol(). |
|
||||||||||||||||
|
Not Implemented Yet Definition at line 874 of file DTOResultSet.java. |
|
||||||||||||||||
|
Not Implemented Yet Definition at line 859 of file DTOResultSet.java. |
|
||||||||||||
|
Implemented Definition at line 639 of file DTOResultSet.java. References sosc::DTOResultSet::indexOf(), and sosc::DTOResultSet::setCol(). |
|
||||||||||||
|
Implemented Definition at line 597 of file DTOResultSet.java. References sosc::DTOResultSet::setCol(). Referenced by sosc::DTOResultSet::DTOResultSet(). |
|
||||||||||||
|
Not Implemented Yet Definition at line 712 of file DTOResultSet.java. |
|
||||||||||||
|
Not Implemented Yet Definition at line 709 of file DTOResultSet.java. |
|
|
Does nothing because there is no database to contact. Definition at line 660 of file DTOResultSet.java. |
|
||||||||||||
|
Implemented Definition at line 609 of file DTOResultSet.java. References sosc::DTOResultSet::indexOf(), and sosc::DTOResultSet::setCol(). |
|
||||||||||||
|
Implemented Definition at line 567 of file DTOResultSet.java. References sosc::DTOResultSet::setCol(). Referenced by sosc::DTOResultSet::DTOResultSet(). |
|
||||||||||||
|
Implemented Definition at line 627 of file DTOResultSet.java. References sosc::DTOResultSet::indexOf(), and sosc::DTOResultSet::setCol(). |
|
||||||||||||
|
Implemented Definition at line 585 of file DTOResultSet.java. References sosc::DTOResultSet::setCol(). Referenced by sosc::DTOResultSet::DTOResultSet(). |
|
||||||||||||
|
Implemented Definition at line 633 of file DTOResultSet.java. References sosc::DTOResultSet::indexOf(), and sosc::DTOResultSet::setCol(). |
|
||||||||||||
|
Implemented Definition at line 591 of file DTOResultSet.java. References sosc::DTOResultSet::setCol(). |
|
||||||||||||
|
Implemented Definition at line 636 of file DTOResultSet.java. References sosc::DTOResultSet::indexOf(), and sosc::DTOResultSet::setCol(). |
|
||||||||||||
|
Implemented Definition at line 594 of file DTOResultSet.java. References sosc::DTOResultSet::setCol(). |
|
|
Implemented Definition at line 265 of file DTOResultSet.java. References sosc::DTOResultSet::lastGetColWasNull. |
|
|
A list of the column names as they are discovered. Definition at line 130 of file DTOResultSet.java. Referenced by sosc::DTOResultSet::close(), sosc::DTOResultSet::DTOResultSet(), sosc::DTOResultSet::findColumn(), sosc::DTOResultSet::indexOf(), and sosc::DTOResultSet::toString(). |
|
|
Position of the cursor. Used for both reading and writing. Definition at line 133 of file DTOResultSet.java. Referenced by sosc::DTOResultSet::absolute(), sosc::DTOResultSet::afterLast(), sosc::DTOResultSet::beforeFirst(), sosc::DTOResultSet::close(), sosc::DTOResultSet::deleteRow(), sosc::DTOResultSet::getRow(), sosc::DTOResultSet::isAfterLast(), sosc::DTOResultSet::isBeforeFirst(), sosc::DTOResultSet::isFirst(), sosc::DTOResultSet::isLast(), and sosc::DTOResultSet::moveToCurrentRow(). |
|
|
Set to true after a call to moveToInsertRow() Definition at line 142 of file DTOResultSet.java. Referenced by sosc::DTOResultSet::insertRow(), and sosc::DTOResultSet::moveToInsertRow(). |
|
|
Same as "row" but for inserting new rows. Definition at line 139 of file DTOResultSet.java. Referenced by sosc::DTOResultSet::close(), sosc::DTOResultSet::insertRow(), and sosc::DTOResultSet::moveToInsertRow(). |
|
|
See wasNull() Definition at line 145 of file DTOResultSet.java. Referenced by sosc::DTOResultSet::getCol(), and sosc::DTOResultSet::wasNull(). |
|
|
This result sets metadata. Definition at line 148 of file DTOResultSet.java. |
|
|
An arraylist of values for each column in a row. Definition at line 136 of file DTOResultSet.java. Referenced by sosc::DTOResultSet::absolute(), sosc::DTOResultSet::afterLast(), sosc::DTOResultSet::beforeFirst(), sosc::DTOResultSet::close(), sosc::DTOResultSet::getCol(), sosc::DTOResultSet::moveToCurrentRow(), sosc::DTOResultSet::moveToInsertRow(), sosc::DTOResultSet::setCol(), and sosc::DTOResultSet::toString(). |
|
|
The backing storage for each row. Definition at line 127 of file DTOResultSet.java. Referenced by sosc::DTOResultSet::absolute(), sosc::DTOResultSet::afterLast(), sosc::DTOResultSet::close(), sosc::DTOResultSet::deleteRow(), sosc::DTOResultSet::getRow(), sosc::DTOResultSet::insertRow(), sosc::DTOResultSet::isAfterLast(), sosc::DTOResultSet::isLast(), sosc::DTOResultSet::last(), sosc::DTOResultSet::moveToCurrentRow(), sosc::DTOResultSet::relative(), sosc::DTOResultSet::rows(), sosc::DTOResultSet::setFetchSize(), and sosc::DTOResultSet::toString(). |
|
|
Holds the types for each column. Assumes that the number of columns will never exceed 1024. Definition at line 151 of file DTOResultSet.java. |
1.2.15