Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9BEEBDBCE for ; Mon, 19 Nov 2012 14:36:57 +0000 (UTC) Received: (qmail 16940 invoked by uid 500); 19 Nov 2012 14:36:55 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 16890 invoked by uid 500); 19 Nov 2012 14:36:54 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 16872 invoked by uid 99); 19 Nov 2012 14:36:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Nov 2012 14:36:53 +0000 X-ASF-Spam-Status: No, hits=1.8 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,MIME_QP_LONG_LINE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of boneill42@gmail.com designates 209.85.216.172 as permitted sender) Received: from [209.85.216.172] (HELO mail-qc0-f172.google.com) (209.85.216.172) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Nov 2012 14:36:49 +0000 Received: by mail-qc0-f172.google.com with SMTP id b25so3479168qca.31 for ; Mon, 19 Nov 2012 06:36:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:user-agent:date:subject:from:to:cc:message-id:thread-topic :in-reply-to:mime-version:content-type; bh=XdaCZrMcK4AGGKD6LxpQ+WG+DjUyoyc09LlF2SEBui8=; b=AR4aFD4kEQ4MwOSm4UNO2YbEcvj9dbAgwKh471AR6x8wBUyMOUqe32U4XSsduSSvej Fkx2h+s+P+EPbfpmDiCtouLsNLvvYA0MMqLp7a+1mLe84muAke0l8uzP17hu43TPTABp sAHFEKs0wV87/izLEVq56gtaZX3hpsVLoSOgyMu0pL2vmKS/vwOO+rBFu5TiGEPLINUx A/erONz/pBUn1I8fjE0Tag18UV3yhDq+BJtOlnGDO98xgVavv+fWG3vUOi6VYxruDa44 b5JKLTza9fze4BytpRdgDQCENYxTSeEKL89MgsM3MVZfdULsXiVUn6ODwMqw0jaNEi9v n2rQ== Received: by 10.49.71.71 with SMTP id s7mr13398960qeu.33.1353335788479; Mon, 19 Nov 2012 06:36:28 -0800 (PST) Received: from [10.60.71.81] ([67.132.206.254]) by mx.google.com with ESMTPS id hk8sm6193727qab.21.2012.11.19.06.36.26 (version=SSLv3 cipher=OTHER); Mon, 19 Nov 2012 06:36:27 -0800 (PST) Sender: "Brian O'Neill" User-Agent: Microsoft-MacOutlook/14.2.4.120824 Date: Mon, 19 Nov 2012 09:36:21 -0500 Subject: Re: Datatype Conversion in CQL-Client? From: Brian O'Neill To: CC: =?ISO-8859-1?B?TWljaGHrbA==?= =?ISO-8859-1?B?IEZpZ3Vp6HJl?= , Jonathan Ellis Message-ID: Thread-Topic: Datatype Conversion in CQL-Client? In-Reply-To: Mime-version: 1.0 Content-type: multipart/alternative; boundary="B_3436162587_3515978" X-Virus-Checked: Checked by ClamAV on apache.org > This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --B_3436162587_3515978 Content-type: text/plain; charset="ISO-8859-1" Content-transfer-encoding: quoted-printable I don't think Michael and/or Jonathan have published the CQL java driver yet. (CCing them) Hopefully they'll find a public home for it soon, I hope to include it in the Webinar in December. (http://www.datastax.com/resources/webinars/collegecredit) -brian --- Brian O'Neill Lead Architect, Software Development Health Market Science The Science of Better Results 2700 Horizon Drive =80 King of Prussia, PA =80 19406 M: 215.588.6024 =80 @boneill42 =80 healthmarketscience.com This information transmitted in this email message is for the intended recipient only and may contain confidential and/or privileged material. If you received this email in error and are not the intended recipient, or the person responsible to deliver it to the intended recipient, please contact the sender at the email above and delete this email and any attachments and destroy any copies thereof. Any review, retransmission, dissemination, copying or other use of, or taking any action in reliance upon, this information by persons or entities other than the intended recipient is strictly prohibited. =20 From: Tommi Laukkanen Reply-To: Date: Monday, November 19, 2012 2:36 AM To: Subject: Re: Datatype Conversion in CQL-Client? I think Timmy might be referring to the upcoming native CQL Java driver tha= t might be coming with 1.2 - It was mentioned here: http://www.datastax.com/wp-content/uploads/2012/08/7_Datastax_Upcoming_Chan= g es_in_Drivers.pdf I would also be interested on testing that but I can't find it from repositories. Any hints? Regards, Tommi L. From: Brian O'Neill [mailto:boneill42@gmail.com] On Behalf Of Brian O'Neill > Sent: 18. marraskuuta 2012 17:47 > To: user@cassandra.apache.org > Subject: Re: Datatype Conversion in CQL-Client? > Importance: Low > =20 >=20 > =20 > If you are talking about the CQL-client that comes with Cassandra (cqlsh)= , it > is actually written in Python: >=20 > https://github.com/apache/cassandra/blob/trunk/bin/cqlsh >=20 > =20 >=20 > For information on datatypes (and conversion) take a look at the CQL > definition: >=20 > http://www.datastax.com/docs/1.0/references/cql/index >=20 > (Look at the CQL Data Types section) >=20 > =20 >=20 > If that's not the client you are referencing, let us know which one you m= ean: >=20 > http://brianoneill.blogspot.com/2012/08/cassandra-apis-laundry-list.html >=20 > =20 >=20 > -brian >=20 > =20 >=20 > On Nov 17, 2012, at 9:54 PM, Timmy Turner wrote: >=20 >=20 >>=20 >> Thanks for the links, however I'm interested in the functionality that t= he >> official Cassandra client/API (which is in Java) offers. >>=20 >> =20 >>=20 >> 2012/11/17 aaron morton >>>=20 >>>> Does the official/built-in Cassandra CQL client (in 1.2) >>> What language ? >>>=20 >>> =20 >>>=20 >>> Check the Java http://code.google.com/a/apache-extras.org/p/cassandra-j= dbc/ >>> and python http://code.google.com/a/apache-extras.org/p/cassandra-dbapi= 2/ >>> drivers. >>>=20 >>> =20 >>>=20 >>> Cheers >>>=20 >>> =20 >>>=20 >>> =20 >>>=20 >>> ----------------- >>>=20 >>> Aaron Morton >>>=20 >>> Freelance Cassandra Developer >>>=20 >>> New Zealand >>>=20 >>> =20 >>>=20 >>> @aaronmorton >>>=20 >>> http://www.thelastpickle.com >>>=20 >>> =20 >>>=20 >>> On 16/11/2012, at 11:21 AM, Timmy Turner wrote: >>>=20 >>>=20 >>>>=20 >>>> Does the official/built-in Cassandra CQL client (in 1.2) offer any bui= lt-in >>>> option to get direct values/objects when reading a field, instead of j= ust a >>>> byte array?=20 >>> =20 >> =20 > =20 >=20 > --=20 > Brian ONeill > Lead Architect, Health Market Science (http://healthmarketscience.com > ) > mobile:215.588.6024 > blog: http://weblogs.java.net/blog/boneill42/ > blog: http://brianoneill.blogspot.com/ > =20 --B_3436162587_3515978 Content-type: text/html; charset="ISO-8859-1" Content-transfer-encoding: quoted-printable
I don't think Mich= ael and/or Jonathan have published the CQL java driver yet.  (CCing the= m)

