incubator-cassandra-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rick Shaw <wfs...@gmail.com>
Subject Re: CqlResult in CassandraConnection
Date Sun, 28 Aug 2011 16:09:04 GMT
The class itself is not public, so it is generally protected from misuse, but it is a good
recommendation to remove the public modifier on those non-interface imethods as well. I'll
see to it.

On Aug 28, 2011, at 11:35 AM, Eric Evans wrote:

> On Sun, Aug 28, 2011 at 3:47 AM, Vivek Mishra <vivek.mishra@yahoo.com> wrote:
>> Recently i can see changes made in jdbc connection API.
>> 
>> Wondering why are we returning CqlResult from CassandraConnection, ideally it should
return ResultSet as jdbc api.
>> 
>> Any thoughts?
> 
> The execute methods aren't a part of the java.sql.Connection
> interface, but they are public, and so shouldn't be returning Thrift
> structs.  Maybe we just need to drop the public modifier.
> 
> Can you open a ticket Vivek?
> 
> -- 
> Eric Evans
> Acunu | http://www.acunu.com | @acunu


Mime
View raw message