Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 844494ED2 for ; Thu, 19 May 2011 22:32:28 +0000 (UTC) Received: (qmail 73216 invoked by uid 500); 19 May 2011 22:32:28 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 73198 invoked by uid 500); 19 May 2011 22:32:28 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 73188 invoked by uid 99); 19 May 2011 22:32:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 May 2011 22:32:28 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 May 2011 22:32:27 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id A570FD2225 for ; Thu, 19 May 2011 22:31:47 +0000 (UTC) Date: Thu, 19 May 2011 22:31:47 +0000 (UTC) From: "Jonathan Ellis (JIRA)" To: commits@cassandra.apache.org Message-ID: <434668212.28695.1305844307674.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1745022329.28603.1305843347929.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (CASSANDRA-2672) The class o.a.c.cql.jdbc.TypedColumn needs to be declared public MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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 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