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

Method distance

cassandra/policies.py:362–363  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

360 (self.__class__.__name__, self._cluster_metadata.partitioner))
361
362 def distance(self, *args, **kwargs):
363 return self._child_policy.distance(*args, **kwargs)
364
365 def make_query_plan(self, working_keyspace=None, query=None):
366 if query and query.keyspace:

Callers 2

test_get_distanceMethod · 0.95
test_status_updatesMethod · 0.95

Calls 1

distanceMethod · 0.45

Tested by 2

test_get_distanceMethod · 0.76
test_status_updatesMethod · 0.76