MCPcopy Create free account
hub / github.com/cruppstahl/upscaledb / getKey

Method getKey

java/java/de/crupp/upscaledb/Cursor.java:251–257  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

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

Callers 3

testGetKeyMethod · 0.95
testFindMethod · 0.95

Calls 1

ups_cursor_get_keyMethod · 0.95

Tested by 3

testGetKeyMethod · 0.76
testFindMethod · 0.76