MCPcopy Create free account
hub / github.com/apple/foundationdb / get_key

Method get_key

bindings/python/fdb/impl.py:432–436  ·  view source on GitHub ↗
(self, key_selector)

Source from the content-addressed store, hash-verified

430 return Value(self.capi.fdb_transaction_get(self.tpointer, key, len(key), self._snapshot))
431
432 def get_key(self, key_selector):
433 key = keyToBytes(key_selector.key)
434
435 return Key(self.capi.fdb_transaction_get_key(
436 self.tpointer, key, len(key), key_selector.or_equal, key_selector.offset, self._snapshot))
437
438 def _get_range(self, begin, end, limit, streaming_mode, iteration, reverse):
439 beginKey = keyToBytes(begin.key)

Callers 4

test_localityFunction · 0.45
runMethod · 0.45
__creator_get_keyMethod · 0.45
__creator_get_keyMethod · 0.45

Calls 2

keyToBytesFunction · 0.85
KeyClass · 0.70

Tested by 2

test_localityFunction · 0.36
runMethod · 0.36