cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mobiledream...@gmail.com
Subject how to get the super row slice in the new cassandra
Date Sat, 22 Aug 2009 09:26:21 GMT
 r.client.get_slice( 'Keyspace1', 'tofu', r.ColumnParent('Related',
'Super1'),0, 0)


this doesnt work
what goes for predicate and consistency level

getting this error
cassandra/Cassandra.pyc in send_get_slice(self, keyspace, key,
column_parent, predicate, consistency_level)
    149     args.predicate = predicate
    150     args.consistency_level = consistency_level
--> 151     args.write(self._oprot)
    152     self._oprot.writeMessageEnd()
    153     self._oprot.trans.flush()


Cassandra.pyc in write(self, oprot)
    816     if self.predicate != None:
    817       oprot.writeFieldBegin('predicate', TType.STRUCT, 4)
--> 818       self.predicate.write(oprot)
    819       oprot.writeFieldEnd()
    820     if self.consistency_level != None:

AttributeError: 'int' object has no attribute 'write'



-- 
Bidegg worlds best auction site
http://bidegg.com

Mime
View raw message