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

Method put

java/src/main/java/org/rocksdb/SstFileWriter.java:103–105  ·  view source on GitHub ↗

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.

(final Slice key, final Slice value)

Source from the content-addressed store, hash-verified

101 * native library.
102 */
103 public void put(final Slice key, final Slice value) throws RocksDBException {
104 put(nativeHandle_, key.getNativeHandle(), value.getNativeHandle());
105 }
106
107 /**
108 * Add a Put key with value to currently opened file.

Callers 2

newSstFileMethod · 0.95
addMethod · 0.95

Calls 1

getNativeHandleMethod · 0.80

Tested by 1

newSstFileMethod · 0.76