cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] [Issue Comment Edited] (CASSANDRA-2704) provide a typed key value for returned rows via JDBC
Date Wed, 25 May 2011 12:53:51 GMT

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

Jonathan Ellis edited comment on CASSANDRA-2704 at 5/25/11 12:52 PM:
---------------------------------------------------------------------

the key will be included if you select * or KEY from the CF. (support for using key alias
coming soon.)

this way you don't have to unwrap to a C* specific resultset.

      was (Author: jbellis):
    the key will be included if you select * or KEY from the CF. (support for using key alias
coming soon.)
  
> 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

Mime
View raw message