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

Method get_aggregate

cassandra/metadata.py:2088–2092  ·  view source on GitHub ↗
(self, keyspaces, keyspace, aggregate)

Source from the content-addressed store, hash-verified

2086 return self._query_build_row(self._SELECT_FUNCTIONS + where_clause, self._build_function)
2087
2088 def get_aggregate(self, keyspaces, keyspace, aggregate):
2089 where_clause = bind_params(" WHERE keyspace_name = %%s AND aggregate_name = %%s AND %s = %%s" % (self._function_agg_arument_type_col,),
2090 (keyspace, aggregate.name, aggregate.argument_types), _encoder)
2091
2092 return self._query_build_row(self._SELECT_AGGREGATES + where_clause, self._build_aggregate)
2093
2094 def get_keyspace(self, keyspaces, keyspace):
2095 where_clause = bind_params(" WHERE keyspace_name = %s", (keyspace,), _encoder)

Callers

nothing calls this directly

Calls 2

bind_paramsFunction · 0.90
_query_build_rowMethod · 0.80

Tested by

no test coverage detected