Add a Put key with value to currently opened file. @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. @deprecated Use #put(Slice, Slice)
(final Slice key, final Slice value)
| 69 | * @deprecated Use {@link #put(Slice, Slice)} |
| 70 | */ |
| 71 | @Deprecated |
| 72 | public void add(final Slice key, final Slice value) |
| 73 | throws RocksDBException { |
| 74 | put(nativeHandle_, key.getNativeHandle(), value.getNativeHandle()); |
| 75 | } |
| 76 | |
| 77 | /** |
| 78 | * Add a Put key with value to currently opened file. |