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

Method _build_column_metadata

cassandra/metadata.py:2670–2676  ·  view source on GitHub ↗
(table_metadata, row)

Source from the content-addressed store, hash-verified

2668
2669 @staticmethod
2670 def _build_column_metadata(table_metadata, row):
2671 name = row["column_name"]
2672 cql_type = row["type"]
2673 is_static = row.get("kind", None) == "static"
2674 is_reversed = row["clustering_order"].upper() == "DESC"
2675 column_meta = ColumnMetadata(table_metadata, name, cql_type, is_static, is_reversed)
2676 return column_meta
2677
2678 @staticmethod
2679 def _build_index_metadata(table_metadata, row):

Callers 1

_build_table_columnsMethod · 0.95

Calls 2

ColumnMetadataClass · 0.85
getMethod · 0.45

Tested by

no test coverage detected