swh.storage.cassandra.common module

swh.storage.cassandra.common.TOKEN_BEGIN = -9223372036854775808

Minimum value returned by the CQL function token()

swh.storage.cassandra.common.TOKEN_END = 9223372036854775807

Maximum value returned by the CQL function token()

swh.storage.cassandra.common.hash_url(url: str) → bytes[source]