{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">> , timestamp = 1
} }
]
}
},
thrift_client:call( C,
'batch_mutate',
[ "Keyspace1",
MutationMap,
1
] ).
