# `cassandra.decoder` - Data Return Formats

`cassandra.decoder.``tuple_factory`()

  Deprecated in 2.0.0. Use `cassandra.query.tuple_factory()`

`cassandra.decoder.``named_tuple_factory`()

  Deprecated in 2.0.0. Use `cassandra.query.named_tuple_factory()`

`cassandra.decoder.``dict_factory`()

  Deprecated in 2.0.0. Use `cassandra.query.dict_factory()`

`cassandra.decoder.``ordered_dict_factory`()

  Deprecated in 2.0.0. Use `cassandra.query.ordered_dict_factory()`