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

Definition at line 50 of file FilterCursor.java.
Public Member Functions | |
| FilterCursor (Session session) | |
| FilterCursor (Session session, String name, Cursor cursor) throws SQLException | |
| FilterCursor (Session session, Cursor cursor) throws SQLException | |
| Row | getRow () throws SQLException |
| Derived class implements this function to return the current cursor row. | |
| long | getRowId () |
| Some cursors have rows where the rows can be identified by row id, and sometimes the cursors even know the row id for the current 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 | prev () throws SQLException |
| Move the cursor back one row and return true if we moved back to a valid row. | |
| boolean | isWritable (int column) throws SQLException |
| Return true if the specified column is writable. | |
| void | setOuterCursor (Cursor c) |
| Set the cursor context in which this subquery is executing. | |
| 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. | |
| 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. | |
| String | toString () |
| Return a string representation for debugging. | |
Protected Member Functions | |
| void | setCursor (Cursor cursor) |
Package Attributes | |
| Cursor | cursor |
|
|
Definition at line 53 of file FilterCursor.java. |
|
||||||||||||||||
|
Definition at line 57 of file FilterCursor.java. References com.quadcap.sql.FilterCursor.cursor. |
|
||||||||||||
|
Definition at line 65 of file FilterCursor.java. References com.quadcap.sql.FilterCursor.cursor, com.quadcap.sql.Tuple.getName(), and com.quadcap.sql.Cursor.getOuterCursor(). |
|
|
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. Reimplemented in com.quadcap.sql.PredicateCursor. Definition at line 105 of file FilterCursor.java. References com.quadcap.sql.Cursor.absolute(), com.quadcap.sql.FilterCursor.absolute(), and com.quadcap.sql.FilterCursor.cursor. Referenced by com.quadcap.sql.FilterCursor.absolute(). |
|
|
Position the cursor after the last row.
Implements com.quadcap.sql.CursorImpl. Definition at line 101 of file FilterCursor.java. References com.quadcap.sql.Cursor.afterLast(), and com.quadcap.sql.FilterCursor.cursor. Referenced by com.quadcap.sql.PredicateCursor.absolute(). |
|
|
Position the cursor before the first row.
Implements com.quadcap.sql.CursorImpl. Reimplemented in com.quadcap.sql.AggregateCursor, com.quadcap.sql.GroupByCursor, and com.quadcap.sql.MultiCursor. Definition at line 97 of file FilterCursor.java. References com.quadcap.sql.Cursor.beforeFirst(), and com.quadcap.sql.FilterCursor.cursor. Referenced by com.quadcap.sql.PredicateCursor.absolute(). |
|
|
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. Reimplemented in com.quadcap.sql.AggregateCursor, com.quadcap.sql.GroupByCursor, and com.quadcap.sql.MultiCursor. Definition at line 126 of file FilterCursor.java. References com.quadcap.sql.Cursor.close(), and com.quadcap.sql.FilterCursor.cursor. |
|
|
Delete the current cursor row.
Implements com.quadcap.sql.CursorImpl. Reimplemented in com.quadcap.sql.AggregateCursor, and com.quadcap.sql.GroupByCursor. Definition at line 93 of file FilterCursor.java. References com.quadcap.sql.FilterCursor.cursor, and com.quadcap.sql.Cursor.deleteRow(). |
|
|
Derived class implements this function to return the current cursor row. Implementation required. Implements com.quadcap.sql.CursorImpl. Reimplemented in com.quadcap.sql.AggregateCursor, com.quadcap.sql.GroupByCursor, com.quadcap.sql.HavingCursor, and com.quadcap.sql.PredicateCursor. Definition at line 77 of file FilterCursor.java. References com.quadcap.sql.FilterCursor.cursor, and com.quadcap.sql.Cursor.getRow(). |
|
|
Some cursors have rows where the rows can be identified by row id, and sometimes the cursors even know the row id for the current row. If you know, tell us here! If you don't know, just return 0. Reimplemented from com.quadcap.sql.CursorImpl. Definition at line 81 of file FilterCursor.java. References com.quadcap.sql.FilterCursor.cursor, and com.quadcap.sql.Cursor.getRowId(). |
|
|
Handle insert.
Reimplemented from com.quadcap.sql.CursorImpl. Definition at line 89 of file FilterCursor.java. References com.quadcap.sql.FilterCursor.cursor, com.quadcap.sql.Cursor.insertRow(), and com.quadcap.sql.FilterCursor.insertRow(). Referenced by com.quadcap.sql.FilterCursor.insertRow(). |
|
|
Return true if the specified column is writable.
Implements com.quadcap.sql.CursorImpl. Reimplemented in com.quadcap.sql.AggregateCursor, and com.quadcap.sql.GroupByCursor. Definition at line 117 of file FilterCursor.java. References com.quadcap.sql.FilterCursor.cursor, com.quadcap.sql.Cursor.isWritable(), and com.quadcap.sql.FilterCursor.isWritable(). Referenced by com.quadcap.sql.FilterCursor.isWritable(). |
|
|
Advance the cursor and return true if we advanced to a valid row.
Implements com.quadcap.sql.CursorImpl. Reimplemented in com.quadcap.sql.AggregateCursor, com.quadcap.sql.GroupByCursor, com.quadcap.sql.HavingCursor, com.quadcap.sql.MultiCursor, and com.quadcap.sql.PredicateCursor. Definition at line 109 of file FilterCursor.java. References com.quadcap.sql.FilterCursor.cursor, and com.quadcap.sql.Cursor.next(). |
|
|
Move the cursor back one row and return true if we moved back to a valid row.
Reimplemented from com.quadcap.sql.CursorImpl. Reimplemented in com.quadcap.sql.MultiCursor, and com.quadcap.sql.PredicateCursor. Definition at line 113 of file FilterCursor.java. References com.quadcap.sql.FilterCursor.cursor, and com.quadcap.sql.Cursor.prev(). |
|
|
Definition at line 73 of file FilterCursor.java. References com.quadcap.sql.FilterCursor.setCursor(). Referenced by com.quadcap.sql.FilterCursor.setCursor(). |
|
|
Set the cursor context in which this subquery is executing.
Reimplemented from com.quadcap.sql.CursorImpl. Definition at line 121 of file FilterCursor.java. References com.quadcap.sql.FilterCursor.cursor, com.quadcap.sql.Cursor.setOuterCursor(), and com.quadcap.sql.FilterCursor.setOuterCursor(). Referenced by com.quadcap.sql.FilterCursor.setOuterCursor(). |
|
|
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. Reimplemented in com.quadcap.sql.AggregateCursor, and com.quadcap.sql.GroupByCursor. Definition at line 130 of file FilterCursor.java. References com.quadcap.sql.FilterCursor.cursor, and com.quadcap.sql.Cursor.size(). |
|
|
Return a string representation for debugging.
Reimplemented from com.quadcap.sql.CursorImpl. Reimplemented in com.quadcap.sql.PredicateCursor. Definition at line 135 of file FilterCursor.java. References com.quadcap.sql.FilterCursor.cursor. |
|
|
Replace the current cursor row with the specified row.
Implements com.quadcap.sql.CursorImpl. Reimplemented in com.quadcap.sql.AggregateCursor, com.quadcap.sql.GroupByCursor, and com.quadcap.sql.HavingCursor. Definition at line 85 of file FilterCursor.java. References com.quadcap.sql.FilterCursor.cursor, com.quadcap.sql.Cursor.updateRow(), and com.quadcap.sql.FilterCursor.updateRow(). Referenced by com.quadcap.sql.FilterCursor.updateRow(). |
|