You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cassandra.apache.org by bxqdev <bx...@themailbay.com> on 2012/01/27 13:26:35 UTC

Thift vs. CQL

Hello!

   Datastax's Cassandra documentation says that CQL API is the future of 
Cassandra API. It's also says that eventually Thift API will be removed 
completely. Is it true? Do you have any plans of removing Thift API, 
leaving CQL API only??

thanks.

Re: How to create a table in Cassandra

Posted by aaron morton <aa...@thelastpickle.com>.
Check the documentation  here http://www.datastax.com/docs/1.0/index

Cheers

-----------------
Aaron Morton
Freelance Developer
@aaronmorton
http://www.thelastpickle.com

On 28/01/2012, at 3:36 AM, anandbabu.d@polarisFT.com wrote:

> 
> Can anyone tell me how to create a table in the Cassandra..... I have
> installed it... and I am new to this...
> Thanks,
> Barnabas
> 
> 
> 
> This e-Mail may contain proprietary and confidential information and is sent for the intended recipient(s) only.  If by an addressing or transmission error this mail has been misdirected to you, you are requested to delete this mail immediately. You are also hereby notified that any use, any form of reproduction, dissemination, copying, disclosure, modification, distribution and/or publication of this e-mail message, contents or its attachment other than by its intended recipient/s is strictly prohibited.
> 
> Visit us at http://www.polarisFT.com
> 


Re: How to create a table in Cassandra

Posted by "R. Verlangen" <ro...@us2.nl>.
A "table" is called a "column family" in Cassandra.

>From the CLI you can just create one by typing:

create column family MyApplication;


---------- Forwarded message ----------
> From:  <an...@polarisft.com>
> Date: Fri, Jan 27, 2012 at 2:36 PM
> Subject: How to create a table in Cassandra
> To: dev@cassandra.apache.org
>
>
>
> Can anyone tell me how to create a table in the Cassandra..... I have
> installed it... and I am new to this...
> Thanks,
> Barnabas
>
>
>
> This e-Mail may contain proprietary and confidential information and
> is sent for the intended recipient(s) only.  If by an addressing or
> transmission error this mail has been misdirected to you, you are
> requested to delete this mail immediately. You are also hereby
> notified that any use, any form of reproduction, dissemination,
> copying, disclosure, modification, distribution and/or publication of
> this e-mail message, contents or its attachment other than by its
> intended recipient/s is strictly prohibited.
>
> Visit us at http://www.polarisFT.com
>

Fwd: How to create a table in Cassandra

Posted by Nate McCall <na...@datastax.com>.
[moving to user@cassandra.apache.org]

Since you have it installed, you can start experimenting with the CLI.
Take a look at the following:
http://www.datastax.com/docs/1.0/dml/using_cli

cql-shell as well if you have python in your environment:
http://www.datastax.com/docs/1.0/dml/using_cql

---------- Forwarded message ----------
From:  <an...@polarisft.com>
Date: Fri, Jan 27, 2012 at 2:36 PM
Subject: How to create a table in Cassandra
To: dev@cassandra.apache.org



Can anyone tell me how to create a table in the Cassandra..... I have
installed it... and I am new to this...
Thanks,
Barnabas



This e-Mail may contain proprietary and confidential information and
is sent for the intended recipient(s) only.  If by an addressing or
transmission error this mail has been misdirected to you, you are
requested to delete this mail immediately. You are also hereby
notified that any use, any form of reproduction, dissemination,
copying, disclosure, modification, distribution and/or publication of
this e-mail message, contents or its attachment other than by its
intended recipient/s is strictly prohibited.

Visit us at http://www.polarisFT.com

Re: How to create a table in Cassandra

Posted by aaron morton <aa...@thelastpickle.com>.
This question belongs on the user list, I will answer it there. 

Cheers
-----------------
Aaron Morton
Freelance Developer
@aaronmorton
http://www.thelastpickle.com

On 28/01/2012, at 3:36 AM, anandbabu.d@polarisFT.com wrote:

