incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vicent roca daniel <sap...@gmail.com>
Subject cassandra ruby undefined method
Date Sat, 01 Jan 2011 22:42:52 GMT
Hi guys, I'm new in this list && Cassandra :)

I'm playing with Cassandra with the ruby wrapper, and I can't figurate out
what's happing with this error...
I have this:

app = Cassandra.new('AOM', servers = "127.0.0.1:9160", :transport_wrapper =>
Thrift::FramedTransport)
app.insert(blahh)  --> works OK
app.get(blah) --> works OK

but..
app.get_slice() or get_count(), multiget_slice,etc...  this dont work.

ruby-1.9.2-p0 > app.get_slice()
NoMethodError: undefined method `get_slice' for #<Cassandra:0x1322c28>

ruby-1.9.2-p0 > app.get_slice()
NoMethodError: undefined method `get_slice' for #<Cassandra:0x1322c28>

I don't know what to try. I'm going nutch here :)


Thanks you for your help!

Mime
View raw message