(cls, function_row)
| 2122 | |
| 2123 | @classmethod |
| 2124 | def _build_function(cls, function_row): |
| 2125 | return_type = cls._schema_type_to_cql(function_row['return_type']) |
| 2126 | deterministic = function_row.get('deterministic', False) |
| 2127 | monotonic = function_row.get('monotonic', False) |
| 2128 | monotonic_on = function_row.get('monotonic_on', ()) |
| 2129 | return Function(function_row['keyspace_name'], function_row['function_name'], |
| 2130 | function_row[cls._function_agg_arument_type_col], function_row['argument_names'], |
| 2131 | return_type, function_row['language'], function_row['body'], |
| 2132 | function_row['called_on_null_input'], |
| 2133 | deterministic, monotonic, monotonic_on) |
| 2134 | |
| 2135 | @classmethod |
| 2136 | def _build_aggregate(cls, aggregate_row): |
no test coverage detected