> 
> Can anyone tell me how to create a table in the Cassandra..... I have
> installed it... and I am new to this...
> Thanks,
> Barnabas
> 
> 
> 
> This e-Mail may contain proprietary and confidential information and is sent for the intended recipient(s) only.  If by an addressing or transmission error this mail has been misdirected to you, you are requested to delete this mail immediately. You are also hereby notified that any use, any form of reproduction, dissemination, copying, disclosure, modification, distribution and/or publication of this e-mail message, contents or its attachment other than by its intended recipient/s is strictly prohibited.
> 
> Visit us at http://www.polarisFT.com
> 


How to create a table in Cassandra

Posted by an...@polarisFT.com.
Can anyone tell me how to create a table in the Cassandra..... I have
installed it... and I am new to this...
Thanks,
Barnabas



This e-Mail may contain proprietary and confidential information and is sent for the intended recipient(s) only.  If by an addressing or transmission error this mail has been misdirected to you, you are requested to delete this mail immediately. You are also hereby notified that any use, any form of reproduction, dissemination, copying, disclosure, modification, distribution and/or publication of this e-mail message, contents or its attachment other than by its intended recipient/s is strictly prohibited.

Visit us at http://www.polarisFT.com


Re: Thift vs. CQL

Posted by Jonathan Ellis <jb...@gmail.com>.
[moving to user list]

There are no plans to remove the Thrift API.

On Fri, Jan 27, 2012 at 6:26 AM, bxqdev <bx...@themailbay.com> wrote:
> Hello!
>
>  Datastax's Cassandra documentation says that CQL API is the future of
> Cassandra API. It's also says that eventually Thift API will be removed
> completely. Is it true? Do you have any plans of removing Thift API, leaving
> CQL API only??
>
> thanks.



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

Re: Thift vs. CQL

Posted by Jonathan Ellis <jb...@gmail.com>.
[moving to user list]

There are no plans to remove the Thrift API.

On Fri, Jan 27, 2012 at 6:26 AM, bxqdev <bx...@themailbay.com> wrote:
> Hello!
>
>  Datastax's Cassandra documentation says that CQL API is the future of
> Cassandra API. It's also says that eventually Thift API will be removed
> completely. Is it true? Do you have any plans of removing Thift API, leaving
> CQL API only??
>
> thanks.



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

Re: Thift vs. CQL

Posted by bxqdev <bx...@themailbay.com>.
i like thrift and i want to use it.
i want to use procedure code, instead of query language.
i just need to be sure it won't be dropped on day in favor to cql.
in my opinion, they can't replace each other.
they are different apis with different philosophies.

On 1/28/2012 12:34 PM, aaron morton wrote:
> Use a higher level client for your language http://wiki.apache.org/cassandra/ClientOptions and avoid the question.
>
> The different is mostly of concern to client writers.
>
> (both are supported now and that situation may not last for ever. )
>
> Cheers
>
> -----------------
> Aaron Morton
> Freelance Developer
> @aaronmorton
> http://www.thelastpickle.com
>
> On 28/01/2012, at 1:26 AM, bxqdev wrote:
>
>> Hello!
>>
>> Datastax's Cassandra documentation says that CQL API is the future of Cassandra API. It's also says that eventually Thift API
>> will be removed completely. Is it true? Do you have any plans of removing Thift API, leaving CQL API only??
>>
>> thanks.
>

Re: Thift vs. CQL

Posted by aaron morton <aa...@thelastpickle.com>.
Someone who knows more that me said the opposite and I did not want to appear to know more than I do.  

To be clear I don't know of any plans to kill of Thrift. It was late night opinion. 
 
Cheers

-----------------
Aaron Morton
Freelance Developer
@aaronmorton
http://www.thelastpickle.com

On 28/01/2012, at 10:19 PM, bxqdev wrote:

> 
> 
> On 1/28/2012 12:41 PM, aaron morton wrote:
>> Please disregard my "(both are supported now and that situation may not last for ever. )" comment.
> 
> ok, but why did you change you mind?
> 
>> 
>> Aaron
>> 
>> -----------------
>> Aaron Morton
>> Freelance Developer
>> @aaronmorton
>> http://www.thelastpickle.com
>> 
>> On 28/01/2012, at 9:34 PM, aaron morton wrote:
>> 
>>> Use a higher level client for your language http://wiki.apache.org/cassandra/ClientOptions and avoid the question.
>>> 
>>> The different is mostly of concern to client writers.
>>> 
>>> (both are supported now and that situation may not last for ever. )
>>> 
>>> Cheers
>>> 
>>> -----------------
>>> Aaron Morton
>>> Freelance Developer
>>> @aaronmorton
>>> http://www.thelastpickle.com <http://www.thelastpickle.com/>
>>> 
>>> On 28/01/2012, at 1:26 AM, bxqdev wrote:
>>> 
>>>> Hello!
>>>> 
>>>> Datastax's Cassandra documentation says that CQL API is the future of Cassandra API. It's also says that eventually Thift API
>>>> will be removed completely. Is it true? Do you have any plans of removing Thift API, leaving CQL API only??
>>>> 
>>>> thanks.
>>> 
>> 


