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

Method remove

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

Remove the database entry (if any) for "key". Returns OK on success, and a non-OK status on error. It is not an error if "key" did not exist in the database. @param key Key to delete within database @throws RocksDBException thrown if error happens in underlying native library. @deprecated Us

(final byte[] key)

Source from the content-addressed store, hash-verified

1593 * @deprecated Use {@link #delete(byte[])}
1594 */
1595 @Deprecated
1596 public void remove(final byte[] key) throws RocksDBException {
1597 delete(key);
1598 }
1599
1600 /**
1601 * Delete the database entry (if any) for "key". Returns OK on

Callers

nothing calls this directly

Calls 1

deleteMethod · 0.95

Tested by

no test coverage detected