Implement write method to CassandraClient