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

Method getRecord

java/java/de/crupp/upscaledb/Cursor.java:272–278  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

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

Callers 6

testGetRecordMethod · 0.95
testOverwriteMethod · 0.95
testFindMethod · 0.95
testSelectRangeMethod · 0.95

Calls 1

ups_cursor_get_recordMethod · 0.95

Tested by 6

testGetRecordMethod · 0.76
testOverwriteMethod · 0.76
testFindMethod · 0.76
testSelectRangeMethod · 0.76