cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Evans (JIRA)" <j...@apache.org>
Subject [jira] Issue Comment Edited: (CASSANDRA-2124) JDBC driver for CQL
Date Mon, 07 Mar 2011 16:03:59 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-2124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13003408#comment-13003408
] 

Eric Evans edited comment on CASSANDRA-2124 at 3/7/11 4:02 PM:
---------------------------------------------------------------

bq. That's what happens in `CassandraStatement.execute()` when it returns a `CassandraResultSet`
(the magic is in `CassandraResultSet.next()`.)

Sorry, I meant so that {{o.a.c.cql.driver.Connection}} returned a wrapper that produced decoded
results, instead of exposing the raw Thrift results.

Same for the exceptions, I was suggesting that {{o.a.c.cql.driver.Connection.execute()}} should
catch the Thrift exceptions and raise something in our namespace.

      was (Author: urandom):
    bq. That's what happens in `CassandraStatement.execute()` when it returns a `CassandraResultSet`
(the magic is in `CassandraResultSet.next()`.)

Sorry, I meant so that {{o.a.c.cql.driver.Connection}} returned a wrapper that produced decoded
results, instead of exposing the raw Thrift results.

Same for the exceptions, I suggesting that {{o.a.c.cql.driver.Connection.execute()}} should
catch the Thrift exceptions and raise something in our namespace.
  
> 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_2124_decoder.patch, cassandra-0.7.1-2124_v2.0,
cassandra-0.7.1-2124_v2.1, cassandra_generic_decoder.patch, cassandra_generic_decoder_v1.1.patch,
v2-0001-first-pass-at-column-decoding.txt, v2-0002-clean-up-JdbcDriverTest.txt, v2-0003-implements-getXXX-methods-to-return-values-of-the-corr.txt,
v2-0004-more-comments-in-ColumnDecoder.txt
>
>
> 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

Mime
View raw message