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

Definition at line 56 of file PredicateCursor.java.
Public Member Functions | |
| PredicateCursor (Session session, Cursor cursor, Expression predicate) throws SQLException | |
| A PredicateCursor is a kind of FilterCursor which only returns rows which match a predicate. | |
| Row | getRow () throws SQLException |
| Return the current cursor row. | |
| boolean | next () throws SQLException |
| Cursor.next() Advance the cursor and return 'true' if the cursor advances past a valid item. | |
| boolean | prev () throws SQLException |
| Cursor.next() Retreat the cursor and return 'true' if the cursor moves past a valid item. | |
| boolean | absolute (int row) throws SQLException |
| Position the cursor to the specified absolute row. | |
| String | toString () |
| Return a string representation for debugging. | |
Package Attributes | |
| Expression | predicate = null |
| Row | row = null |
|
||||||||||||||||
|
A PredicateCursor is a kind of FilterCursor which only returns rows which match a predicate.
Definition at line 64 of file PredicateCursor.java. References com.quadcap.sql.PredicateCursor.predicate. |
|
|
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.FilterCursor. Definition at line 113 of file PredicateCursor.java. References com.quadcap.sql.PredicateCursor.absolute(), com.quadcap.sql.FilterCursor.afterLast(), com.quadcap.sql.FilterCursor.beforeFirst(), com.quadcap.sql.PredicateCursor.next(), com.quadcap.sql.PredicateCursor.prev(), and com.quadcap.sql.PredicateCursor.row. Referenced by com.quadcap.sql.PredicateCursor.absolute(). |
|
|
Return the current cursor row.
Reimplemented from com.quadcap.sql.FilterCursor. Definition at line 73 of file PredicateCursor.java. References com.quadcap.sql.PredicateCursor.row. |
|
|
Cursor.next() Advance the cursor and return 'true' if the cursor advances past a valid item. This item becomes the current row. Reimplemented from com.quadcap.sql.FilterCursor. Definition at line 81 of file PredicateCursor.java. References com.quadcap.sql.Cursor.getRow(), com.quadcap.sql.Expression.getValue(), com.quadcap.sql.Cursor.next(), com.quadcap.sql.PredicateCursor.predicate, and com.quadcap.sql.PredicateCursor.row. Referenced by com.quadcap.sql.PredicateCursor.absolute(). |
|
|
Cursor.next() Retreat the cursor and return 'true' if the cursor moves past a valid item. This item becomes the current row. Reimplemented from com.quadcap.sql.FilterCursor. Definition at line 98 of file PredicateCursor.java. References com.quadcap.sql.Cursor.getRow(), com.quadcap.sql.Expression.getValue(), com.quadcap.sql.PredicateCursor.predicate, com.quadcap.sql.Cursor.prev(), and com.quadcap.sql.PredicateCursor.row. Referenced by com.quadcap.sql.PredicateCursor.absolute(). |
|
|
Return a string representation for debugging.
Reimplemented from com.quadcap.sql.FilterCursor. Definition at line 126 of file PredicateCursor.java. |
|
|
Definition at line 57 of file PredicateCursor.java. Referenced by com.quadcap.sql.PredicateCursor.next(), com.quadcap.sql.PredicateCursor.PredicateCursor(), and com.quadcap.sql.PredicateCursor.prev(). |
|
|
Definition at line 58 of file PredicateCursor.java. Referenced by com.quadcap.sql.PredicateCursor.absolute(), com.quadcap.sql.PredicateCursor.getRow(), com.quadcap.sql.PredicateCursor.next(), and com.quadcap.sql.PredicateCursor.prev(). |