cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron Morton (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-2704) provide a typed key value for returned rows via JDBC
Date Sun, 29 May 2011 22:10:47 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-2704?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Aaron Morton updated CASSANDRA-2704:
------------------------------------

    Attachment: 0001-2704-v2.patch

Updated to use the TypedColumn. Creates a ThriftColumn with a -1 timestamp like the server
does when the Key is requested. 

> provide a typed key value for returned rows via JDBC
> ----------------------------------------------------
>
>                 Key: CASSANDRA-2704
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2704
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 0.8.0 beta 2
>            Reporter: Aaron Morton
>            Assignee: Aaron Morton
>            Priority: Minor
>         Attachments: 0001-2704-v2.patch, 0001-2704.patch
>
>
> o.a.c.c.jdbc.CassandraResultSet provides access to column values as Cassandra type aware
via the TypedColumn. But it only provides a byte[] for the key. It would be handy to have
a TypedKey class that does the same but for the key.
> This would be handy when doing a multi SELECT as the server only returns rows we have
columns for.   

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message