| Overview | Package | Class | Tree | Deprecated | Index | Help | |||
| PREV CLASS | NEXT CLASS | FRAMES | NO FRAMES | ||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||
java.lang.Object
|
+--com.imaginary.sql.msql.MsqlResultSet
|
+--com.imaginary.sql.msql.MsqlQueryData
| Field Summary | |
| java.lang.String | lastColumn
|
| Fields inherited from class com.imaginary.sql.msql.MsqlResultSet | |
| log | |
| Method Summary | |
| boolean | absolute(int row)
Positions the result set to an absolute position relative to either the beginning or end of the result set. |
| void | addRow(MsqlRow row)
|
| void | cancelRowUpdates()
Clears any changes you have made to the current row. |
| void | close()
Closes the result set. |
| void | complete()
Marks the load as completed. |
| int | findColumn(java.lang.String name)
Attempts to find the column number associated with the name given. |
| java.io.InputStream | getAsciiStream(int column)
|
| java.io.InputStream | getBinaryStream(int column)
|
| java.sql.Blob | getBlob(int column)
|
| boolean | getBoolean(int column)
|
| byte | getByte(int column)
|
| byte[] | getBytes(int column)
|
| void | getColumn(int column)
Retrieves the specified column and puts it into the lastColumn attribute. |
| java.sql.ResultSetMetaData | getMetaData()
|
| int | getRow()
|
| java.lang.String | getString(int column)
|
| java.io.InputStream | getUnicodeStream(int column)
Deprecated. |
| java.lang.String | getUpdate(int col)
Provides the update value for the specified column. |
| boolean | isLast()
This is an expensive operation and should be avoided. |
| java.sql.ResultSetMetaData | loadMetaData()
|
| void | loadResults()
Runs the thread for loading data from the database. |
| boolean | next()
Moves to the next row of data for processing. |
| boolean | previous()
Moves to the previous row of data for processing. |
| MsqlRow | readRow(byte[] data)
|
| void | refreshRow()
Restores the current row to its original values. |
| boolean | relative(int count)
Moves the result set forward the specified number of rows relative to the current row. |
| boolean | rowDeleted()
|
| boolean | rowInserted()
|
| boolean | rowUpdated()
|
| void | setColumn(int column,
java.lang.String value)
Changes the specified column. |
| void | updateRow()
Adds to the functionality in MsqlResultSet by
resetting the row state. |
| boolean | wasNull()
|
| Methods inherited from class java.lang.Object | |
| clone, equals, finalize, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait | |
| Field Detail |
protected java.lang.String lastColumn
| Method Detail |
public boolean absolute(int row)
throws java.sql.SQLException
row
- positive indicates the absolute row number from the
start, negative indicates the absolute row number from the endprotected void addRow(MsqlRow row)
public void cancelRowUpdates()
throws java.sql.SQLException
public void close()
throws java.sql.SQLException
public void complete()
public int findColumn(java.lang.String name)
throws java.sql.SQLException
name
- the name of the desired column
public java.io.InputStream getAsciiStream(int column)
throws java.sql.SQLException
column
- the column number for the desired column
public java.io.InputStream getBinaryStream(int column)
throws java.sql.SQLException
column
- the number of the desired column
public java.sql.Blob getBlob(int column)
throws java.sql.SQLException
ccolumn
- the column number of the desired column
public boolean getBoolean(int column)
throws java.sql.SQLException
column
- the number of the desired column
public byte getByte(int column)
throws java.sql.SQLException
column
- the number of the desired column
public byte[] getBytes(int column)
throws java.sql.SQLException
column
- the number of the desired column
protected void getColumn(int column)
throws java.sql.SQLException
column
- the column being retrieved
public java.sql.ResultSetMetaData getMetaData()
throws java.sql.SQLException
public int getRow()
throws java.sql.SQLException
public java.lang.String getString(int column)
throws java.sql.SQLException
column
- the number of the desired column
public java.io.InputStream getUnicodeStream(int column)
throws java.sql.SQLException
column
- the number of the desired column
protected java.lang.String getUpdate(int col)
throws java.sql.SQLException
col
- the column whose updated values are sought
public boolean isLast()
throws java.sql.SQLException
protected java.sql.ResultSetMetaData loadMetaData()
throws java.sql.SQLException
protected void loadResults()
throws java.sql.SQLException
public boolean next()
throws java.sql.SQLException
public boolean previous()
throws java.sql.SQLException
protected MsqlRow readRow(byte[] data)
throws java.sql.SQLException
public void refreshRow()
throws java.sql.SQLException
public boolean relative(int count)
throws java.sql.SQLException
count
- the number of rows to move forward
public boolean rowDeleted()
throws java.sql.SQLException
public boolean rowInserted()
throws java.sql.SQLException
public boolean rowUpdated()
throws java.sql.SQLException
protected void setColumn(int column,
java.lang.String value)
throws java.sql.SQLException
column
- the column being retrieved
public void updateRow()
throws java.sql.SQLException
MsqlResultSet by
resetting the row state.
public boolean wasNull()
throws java.sql.SQLException
| Overview | Package | Class | Tree | Deprecated | Index | Help | |||
| PREV CLASS | NEXT CLASS | FRAMES | NO FRAMES | ||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||