Check the documentation for you client or http://www.datastax.com/docs/1.0/dml/using_cql
Cheers ----------------- Aaron Morton Freelance Developer @aaronmorton http://www.thelastpickle.com On 11/06/2012, at 11:25 PM, MOHD ARSHAD SALEEM wrote: > Hi Sasha, > > one more thing by using API's how to create keyspace and column family > dynamically. write now i have to create first through the command prompt then > that keyspace and column family used in API's. > > Regards > Arshad > From: Sasha Dolgy [sdo...@gmail.com] > Sent: Monday, June 11, 2012 4:49 PM > To: user@cassandra.apache.org > Subject: Re: how to configure cassandra as multi tenant > > Arshad, > > I used google with the following query: apache cassandra multitenant > > Suggest you do the same? As was mentioned earlier, there has been a lot of > discussion about this topic for the past year -- especially on this mailing > list. If you want to use Thrift or, to make your life easier, using Hector > or a similar API, you can create keyspaces however you want ... aligned to > your design / architecture to support Multitenancy. If it's code specific > help you want ... check out the maililng lists / resources for the various > API's that make working with Thrift easier: > > Hector > Pycassa > PHPCassa > > etc. > > -sd > > On Mon, Jun 11, 2012 at 12:05 PM, MOHD ARSHAD SALEEM > <marshadsal...@tataelxsi.co.in>wrote: > Hi Sasha, > > Thanks for your reply. but what you send this is just to create keyspace > manually > using command prompt.how to create keyspace(Multi tenant) automatically > using cassandra API's. > > Regards > Arshad > > From: Sasha Dolgy [sdo...@gmail.com] > Sent: Monday, June 11, 2012 3:09 PM > > To: user@cassandra.apache.org > Subject: Re: how to configure cassandra as multi tenant > > Google, man. > > http://wiki.apache.org/cassandra/MultiTenant > http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/about-multitenant-datamodel-td7575966.html > http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/For-multi-tenant-is-it-good-to-have-a-key-space-for-each-tenant-td6723290.html > > On Mon, Jun 11, 2012 at 11:37 AM, MOHD ARSHAD SALEEM > <marshadsal...@tataelxsi.co.in>wrote: > Hi Aaron, > > Can you send me some particular link related to multi tenant research > > Regards > Arshad > From: aaron morton [aa...@thelastpickle.com] > Sent: Thursday, June 07, 2012 3:34 PM > To: user@cassandra.apache.org > Subject: Re: how to configure cassandra as multi tenant > > Cassandra is not designed to run as a multi tenant database. > > There have been some recent discussions on this, search the user group for > more detailed answers. > > Cheers > > ----------------- > Aaron Morton > Freelance Developer > @aaronmorton > http://www.thelastpickle.com > > On 7/06/2012, at 7:03 PM, MOHD ARSHAD SALEEM wrote: > >> Hi All, >> >> I wanted to know how to use cassandra as a multi tenant . >> >> Regards >> Arshad > > > > > -- > Sasha Dolgy > sasha.do...@gmail.com > > > > -- > Sasha Dolgy > sasha.do...@gmail.com