The format to return row results in. By default, each returned row will be a named tuple. You can alternatively use any of the following: - :func:`cassandra.query.tuple_factory` - return a result row as a tuple - :func:`cassandra.query.named_tuple_factory`
(self)
| 2343 | _row_factory = staticmethod(named_tuple_factory) |
| 2344 | @property |
| 2345 | def row_factory(self): |
| 2346 | """ |
| 2347 | The format to return row results in. By default, each |
| 2348 | returned row will be a named tuple. You can alternatively |
| 2349 | use any of the following: |
| 2350 | |
| 2351 | - :func:`cassandra.query.tuple_factory` - return a result row as a tuple |
| 2352 | - :func:`cassandra.query.named_tuple_factory` - return a result row as a named tuple |
| 2353 | - :func:`cassandra.query.dict_factory` - return a result row as a dict |
| 2354 | - :func:`cassandra.query.ordered_dict_factory` - return a result row as an OrderedDict |
| 2355 | |
| 2356 | """ |
| 2357 | return self._row_factory |
| 2358 | |
| 2359 | @row_factory.setter |
| 2360 | def row_factory(self, rf): |
no test coverage detected