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

Definition at line 48 of file BCursor.java.
Public Member Functions | |
| boolean | seek (byte[] key, int len) throws IOException |
| Seek to (before) the specified key. | |
Package Functions | |
| boolean | seek (byte[] buf) throws IOException |
| Seek to (before) the specified key. | |
| void | beforeFirst () throws IOException |
| Position cursor before the first record. | |
| void | afterLast () throws IOException |
| Position the cursor after the last record. | |
| boolean | absolute (int x) throws IOException |
| Move to the specified record; one-based. | |
| boolean | next () throws IOException |
| Move past the next record and return true the cursor is now pointed at a valid record. | |
| boolean | prev () throws IOException |
| Move before the previous record and return true the cursor is now pointed at a valid record. | |
| int | getKey (byte[] buf) throws IOException |
| byte[] | getKeyBuf () |
| void | setKeyBuf (byte[] buf) |
| int | getKeyLen () |
| byte[] | getKey () |
| int | getVal (byte[] buf) throws IOException |
| byte[] | getValBuf () |
| void | setValBuf (byte[] buf) |
| int | getValLen () |
| byte[] | getVal () |
| long | getValAsLong () throws IOException |
| long | size () throws IOException |
| long | position () throws IOException |
| void | release () |
| Release this cursor back to the pool. | |
| void | close () throws IOException |
| Release any resources held by this cursor (but maintain ownership of it -- it can be resurrected by another positioning call. | |
| boolean | delete () throws IOException |
| Delete the currently positioned record. | |
| boolean | insert (byte[] key, int klen, byte[] data, int doff, int dlen) throws IOException |
| Insert a new key/data pair. | |
| boolean | insert (byte[] key, byte[] data) throws IOException |
| boolean | replace (byte[] data, int doff, int dlen) throws IOException |
| Replace the data portion of the current item with the specified data. | |
| boolean | replace (byte[] data) throws IOException |
|
|
Move to the specified record; one-based. -1 means last record, -2 means next to last, etc.
Implemented in com.quadcap.sql.index.BtreeCursor. |
|
|
Position the cursor after the last record.
Implemented in com.quadcap.sql.index.BtreeCursor. Referenced by com.quadcap.sql.IndexCursor.afterLast(). |
|
|
Position cursor before the first record.
Implemented in com.quadcap.sql.index.BtreeCursor. Referenced by com.quadcap.sql.IndexCursor.beforeFirst(), com.quadcap.sql.UpdateIndex.finish(), and com.quadcap.sql.IndexCursor.reset(). |
|
|
Release any resources held by this cursor (but maintain ownership of it -- it can be resurrected by another positioning call.
Implemented in com.quadcap.sql.index.BtreeCursor. Referenced by com.quadcap.sql.index.Btree.releaseCursor(). |
|
|
Delete the currently positioned record.
Implemented in com.quadcap.sql.index.BtreeCursor. Referenced by com.quadcap.sql.index.Btree.delete(), com.quadcap.sql.Database.getRelationNameIterator(), com.quadcap.sql.Database.removeRelation(), and com.quadcap.sql.Database.renameRelation(). |
|
|
Implemented in com.quadcap.sql.index.BtreeCursor. |
|
|
|
Implemented in com.quadcap.sql.index.BtreeCursor. Referenced by com.quadcap.sql.IndexCursor.next(), and com.quadcap.sql.IndexCursor.prev(). |
|
|
Implemented in com.quadcap.sql.index.BtreeCursor. Referenced by com.quadcap.sql.IndexCursor.next(), and com.quadcap.sql.IndexCursor.prev(). |
|
|
Implemented in com.quadcap.sql.index.BtreeCursor. |
|
|
|
|
|
Implemented in com.quadcap.sql.index.BtreeCursor. Referenced by com.quadcap.sql.UpdateIndex.finish(), com.quadcap.sql.index.Btree.get(), and com.quadcap.sql.Database.getTableIdentity(). |
|
||||||||||||
|
Implemented in com.quadcap.sql.index.BtreeCursor. |
|
||||||||||||||||||||||||
|
Insert a new key/data pair. We are presumably positioned just before the spot where the new record should go, but we will check, anyway. Implemented in com.quadcap.sql.index.BtreeCursor. Referenced by com.quadcap.sql.Database.addRelation(), com.quadcap.sql.TempTableMerge.addRows(), com.quadcap.sql.Database.renameRelation(), and com.quadcap.sql.UnaryExpression.uniqueValue(). |
|
|
Move past the next record and return true the cursor is now pointed at a valid record.
Implemented in com.quadcap.sql.index.BtreeCursor. Referenced by com.quadcap.sql.ExportedKeyConstraint.checkKeyRemoval(), com.quadcap.sql.StmtDropTable.deleteRows(), com.quadcap.sql.index.Btree.display(), com.quadcap.sql.StmtDropColumn.execute(), com.quadcap.sql.StmtAddColumn.execute(), com.quadcap.sql.UpdateIndex.finish(), com.quadcap.sql.Database.getRelationNameIterator(), com.quadcap.sql.TempTable.release(), and com.quadcap.sql.Database.renameIndexedTable(). |
|
|
Implemented in com.quadcap.sql.index.BtreeCursor. |
|
|
Move before the previous record and return true the cursor is now pointed at a valid record.
Implemented in com.quadcap.sql.index.BtreeCursor. Referenced by com.quadcap.sql.Database.renameIndexedTable(). |
|
|
|
Implemented in com.quadcap.sql.index.BtreeCursor. |
|
||||||||||||||||
|
Replace the data portion of the current item with the specified data.
Implemented in com.quadcap.sql.index.BtreeCursor. Referenced by com.quadcap.sql.TempTableMerge.addRows(), com.quadcap.sql.Database.renameIndexedTable(), and com.quadcap.sql.Database.updateTableIdentity(). |
|
|
Seek to (before) the specified key.
Implemented in com.quadcap.sql.index.BtreeCursor. |
|
||||||||||||
|
|
Implemented in com.quadcap.sql.index.BtreeCursor. |
|
|
Implemented in com.quadcap.sql.index.BtreeCursor. |
|
|
Implemented in com.quadcap.sql.index.BtreeCursor. |