Return-Path: Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: (qmail 64767 invoked from network); 23 Feb 2011 18:25:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 23 Feb 2011 18:25:06 -0000 Received: (qmail 45552 invoked by uid 500); 23 Feb 2011 18:25:05 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 45395 invoked by uid 500); 23 Feb 2011 18:25:03 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 45387 invoked by uid 99); 23 Feb 2011 18:25:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Feb 2011 18:25:02 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Feb 2011 18:24:59 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 763C21B35CF for ; Wed, 23 Feb 2011 18:24:38 +0000 (UTC) Date: Wed, 23 Feb 2011 18:24:38 +0000 (UTC) From: "Vivek Mishra (JIRA)" To: commits@cassandra.apache.org Message-ID: <1077965490.11499.1298485478480.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <152991896.39.1297098477768.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Commented: (CASSANDRA-2124) JDBC driver for CQL MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CASSANDRA-2124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12998485#comment-12998485 ] Vivek Mishra commented on CASSANDRA-2124: ----------------------------------------- Hi Eric, Looked into python decoder as a newbie to python. But it looks to me as : 1) Decode column value using column family validator and comparator. Same is with java decoder Logic is : 1) On invocation of CassandraStatement execution, make static call to ColumnDecoder with query and keyspace. 2) Implicitly retrieve column family using pattern matching. 3) CassandraResultSet.next() method is changed to pick columnValue from ColumnDecoder.getColumnValue(col.getValue()). This automatically decodes(cast) object into required format. I can see that it looks to me both (py and java) more or less on same path. Having something like describe_column_family later can be a big thing. > JDBC driver for CQL > ------------------- > > Key: CASSANDRA-2124 > URL: https://issues.apache.org/jira/browse/CASSANDRA-2124 > Project: Cassandra > Issue Type: New Feature > Components: API > Reporter: Eric Evans > Assignee: Vivek Mishra > Priority: Minor > Labels: cql > Attachments: Cassandra-2124_v1.0, cassandra-0.7.1-2124_v2.0, cassandra-0.7.1-2124_v2.1, cassandra_generic_decoder.patch > > > A simple connection class and corresponding pool was created for CQL as a part of CASSANDRA-1710, but a JDBC driver (either in addition to, or as a replacement for) would also be interesting. -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira