CQL and subcolumns

2011-11-16 Thread Jone Lura
Hi, I am trying to find out how to use CQL to be able to use cassandra-jdbc in my application, and I have some questions. I have tried to find the answers int the documentation of Cassandra Query Language (CQL) v2.0, but I did not find the answers to my following questions. How do I create a c

Cassandra JDBC

2011-11-16 Thread Jone Lura
Hi, I downloaded the cassandra-jdbc and built with maven. And when I am trying to use it in my application I get an exception on the following code: java.sql.Connection conn = DriverManager.getConnection("jdbc:cassandra://localhost:9160/MyKeyspace"); java.lang.IncompatibleClassChangeError: Im

Re: SV: SV: SV: Help with getting Key range with some column limitations

2010-08-20 Thread Jone Lura
an figure a way to make a range check on one of them if they arnt to many perhaps It would work. /J There are so many opportunities to model that you probably want to make several and test them *Från:* Jone Lura [mailto:jone.l...@ecc.no] *Skickat:* den 20 augusti 2010 10:37 *Ti

Re: SV: SV: Help with getting Key range with some column limitations

2010-08-20 Thread Jone Lura
t_key(rowId); keyRange.setEnd_key(rowId); //Specify what supercolumns you want to get SliceRange sliceRange = new SliceRange(); sliceRange.setStart(new byte[] {}); sliceRange.setFinish(new byte[] {}); /J *Från:* Jone Lura [mailto:jone.l...@ecc.no] *Skickat:* den 20 augusti 2010 08:53 *Till:* user@cassandra.apach

Re: SV: Help with getting Key range with some column limitations

2010-08-19 Thread Jone Lura
iterate through RP because of bugs. But that should be simple enough to 6.4 /Justus *Från:* Jone Lura [mailto:jone.l...@ecc.no] *Skickat:* den 18 augusti 2010 20:32 *Till:* user@cassandra.apache.org *Ämne:* Help with getting Key range with some column limitations Hi, We are trying to implement

Help with getting Key range with some column limitations

2010-08-18 Thread Jone Lura
Hi, We are trying to implement Cassandra to replace one of our biggest SQL tables, and so far we got it working. However, for testing I'm using Cassandra 0.6.2, Java and Pelops. (Pelops not that important for my question) and need suggestions on how to solve a problem retrieving a key range ba