![]() |
Quadcap Embeddable Database |
Inheritance diagram for com.quadcap.sql.ViewCursor:

CREATE VIEW statement.
Definition at line 60 of file ViewCursor.java.
Public Member Functions | |
| ViewCursor (Session session, View view, Cursor cursor, Vector names) throws SQLException | |
| long | size () throws SQLException |
| If the underlying implementation knows, or can compute cheaply, the actual size of the ResultSet, it should return a non-negative number here. | |
| Row | getRow () throws SQLException |
| Derived class implements this function to return the current cursor row. | |
| void | updateRow (Row row) throws SQLException |
| Replace the current cursor row with the specified row. | |
| void | insertRow (Row row) throws SQLException |
| Handle insert. | |
| void | deleteRow () throws SQLException |
| Delete the current cursor row. | |
| void | beforeFirst () throws SQLException |
| Position the cursor before the first row. | |
| void | afterLast () throws SQLException |
| Position the cursor after the last row. | |
| boolean | absolute (int row) throws SQLException |
| Position the cursor to the specified absolute row. | |
| boolean | next () throws SQLException |
| Advance the cursor and return true if we advanced to a valid row. | |
| boolean | isWritable (int column) throws SQLException |
| Return true if the specified column is writable. | |
| int | getColumnCount () throws SQLException |
| Return the number of columns in this tuple. | |
| void | close () throws SQLException |
| Close the cursor and free up any resources (including closing the cursor's transaction if that is feasible) used by the cursor. | |
Package Attributes | |
| Cursor | cursor |
| View | view |
|
||||||||||||||||||||
|
|
Position the cursor to the specified absolute row. The first row is row '1', and the last row is '-1', as in JDBC. Reimplemented from com.quadcap.sql.CursorImpl. Definition at line 124 of file ViewCursor.java. References com.quadcap.sql.Cursor.absolute(), com.quadcap.sql.ViewCursor.absolute(), and com.quadcap.sql.ViewCursor.cursor. Referenced by com.quadcap.sql.ViewCursor.absolute(). |
|
|
Position the cursor after the last row.
Implements com.quadcap.sql.CursorImpl. Definition at line 120 of file ViewCursor.java. References com.quadcap.sql.Cursor.afterLast(), and com.quadcap.sql.ViewCursor.cursor. |
|
|
Position the cursor before the first row.
Implements com.quadcap.sql.CursorImpl. Definition at line 116 of file ViewCursor.java. References com.quadcap.sql.Cursor.beforeFirst(), and com.quadcap.sql.ViewCursor.cursor. |
|
|
Close the cursor and free up any resources (including closing the cursor's transaction if that is feasible) used by the cursor.
Implements com.quadcap.sql.CursorImpl. Definition at line 139 of file ViewCursor.java. References com.quadcap.sql.Cursor.close(), and com.quadcap.sql.ViewCursor.cursor. |
|
|
Delete the current cursor row.
Implements com.quadcap.sql.CursorImpl. Definition at line 112 of file ViewCursor.java. References com.quadcap.sql.ViewCursor.cursor, and com.quadcap.sql.Cursor.deleteRow(). |
|
|
Return the number of columns in this tuple.
Reimplemented from com.quadcap.sql.TupleImpl. Definition at line 136 of file ViewCursor.java. References com.quadcap.sql.ViewCursor.cursor, and com.quadcap.sql.Tuple.getColumnCount(). |
|
|
Derived class implements this function to return the current cursor row. Implementation required. Implements com.quadcap.sql.CursorImpl. Definition at line 98 of file ViewCursor.java. References com.quadcap.sql.ViewCursor.cursor, and com.quadcap.sql.Cursor.getRow(). |
|
|
Handle insert.
Reimplemented from com.quadcap.sql.CursorImpl. Definition at line 107 of file ViewCursor.java. References com.quadcap.sql.View.checkRow(), com.quadcap.sql.ViewCursor.cursor, com.quadcap.sql.Cursor.insertRow(), com.quadcap.sql.ViewCursor.insertRow(), and com.quadcap.sql.ViewCursor.view. Referenced by com.quadcap.sql.ViewCursor.insertRow(). |
|
|
Return true if the specified column is writable.
Implements com.quadcap.sql.CursorImpl. Definition at line 132 of file ViewCursor.java. References com.quadcap.sql.ViewCursor.cursor, com.quadcap.sql.Cursor.isWritable(), and com.quadcap.sql.ViewCursor.isWritable(). Referenced by com.quadcap.sql.ViewCursor.isWritable(). |
|
|
Advance the cursor and return true if we advanced to a valid row.
Implements com.quadcap.sql.CursorImpl. Definition at line 128 of file ViewCursor.java. References com.quadcap.sql.ViewCursor.cursor, and com.quadcap.sql.Cursor.next(). |
|
|
If the underlying implementation knows, or can compute cheaply, the actual size of the ResultSet, it should return a non-negative number here.
If the size is unknown and it would be expensive to compute it (i.e., on the order of Implements com.quadcap.sql.Cursor. Definition at line 96 of file ViewCursor.java. |
|
|
Replace the current cursor row with the specified row.
Implements com.quadcap.sql.CursorImpl. Definition at line 102 of file ViewCursor.java. References com.quadcap.sql.View.checkRow(), com.quadcap.sql.ViewCursor.cursor, com.quadcap.sql.Cursor.updateRow(), com.quadcap.sql.ViewCursor.updateRow(), and com.quadcap.sql.ViewCursor.view. Referenced by com.quadcap.sql.ViewCursor.updateRow(). |
|
|
|
Definition at line 62 of file ViewCursor.java. Referenced by com.quadcap.sql.ViewCursor.insertRow(), com.quadcap.sql.ViewCursor.updateRow(), and com.quadcap.sql.ViewCursor.ViewCursor(). |