You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cassandra.apache.org by Anishek Agarwal <an...@gmail.com> on 2015/04/16 06:04:50 UTC

Re: Binary Protocol Version and CQL version supported in 2.0.14

Forwarding here as no one on the user mailing list has replied. I belive
devs will be able to provide more insight.

Thanks
Anishek

On Mon, Apr 13, 2015 at 2:09 PM, Anishek Agarwal <an...@gmail.com> wrote:

> Hello,
>
> I was trying to find what protocol versions are supported in Cassandara
> 2.0.14 and after reading multiple links i am very very confused.
>
> Please correct me if my understanding is correct:
>
>    - Binary Protocol version and CQL Spec version are different ?
>    - Cassandra 2.0.x supports CQL 3 ?
>    - Is there a different Binary Protocol version between 2.0.x and 2.1.x
>    ?
>
>
> Is there some link which states what version of cassandra supports what
> binary protocol version and CQL spec version (Additionally showing which
> drivers support what will be great too) ?
>
>  The  link
> <http://www.datastax.com/dev/blog/java-driver-2-1-2-native-protocol-v3> shows
> some info but i am not sure what the supported protocol versions are
> referring to(binary or CQL spec).
>
> Thanks
> Anishek
>
>
>

Re: Binary Protocol Version and CQL version supported in 2.0.14

Posted by Anishek Agarwal <an...@gmail.com>.
Thanks a lot Bulat, that clarified it for me.

On Fri, Apr 17, 2015 at 12:53 AM, Bulat Shakirzyanov <
bulat.shakirzyanov@datastax.com> wrote:

> Hi Anishek,
>
> My responses are below, hope it helps.
>
> > On Apr 15, 2015, at 21:04, Anishek Agarwal <an...@gmail.com> wrote:
> >
> > Forwarding here as no one on the user mailing list has replied. I belive
> > devs will be able to provide more insight.
> >
> > Thanks
> > Anishek
> >
> >> On Mon, Apr 13, 2015 at 2:09 PM, Anishek Agarwal <an...@gmail.com>
> wrote:
> >>
> >> Hello,
> >>
> >> I was trying to find what protocol versions are supported in Cassandara
> >> 2.0.14 and after reading multiple links i am very very confused.
> >>
> >> Please correct me if my understanding is correct:
> >>
> >>   - Binary Protocol version and CQL Spec version are different ?
>
> Yes. The former is the wire protocol version, e.g. request/response
> serialization/deserialization. The latter is for the query language itself,
> e.g. syntax of the SELECT statement.
>
> >>   - Cassandra 2.0.x supports CQL 3 ?
>
> Yes, starting with Cassandra 1.2 all versions support CQL3. In general,
> when someone is talking about CQL, they refer to CQL3.
>
> >>   - Is there a different Binary Protocol version between 2.0.x and 2.1.x
> >>   ?
>
> Yes, Cassandra 2.0.x uses binary (also called native) protocol v2 while
> Cassandra 2.1.x - v3. All versions of Cassandra support previous versions
> of the native protocol.
>
> >>
> >>
> >> Is there some link which states what version of cassandra supports what
> >> binary protocol version and CQL spec version (Additionally showing which
> >> drivers support what will be great too) ?
> >>
> >> The  link
> >> <http://www.datastax.com/dev/blog/java-driver-2-1-2-native-protocol-v3>
> shows
> >> some info but i am not sure what the supported protocol versions are
> >> referring to(binary or CQL spec).
> >>
> >> Thanks
> >> Anishek
> >>
> >>
> >>
>

Re: Binary Protocol Version and CQL version supported in 2.0.14

Posted by Bulat Shakirzyanov <bu...@datastax.com>.
Hi Anishek,

My responses are below, hope it helps.

> On Apr 15, 2015, at 21:04, Anishek Agarwal <an...@gmail.com> wrote:
> 
> Forwarding here as no one on the user mailing list has replied. I belive
> devs will be able to provide more insight.
> 
> Thanks
> Anishek
> 
>> On Mon, Apr 13, 2015 at 2:09 PM, Anishek Agarwal <an...@gmail.com> wrote:
>> 
>> Hello,
>> 
>> I was trying to find what protocol versions are supported in Cassandara
>> 2.0.14 and after reading multiple links i am very very confused.
>> 
>> Please correct me if my understanding is correct:
>> 
>>   - Binary Protocol version and CQL Spec version are different ?

Yes. The former is the wire protocol version, e.g. request/response serialization/deserialization. The latter is for the query language itself, e.g. syntax of the SELECT statement.

>>   - Cassandra 2.0.x supports CQL 3 ?

Yes, starting with Cassandra 1.2 all versions support CQL3. In general, when someone is talking about CQL, they refer to CQL3.

>>   - Is there a different Binary Protocol version between 2.0.x and 2.1.x
>>   ?

Yes, Cassandra 2.0.x uses binary (also called native) protocol v2 while Cassandra 2.1.x - v3. All versions of Cassandra support previous versions of the native protocol.

>> 
>> 
>> Is there some link which states what version of cassandra supports what
>> binary protocol version and CQL spec version (Additionally showing which
>> drivers support what will be great too) ?
>> 
>> The  link
>> <http://www.datastax.com/dev/blog/java-driver-2-1-2-native-protocol-v3> shows
>> some info but i am not sure what the supported protocol versions are
>> referring to(binary or CQL spec).
>> 
>> Thanks
>> Anishek
>> 
>> 
>>