You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2011/05/20 00:31:47 UTC
[jira] [Resolved] (CASSANDRA-2672) The class
o.a.c.cql.jdbc.TypedColumn needs to be declared public
[ https://issues.apache.org/jira/browse/CASSANDRA-2672?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Ellis resolved CASSANDRA-2672.
---------------------------------------
Resolution: Fixed
Reviewer: jbellis
Assignee: Rick Shaw
done in r1125144.
Note that CassandraResultSet in general and TypedColumn in particular expose implementation details that may change in the future; use with appropriate caution. :)
> The class o.a.c.cql.jdbc.TypedColumn needs to be declared public
> ----------------------------------------------------------------
>
> Key: CASSANDRA-2672
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2672
> Project: Cassandra
> Issue Type: Bug
> Components: API
> Affects Versions: 0.8.0 beta 2
> Reporter: Rick Shaw
> Assignee: Rick Shaw
> Priority: Trivial
> Fix For: 0.8.0
>
>
> The implementation of {{ResultSet}} in the JDBC package provides a method: {{unwrap( Class<T> interfaceName)}} in order to allow some of the methods in the {{ResultSet}} implementation {{Class}} to be exposed.
> The implementation currently restricts the access to only one acceptable interface: {{CassandraResultSet}}.
> Two of the getters in that interface return {{TypedColumn}} which cleverly contains the "Cassandra" details of the desired column such as raw column details, and the {{AbstractType}} of the validator and the comparator among others. (Nice!) Unfortunately the {{TypedColumn}} class is not public so is it is not accessible to the callers code.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira