This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-04-21
Channels
- # admin-announcements (2)
- # beginners (22)
- # boot (223)
- # cider (161)
- # cljs-dev (19)
- # cljsrn (4)
- # clojure (186)
- # clojure-austin (6)
- # clojure-beijing (1)
- # clojure-boston (3)
- # clojure-china (1)
- # clojure-czech (1)
- # clojure-france (1)
- # clojure-greece (10)
- # clojure-russia (17)
- # clojure-uk (154)
- # clojurebridge (3)
- # clojurescript (82)
- # component (12)
- # cursive (12)
- # datomic (71)
- # dirac (3)
- # editors (2)
- # emacs (29)
- # flambo (31)
- # hoplon (21)
- # immutant (11)
- # instaparse (17)
- # jobs (2)
- # jobs-discuss (2)
- # jobs-rus (1)
- # lein-figwheel (12)
- # leiningen (2)
- # off-topic (44)
- # om (78)
- # onyx (38)
- # parinfer (1)
- # re-frame (34)
- # reagent (32)
- # spacemacs (56)
- # untangled (74)
- # vim (12)
- # yada (2)
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