cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From huajun qi <qih...@gmail.com>
Subject batch_mutate
Date Sun, 23 May 2010 03:10:52 GMT
How to use batch_mutate method in  Cassandra Thrift API. I do it below, but
fails:


sc=SuperColumn(1,cs)

        cosc=ColumnOrSuperColumn(super_column=sc)

        m=Mutation(column_or_supercolumn=cosc)

        ml=[]

        ml.append(m)


 client.batch_mutate(keyspace,{"kw_archive_baidu":list(ml)},ConsistencyLevel.ONE);


what's the problem?

-- 
Location:

Mime
View raw message