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

Method key

java/src/main/java/org/rocksdb/RocksIterator.java:35–38  ·  view source on GitHub ↗

Return the key for the current entry. The underlying storage for the returned slice is valid only until the next modification of the iterator. REQUIRES: #isValid() @return key for the current entry.

()

Source from the content-addressed store, hash-verified

33 * @return key for the current entry.
34 */
35 public byte[] key() {
36 assert(isOwningHandle());
37 return key0(nativeHandle_);
38 }
39
40 /**
41 * <p>Return the value for the current entry. The underlying storage for

Callers 5

runTaskMethod · 0.95
iteratorsMethod · 0.95
mainMethod · 0.45

Calls 2

key0Method · 0.95
isOwningHandleMethod · 0.45

Tested by 2

iteratorsMethod · 0.76