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

Method after_table_cql

cassandra/metadata.py:3318–3321  ·  view source on GitHub ↗
(cls, table_meta, ext_key, ext_blob)

Source from the content-addressed store, hash-verified

3316
3317 @classmethod
3318 def after_table_cql(cls, table_meta, ext_key, ext_blob):
3319 return "RESTRICT ROWS ON %s.%s USING %s;" % (protect_name(table_meta.keyspace_name),
3320 protect_name(table_meta.name),
3321 protect_name(ext_blob.decode('utf-8')))
3322NO_VALID_REPLICA = object()
3323
3324

Callers 2

_all_as_cqlMethod · 0.45
as_cql_queryMethod · 0.45

Calls 2

protect_nameFunction · 0.85
decodeMethod · 0.80

Tested by

no test coverage detected