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

Method _aggregate_results

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

Source from the content-addressed store, hash-verified

2854 self._aggregate_results()
2855
2856 def _aggregate_results(self):
2857 super(SchemaParserV4, self)._aggregate_results()
2858
2859 m = self.virtual_tables_rows
2860 for row in self.virtual_tables_result:
2861 m[row["keyspace_name"]].append(row)
2862
2863 m = self.virtual_columns_rows
2864 for row in self.virtual_columns_result:
2865 ks_name = row['keyspace_name']
2866 tab_name = row[self._table_name_col]
2867 m[ks_name][tab_name].append(row)
2868
2869 def get_all_keyspaces(self):
2870 for x in super(SchemaParserV4, self).get_all_keyspaces():

Callers 1

_query_allMethod · 0.95

Calls 1

_aggregate_resultsMethod · 0.45

Tested by

no test coverage detected