Retrieves the Key of the current item This method wraps the native ups_cursor_move function. Returns the key 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/documenta
()
| 249 | * @return the key of the current item |
| 250 | */ |
| 251 | public byte[] getKey() |
| 252 | throws DatabaseException { |
| 253 | byte[] ret = ups_cursor_get_key(m_handle, 0); |
| 254 | if (ret == null) |
| 255 | throw new DatabaseException(Const.UPS_CURSOR_IS_NIL); |
| 256 | return ret; |
| 257 | } |
| 258 | |
| 259 | /** |
| 260 | * Retrieves the Record of the current item |