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

Definition at line 70 of file GroupByCursor.java.
Public Member Functions | |
| GroupByCursor (Session session, Cursor cursor, Vector groupBy) throws SQLException | |
| 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 | deleteRow () throws SQLException |
| Delete the current cursor row. | |
| void | beforeFirst () throws SQLException |
| Position the cursor before the first row. | |
| boolean | lastRowOfGroup () |
| boolean | next () throws SQLException |
| Advance the cursor and return true if we advanced to a valid row. | |
| boolean | nextRow () throws SQLException, IOException, ClassNotFoundException |
| boolean | isWritable (int col) throws SQLException |
| Return true if the specified column is writable. | |
| long | size () |
| I honestly have no idea. | |
| 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 Functions | |
| final void | swapRows () |
Package Attributes | |
| Vector | groupBy = null |
| int | currentRowNum = 0 |
| byte[] | prevKey = new byte[32] |
| int | prevKeyLen = -1 |
| int[] | gMap = null |
| BCursor | bc = null |
| LazyRow | prevRow = null |
| LazyRow | currRow = null |
| boolean | sameGroup = false |
| boolean | prev = false |
| Key | compare = null |
| TempTable | tempTable = null |
|
||||||||||||||||
|
|
Position the cursor before the first row.
Reimplemented from com.quadcap.sql.FilterCursor. Definition at line 124 of file GroupByCursor.java. References com.quadcap.sql.GroupByCursor.bc, com.quadcap.sql.GroupByCursor.nextRow(), and com.quadcap.sql.GroupByCursor.prev. Referenced by com.quadcap.sql.GroupByCursor.GroupByCursor(). |
|
|
Close the cursor and free up any resources (including closing the cursor's transaction if that is feasible) used by the cursor.
Reimplemented from com.quadcap.sql.FilterCursor. Definition at line 192 of file GroupByCursor.java. References com.quadcap.sql.GroupByCursor.bc, com.quadcap.sql.TempTable.release(), and com.quadcap.sql.GroupByCursor.tempTable. |
|
|
Delete the current cursor row.
Reimplemented from com.quadcap.sql.FilterCursor. Definition at line 119 of file GroupByCursor.java. |
|
|
Derived class implements this function to return the current cursor row. Implementation required. Reimplemented from com.quadcap.sql.FilterCursor. Definition at line 109 of file GroupByCursor.java. References com.quadcap.sql.GroupByCursor.prevRow. |
|
|
Return true if the specified column is writable.
Reimplemented from com.quadcap.sql.FilterCursor. Definition at line 183 of file GroupByCursor.java. References com.quadcap.sql.GroupByCursor.isWritable(). Referenced by com.quadcap.sql.GroupByCursor.isWritable(). |
|
|
Definition at line 135 of file GroupByCursor.java. References com.quadcap.sql.GroupByCursor.sameGroup. Referenced by com.quadcap.sql.AggregateCursor.next(). |
|
|
Advance the cursor and return true if we advanced to a valid row.
Reimplemented from com.quadcap.sql.FilterCursor. Definition at line 140 of file GroupByCursor.java. References com.quadcap.sql.GroupByCursor.nextRow(), and com.quadcap.sql.GroupByCursor.prev. |
|
|
|
I honestly have no idea.
Reimplemented from com.quadcap.sql.FilterCursor. Definition at line 190 of file GroupByCursor.java. |
|
|
Definition at line 176 of file GroupByCursor.java. References com.quadcap.sql.GroupByCursor.currRow, and com.quadcap.sql.GroupByCursor.prevRow. Referenced by com.quadcap.sql.GroupByCursor.nextRow(). |
|
|
Replace the current cursor row with the specified row.
Reimplemented from com.quadcap.sql.FilterCursor. Definition at line 114 of file GroupByCursor.java. References com.quadcap.sql.GroupByCursor.updateRow(). Referenced by com.quadcap.sql.GroupByCursor.updateRow(). |
|
|
Definition at line 76 of file GroupByCursor.java. Referenced by com.quadcap.sql.GroupByCursor.beforeFirst(), com.quadcap.sql.GroupByCursor.close(), and com.quadcap.sql.GroupByCursor.nextRow(). |
|
|
Definition at line 81 of file GroupByCursor.java. Referenced by com.quadcap.sql.GroupByCursor.nextRow(). |
|
|
Definition at line 72 of file GroupByCursor.java. |
|
|
Definition at line 78 of file GroupByCursor.java. Referenced by com.quadcap.sql.GroupByCursor.nextRow(), and com.quadcap.sql.GroupByCursor.swapRows(). |
|
|
Definition at line 75 of file GroupByCursor.java. Referenced by com.quadcap.sql.GroupByCursor.GroupByCursor(). |
|
|
Definition at line 71 of file GroupByCursor.java. Referenced by com.quadcap.sql.GroupByCursor.GroupByCursor(). |
|
|
Definition at line 80 of file GroupByCursor.java. Referenced by com.quadcap.sql.GroupByCursor.beforeFirst(), and com.quadcap.sql.GroupByCursor.next(). |
|
|
Definition at line 73 of file GroupByCursor.java. Referenced by com.quadcap.sql.GroupByCursor.nextRow(). |
|
|
Definition at line 74 of file GroupByCursor.java. Referenced by com.quadcap.sql.GroupByCursor.nextRow(). |
|
|
Definition at line 77 of file GroupByCursor.java. Referenced by com.quadcap.sql.GroupByCursor.getRow(), and com.quadcap.sql.GroupByCursor.swapRows(). |
|
|
Definition at line 79 of file GroupByCursor.java. Referenced by com.quadcap.sql.GroupByCursor.lastRowOfGroup(), and com.quadcap.sql.GroupByCursor.nextRow(). |
|
|
Definition at line 82 of file GroupByCursor.java. Referenced by com.quadcap.sql.GroupByCursor.close(), com.quadcap.sql.GroupByCursor.GroupByCursor(), and com.quadcap.sql.GroupByCursor.nextRow(). |