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

Method insert

java/java/de/crupp/upscaledb/Cursor.java:329–332  ·  view source on GitHub ↗

Inserts a Database item and points the Cursor to the inserted item @see Cursor#insert(byte[], byte[], int)

(byte[] key, byte[] record)

Source from the content-addressed store, hash-verified

327 * @see Cursor#insert(byte[], byte[], int)
328 */
329 public void insert(byte[] key, byte[] record)
330 throws DatabaseException {
331 insert(key, record, 0);
332 }
333
334 /**
335 * Inserts a Database item and points the Cursor to the inserted item

Callers 14

testGetDuplicateCountMethod · 0.95
testSetComparatorMethod · 0.95
testMoveMethod · 0.45
testMoveFirstMethod · 0.45
testMoveLastMethod · 0.45
testMoveNextMethod · 0.45
testMovePreviousMethod · 0.45
testGetKeyMethod · 0.45
testGetRecordMethod · 0.45
testOverwriteMethod · 0.45

Calls 1

ups_cursor_insertMethod · 0.95

Tested by 14

testGetDuplicateCountMethod · 0.76
testSetComparatorMethod · 0.76
testMoveMethod · 0.36
testMoveFirstMethod · 0.36
testMoveLastMethod · 0.36
testMoveNextMethod · 0.36
testMovePreviousMethod · 0.36
testGetKeyMethod · 0.36
testGetRecordMethod · 0.36
testOverwriteMethod · 0.36