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

Method get_function

cassandra/metadata.py:2083–2086  ·  view source on GitHub ↗
(self, keyspaces, keyspace, function)

Source from the content-addressed store, hash-verified

2081 return dict((t.name, t) for t in types)
2082
2083 def get_function(self, keyspaces, keyspace, function):
2084 where_clause = bind_params(" WHERE keyspace_name = %%s AND function_name = %%s AND %s = %%s" % (self._function_agg_arument_type_col,),
2085 (keyspace, function.name, function.argument_types), _encoder)
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,),

Callers

nothing calls this directly

Calls 2

bind_paramsFunction · 0.90
_query_build_rowMethod · 0.80

Tested by

no test coverage detected