Moving beyond writing Tuple2 - some more involved examples using Spark to write to Cassandra.