Re: Thift vs. CQL

Posted by bxqdev <bx...@themailbay.com>.

On 1/28/2012 12:41 PM, aaron morton wrote:
> Please disregard my "(both are supported now and that situation may not last for ever. )" comment.

ok, but why did you change you mind?

>
> Aaron
>
> -----------------
> Aaron Morton
> Freelance Developer
> @aaronmorton
> http://www.thelastpickle.com
>
> On 28/01/2012, at 9:34 PM, aaron morton wrote:
>
>> Use a higher level client for your language http://wiki.apache.org/cassandra/ClientOptions and avoid the question.
>>
>> The different is mostly of concern to client writers.
>>
>> (both are supported now and that situation may not last for ever. )
>>
>> Cheers
>>
>> -----------------
>> Aaron Morton
>> Freelance Developer
>> @aaronmorton
>> http://www.thelastpickle.com <http://www.thelastpickle.com/>
>>
>> On 28/01/2012, at 1:26 AM, bxqdev wrote:
>>
>>> Hello!
>>>
>>> Datastax's Cassandra documentation says that CQL API is the future of Cassandra API. It's also says that eventually Thift API
>>> will be removed completely. Is it true? Do you have any plans of removing Thift API, leaving CQL API only??
>>>
>>> thanks.
>>
>

Re: Thift vs. CQL

Posted by aaron morton <aa...@thelastpickle.com>.
Please disregard my "(both are supported now and that situation may not last for ever. )" comment. 

Aaron

-----------------
Aaron Morton
Freelance Developer
@aaronmorton
http://www.thelastpickle.com

On 28/01/2012, at 9:34 PM, aaron morton wrote:

> Use a higher level client for your language http://wiki.apache.org/cassandra/ClientOptions and avoid the question. 
> 
> The different is mostly of concern to client writers. 
> 
> (both are supported now and that situation may not last for ever. )
> 
> Cheers
> 
> -----------------
> Aaron Morton
> Freelance Developer
> @aaronmorton
> http://www.thelastpickle.com
> 
> On 28/01/2012, at 1:26 AM, bxqdev wrote:
> 
>> Hello!
>> 
>>  Datastax's Cassandra documentation says that CQL API is the future of Cassandra API. It's also says that eventually Thift API will be removed completely. Is it true? Do you have any plans of removing Thift API, leaving CQL API only??
>> 
>> thanks.
> 


Re: Thift vs. CQL

Posted by aaron morton <aa...@thelastpickle.com>.
Use a higher level client for your language http://wiki.apache.org/cassandra/ClientOptions and avoid the question. 

The different is mostly of concern to client writers. 

(both are supported now and that situation may not last for ever. )

Cheers

-----------------
Aaron Morton
Freelance Developer
@aaronmorton
http://www.thelastpickle.com

On 28/01/2012, at 1:26 AM, bxqdev wrote:

> Hello!
> 
>  Datastax's Cassandra documentation says that CQL API is the future of Cassandra API. It's also says that eventually Thift API will be removed completely. Is it true? Do you have any plans of removing Thift API, leaving CQL API only??
> 
> thanks.


Re: Thift vs. CQL

Posted by aaron morton <aa...@thelastpickle.com>.
This question belongs on the user list, I will answer it there. 


-----------------
Aaron Morton
Freelance Developer
@aaronmorton
http://www.thelastpickle.com

On 28/01/2012, at 1:26 AM, bxqdev wrote:

> Hello!
> 
>  Datastax's Cassandra documentation says that CQL API is the future of Cassandra API. It's also says that eventually Thift API will be removed completely. Is it true? Do you have any plans of removing Thift API, leaving CQL API only??
> 
> thanks.