deleting keys

2011-07-05 Thread karim abbouh
i use  get_range_slice to get the list of keys, then i call  client.remove(keyspace, key, columnFamily, timestamp, ConsistencyLevel.ALL); to delete the record but i still have the keys. why? can i do it otherwise?

Re : Re : Re : get_range_slices result

2011-06-30 Thread karim abbouh
take care of encoding for you.  Cheers - Aaron Morton Freelance Cassandra Developer @aaronmorton http://www.thelastpickle.com On 28 Jun 2011, at 22:20, karim abbouh wrote: can i have an example for using    TimeUUIDType   as comparator in a client  java

Re : Re : get_range_slices result

2011-06-28 Thread karim abbouh
can i have an example for using    TimeUUIDType   as comparator in a client  java code. De : karim abbouh À : "user@cassandra.apache.org" Envoyé le : Lundi 27 Juin 2011 17h59 Objet : Re : Re : get_range_slices result i used TimeUUIDType as type

Re : Re : get_range_slices result

2011-06-27 Thread karim abbouh
@cassandra.apache.org Cc : karim abbouh Envoyé le : Vendredi 24 Juin 2011 11h25 Objet : Re: Re : get_range_slices result You can get the best of both worlds by repeating the key in a column, and creating a secondary index on that column. On Fri, Jun 24, 2011 at 1:16 PM, Sylvain Lebresne wrote: >

Re : get_range_slices result

2011-06-24 Thread karim abbouh
what your question is.  Does this help ? http://wiki.apache.org/cassandra/FAQ#range_rp Cheers - Aaron Morton Freelance Cassandra Developer @aaronmorton http://www.thelastpickle.com On 23 Jun 2011, at 21:59, karim abbouh wrote: how can get_range_slices() function returns sorting

get_range_slices result

2011-06-23 Thread karim abbouh
how can get_range_slices() function returns sorting key ? BR

Re : last record rowId

2011-06-17 Thread karim abbouh
is there any way to remember the keys (rowId) inserted in cassandra database? B.R De : Jonathan Ellis À : user@cassandra.apache.org Cc : karim abbouh Envoyé le : Mercredi 15 Juin 2011 18h05 Objet : Re: last record rowId You're better served using UUIDs

client API

2011-06-16 Thread karim abbouh
i use jdk1.6 to install and launch cassandra in a linux platform,but can i use jdk1.5 for my cassandra Client ?

last record rowId

2011-06-15 Thread karim abbouh
in my java application,when we try to insert we should all the time know the last rowId in order the insert the new record in rowId+1,so for that we should save this rowId in a file is there other way to know the last record rowId? thanks B.R

Re : pb deletion

2011-05-31 Thread karim abbouh
i see that the problem happens when i try to remove records from my application but these records were created before from CLI. is there a explication for this? De : Peter Schuller À : user@cassandra.apache.org Envoyé le : Vendredi 27 Mai 2011 19h05 Objet : Re:

pb deletion

2011-05-27 Thread karim abbouh
i use cassandra database replicated in two servers,when want to delete a record using this line : client.remove(keyspace, sKey, new ColumnPath(columnFamily), timestamp, ConsistencyLevel.ONE); but when i check,i see that the record still exist! any idea BR

Re : Re : selecting data

2011-05-20 Thread karim abbouh
a storage-conf.xml is read just at the starting of cassandra? is there a way to add a column family dynamically? BR De : karim abbouh À : user@cassandra.apache.org Envoyé le : Ven 20 mai 2011, 12h 48min 54s Objet : Re : selecting data is there a way to set

Re : selecting data

2011-05-20 Thread karim abbouh
a key, or you need full scan. You need to design your schema carefully as your application needs. On 2011/05/20, at 1:11, karim abbouh wrote: i'm new using cassandra database, >i want to get data as in relationnel database: >select * from table where field="value"; &g

Re : selecting data

2011-05-19 Thread karim abbouh
is not a RDBMS. Only you can do is search on a key, or you need > full scan. > You need to design your schema carefully as your application needs. > > > On 2011/05/20, at 1:11, karim abbouh wrote: > > i'm new using cassandra database, > i want to get data as in relat

Re : selecting data

2011-05-19 Thread karim abbouh
is part of beta release. ____ From: karim abbouh [karim_...@yahoo.fr] Sent: 19 May 2011 21:41 To: user@cassandra.apache.org Subject: selecting data i'm new using cassandra database, i want to get data as in relationnel database: select * from table where field

selecting data

2011-05-19 Thread karim abbouh
i'm new using cassandra database, i want to get data as in relationnel database: select * from table where field="value"; i see using CLI we have just the followings commands : get .[''] Get a slice of columns. get .[''][''] Get a slice of sub colu