cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-2704) provide a typed key value for returned rows via JDBC
Date Thu, 26 May 2011 17:17:47 GMT


Jonathan Ellis commented on CASSANDRA-2704:

bq. You may want to get all the metrics since the start of the month for 3 entities to compare

IMO this kind of pseudo-analytics should be 3 calls.  (Under the hood of course it's the same
amount of work either way.)

> provide a typed key value for returned rows via JDBC
> ----------------------------------------------------
>                 Key: CASSANDRA-2704
>                 URL:
>             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:

View raw message