Searches a key and points the Cursor to this key This method wraps the native ups_cursor_find function. Searches for an item in the Database and points the Cursor to this item. If the item could not be found, the Cursor is not modified. If the key has multiple duplicates, the Cursor is p
(byte[] key)
| 313 | * @param key the key to search for |
| 314 | */ |
| 315 | public void find(byte[] key) |
| 316 | throws DatabaseException { |
| 317 | if (key == null) |
| 318 | throw new NullPointerException(); |
| 319 | int status = ups_cursor_find(m_handle, key, 0); |
| 320 | if (status != 0) |
| 321 | throw new DatabaseException(status); |
| 322 | } |
| 323 | |
| 324 | /** |
| 325 | * Inserts a Database item and points the Cursor to the inserted item |