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

Rick Shaw commented on CASSANDRA-2725:
--------------------------------------

Along with Jonathan's three additions I suggest that the following methods are 
not optional in the semantics and should be moved out to {{CResultSet}} for 
implementation as well.


Each is trivially implemented, assuming it is stored as 
{{o.a.c.db.marshal.IntegerType}} so it is materialized as a {{BigInteger}} 
which has built-in methods to scale down to the narrower values.

- {{getByte(int column)}} 
- {{getByte(String columnLabel)}}
- {{getShort(int column)}}
- {{getShort(int column)}}


> Update the JDBC semantics contained in the class AbstractResultSet
> ------------------------------------------------------------------
>
>                 Key: CASSANDRA-2725
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2725
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: API
>    Affects Versions: 0.8.0 beta 2
>            Reporter: Rick Shaw
>            Priority: Minor
>              Labels: cql, jdbc
>             Fix For: 0.8.1
>
>
> The {{AbstractResultSet}} cleverly isolates all the methods that are not 
> planned to be implemented in the next release of of the JDBC Result Set 
> implemented by the class {{CResultSet}}. This improvement will tighten the 
> JDBC semantics for this set of methods.
> This improvement is related to 
> [CASSANDRA-2720|https://issues.apache.org/jira/browse/CASSANDRA-2720] but is 
> not blocked by it. 

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

Reply via email to