incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From karim abbouh <karim_...@yahoo.fr>
Subject Re : selecting data
Date Thu, 19 May 2011 17:10:17 GMT
for example in 0.7 how we use index ?




________________________________
De : Jonathan Ellis <jbellis@gmail.com>
À : user@cassandra.apache.org
Envoyé le : Jeu 19 mai 2011, 18h 04min 48s
Objet : Re: selecting data

only 0.7+ has index support

On Thu, May 19, 2011 at 11:38 AM, Watanabe Maki <watanabe.maki@gmail.com> wrote:
> Cassandra 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 <karim_rbt@yahoo.fr> wrote:
>
> 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 <ksp>.<cf>['<key>']                                  Get a slice
of
> columns.
> get <ksp>.<cf>['<key>']['<super>']                   Get a slice
of sub
> columns.
> get <ksp>.<cf>['<key>']['<col>']                            
Get a column
> value.
> get <ksp>.<cf>['<key>']['<super>']['<col>']           
  Get a sub column
> value.
>
> is there a way for that.
> i think using java API is possible.
> cassandra version : 6.0.12
>
>
> thanks for help
>
>
>
>



-- 
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of DataStax, the source for professional Cassandra support
http://www.datastax.com

Mime
View raw message