apache/mahout — pull request #3 by yuhanonescreen (2012-01-27 20:59:32+00:00)
Title: Extending CassandraDataModel

- Added a constructor that allows connection to multiple CassandraHosts.
- Refactored CassandraDataModel.setPreference() to have an extra function to
add preference without calling mutator.execute(); (while keeping the original setPreference() to behave the same) By returning the mutator, we will be able to perform a batch execute on inserting record to cassandra, and it is a lot faster.