Retrieves the Record of the current item This method wraps the native ups_cursor_move function. Returns the record of the current Database item. Throws Const.UPS_CURSOR_IS_NIL if the Cursor does not point to any item. More information: <a href="http://files.upscaledb.com/doc
()
| 270 | * @return the record of the current item |
| 271 | */ |
| 272 | public byte[] getRecord() |
| 273 | throws DatabaseException { |
| 274 | byte[] ret = ups_cursor_get_record(m_handle, 0); |
| 275 | if (ret == null) |
| 276 | throw new DatabaseException(Const.UPS_CURSOR_IS_NIL); |
| 277 | return ret; |
| 278 | } |
| 279 | |
| 280 | /** |
| 281 | * Overwrites the current Record |