flambo 2016-04-21

@sorenmacbeth has joined the channel

great idea

let the discussion begin

hmm, what’s happening there?

i think cider is telling me the argument options for CassandraJavaUtil/mapTupleToRow

and since it takes a bunch of TupleN args

make sense

the saveToCassandra stuff is starting to make a little more sense

i think it could be wrapped up pretty well

cool cool

thats the “tested in my cider-scratch buffer” version of saving the word count results in cassandra

that interop ain’t so pretty, though

this old repo was using mapToRow which needs a bean

which is probably why it wasn’t working

i think the mapTupleToRow stuff is newer

nice! that’s not bad at all

you could easily wrap those lines into a save-to-cassandra function

mainly comes down to how to handle mapping the data into a row

and whether you do it automatically somehow

could do multi-arity

(save-to-cassandra rdd) which just tries to figure it out

(save-to-cassandra rdd {“column-name” column-class})

yeah that sounds reasonable

i’m writing a little test/verification app for our new cluster

i’ll try it out there first