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?
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
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
@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:
>
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
how can get_range_slices() function returns sorting key ?
BR
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
i use jdk1.6 to install and launch cassandra in a linux platform,but can i use
jdk1.5 for my cassandra Client ?
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
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:
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
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
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
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
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
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
16 matches
Mail list logo