MCPcopy Create free account
hub / github.com/bytedance/terarkdb / put

Method put

java/src/main/java/org/rocksdb/RocksDB.java:465–468  ·  view source on GitHub ↗

Set the database entry for "key" to "value". @param key the specified key to be inserted. @param value the value associated with the specified key. @throws RocksDBException thrown if error happens in underlying native library.

(final byte[] key, final byte[] value)

Source from the content-addressed store, hash-verified

463 * native library.
464 */
465 public void put(final byte[] key, final byte[] value)
466 throws RocksDBException {
467 put(nativeHandle_, key, 0, key.length, value, 0, value.length);
468 }
469
470 /**
471 * Set the database entry for "key" to "value"

Callers 2

restoreLatestBackupMethod · 0.95
restoreFromBackupMethod · 0.95

Calls 1

checkBoundsMethod · 0.95

Tested by 2

restoreLatestBackupMethod · 0.76
restoreFromBackupMethod · 0.76