You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cassandra.apache.org by Zubair Quraishi <zu...@gmail.com> on 2010/04/28 22:32:21 UTC

what is wrong with this batch_mutate in erlang?

            {ok, C} = thrift_client:start_link("127.0.0.1",9160,
cassandra_thrift),

            MutationMap = {
                              <<"i2">>,
                              {
                                  <<"KeyValue">>,
                                  [
                                      #mutation{ column_or_supercolumn
= #column{ name = <<"peoperty">> , value = <<"value">> , timestam\
p = 1 } }
                                  ]
                              }
                          },

            thrift_client:call( C,
                   'batch_mutate',
                   [ "Keyspace1",
                     MutationMap,
                     1
                     ] ).