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)
| 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" |