Overwrites the current Record This method wraps the native ups_cursor_overwrite function. This function overwrites the record of the current item. More information: C docume
(byte[] record)
| 289 | * @param record the new Record of the item |
| 290 | */ |
| 291 | public void overwrite(byte[] record) |
| 292 | throws DatabaseException { |
| 293 | if (record == null) |
| 294 | throw new NullPointerException(); |
| 295 | int status = ups_cursor_overwrite(m_handle, record, 0); |
| 296 | if (status != 0) |
| 297 | throw new DatabaseException(status); |
| 298 | } |
| 299 | |
| 300 | /** |
| 301 | * Searches a key and points the Cursor to this key |