MCPcopy Create free account
hub / github.com/apache/cassandra-python-driver / from_key

Method from_key

cassandra/metadata.py:1802–1803  ·  view source on GitHub ↗
(cls, key)

Source from the content-addressed store, hash-verified

1800
1801 @classmethod
1802 def from_key(cls, key):
1803 return cls(cls.hash_fn(key))
1804
1805 @classmethod
1806 def from_string(cls, token_string):

Callers 2

insert_select_tokenMethod · 0.80
get_replicasMethod · 0.80

Calls 1

hash_fnMethod · 0.45

Tested by 1

insert_select_tokenMethod · 0.64