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/25 22:57:47 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=13039328#comment-13039328 ]
Aaron Morton commented on CASSANDRA-2704:
-----------------------------------------
What about if you are doing a slice range in a mutli select
e.g. select a..b from CF where KEY = 'foo' and KEY 'bar'
It's not possible to specify the key in the return.
> 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
>
> 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