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

Method _build_aggregate

cassandra/metadata.py:2565–2569  ·  view source on GitHub ↗
(aggregate_row)

Source from the content-addressed store, hash-verified

2563
2564 @staticmethod
2565 def _build_aggregate(aggregate_row):
2566 return Aggregate(aggregate_row['keyspace_name'], aggregate_row['aggregate_name'],
2567 aggregate_row['argument_types'], aggregate_row['state_func'], aggregate_row['state_type'],
2568 aggregate_row['final_func'], aggregate_row['initcond'], aggregate_row['return_type'],
2569 aggregate_row.get('deterministic', False))
2570
2571 def _build_table_metadata(self, row, col_rows=None, trigger_rows=None, index_rows=None, virtual=False):
2572 keyspace_name = row["keyspace_name"]

Callers

nothing calls this directly

Calls 2

AggregateClass · 0.85
getMethod · 0.45

Tested by

no test coverage detected