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

Method _aggregate_results

cassandra/metadata.py:2733–2744  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2731 self._aggregate_results()
2732
2733 def _aggregate_results(self):
2734 super(SchemaParserV3, self)._aggregate_results()
2735
2736 m = self.keyspace_table_index_rows
2737 for row in self.indexes_result:
2738 ksname = row["keyspace_name"]
2739 cfname = row[self._table_name_col]
2740 m[ksname][cfname].append(row)
2741
2742 m = self.keyspace_view_rows
2743 for row in self.views_result:
2744 m[row["keyspace_name"]].append(row)
2745
2746 @staticmethod
2747 def _schema_type_to_cql(type_string):

Callers 3

_query_allMethod · 0.95
_aggregate_resultsMethod · 0.45
_aggregate_resultsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected