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] [Resolved] (CASSANDRA-2672) The class o.a.c.cql.jdbc.TypedColumn needs to be declared public
Date Thu, 19 May 2011 22:31:47 GMT

     [ 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

Mime
View raw message