cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vivek Mishra (JIRA)" <>
Subject [jira] Commented: (CASSANDRA-2124) JDBC driver for CQL
Date Wed, 23 Feb 2011 18:24:38 GMT


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) 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:
>             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,
> 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:


View raw message