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

Method delete

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

Delete 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.

(final byte[] key)

Source from the content-addressed store, hash-verified

1608 * native library.
1609 */
1610 public void delete(final byte[] key) throws RocksDBException {
1611 delete(nativeHandle_, key, 0, key.length);
1612 }
1613
1614 /**
1615 * Delete the database entry (if any) for "key". Returns OK on

Callers 1

removeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected