You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Aaron Morton (JIRA)" <ji...@apache.org> on 2011/05/26 11:22:49 UTC
[jira] [Updated] (CASSANDRA-2704) provide a typed key value for
returned rows via JDBC
[ 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.patch
I'd already written the code last night before creating the ticket,and getting distracted by an unhappy toddler. So I may as well add it.
The CassandraResultSet already provides the key as a byte[], this patch makes it available as a typed value like the columns. Handy for times when the key cannot projected into the result set.
> 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
> Priority: Minor
> Attachments: 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