Hopefully they'll find a public home for it soon= , I hope to include it in the Webinar in December.
(http://www.dat= astax.com/resources/webinars/collegecredit)

-brian<= /div>

---

Brian O'Neill

Lead Architect, Software Development

Health Market Science

The Science of Better Results

2700 Horizon Drive  King of = Prussia, PA  19406

M: 215.588.6024 @boneill42  =   

healthmarketscience.com


This informati= on transmitted in this email message is for the intended recipient only and = may contain confidential and/or privileged material. If you received this em= ail in error and are not the intended recipient, or the person responsible t= o deliver it to the intended recipient, please contact the sender at the ema= il above and delete this email and any attachments and destroy any copies th= ereof. Any review, retransmission, dissemination, copying or other use of, o= r taking any action in reliance upon, this information by persons or entitie= s other than the intended recipient is strictly prohibited.

 


From: Tommi Laukkanen <tlaukkanen@gmail= .com>
Reply-To: <user@cassandra.apache.org>
Date:
Monday, November 19, 2012 2:36 AM<= br>To: <user@cassandra.apache.org>
Subject: Re: Datatype Conversion in CQL-Client?

I think Timmy might be referring to the upcoming native CQL Jav= a driver that might be coming with 1.2 - It was mentioned here:
http://www.datastax.com/wp-content/uploads/2012/08/7_Data= stax_Upcoming_Changes_in_Drivers.pdf

I would also be interested o= n testing that but I can't find it from repositories. Any hints?

Rega= rds,
Tommi L.

From: Bria= n O'Neill [mailto:bonei= ll42@gmail.com] On Behalf Of Brian O'Neill

Sent: 18. marraskuuta 2012 17:4= 7
To: u= ser@cassandra.apache.org
Subject: Re: Datatype Conversion in C= QL-Client?
Importance: Low

 

&= nbsp;

If you are talking about the CQL-client that comes with Cassandra (cqlsh), = it is actually written in Python:

 

For information on datatypes (and conversion) take a l= ook at the CQL definition:

(Look at the CQL Data Types section)

 

<= div>

If that's not the client you are referencing, let u= s know which one you mean:

=  

-brian

 

On Nov 17, 2012, at 9:54 PM, Timmy Turner wrote:



Thanks for the link= s, however I'm interested in the functionality that the official Cassandra c= lient/API (which is in Java) offers.

 

2012/11/17 aaron morton <aaron@thelastpickle.com>

Does the official/built-in= Cassandra CQL client (in 1.2) 

What language ? 

 

 

C= heers

 <= /p>

 

-----------------

<= /div>

Aaron Morton

Freelance Cassandra Developer

New Zealand

@aaronmorton

<= u> 

On 16/11/2012, at 11:2= 1 AM, Timmy Turner <= timm.turn@gmail.com> wrote:



Does the official/built-in Cassandra CQL clie= nt (in 1.2) offer any built-in option to get direct values/objects when read= ing a field, instead of just a byte array?

 

 <= /u>

 

<= span style=3D"color:#888888">-- 
Brian ONeill
Lead Architect, Health Market Scienc= e (http://healthma= rketscience.com)
mobile:215.588.6024
blog: http://weblogs.java.net/blog/bo= neill42/
blog: http://brianoneill.blogspot.com/

 


--B_3436162587_3515978--