clerezza-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reto Bachmann-Gmür <r...@apache.org>
Subject Re: extend ResultSet with ResultSetMetaData
Date Tue, 19 Mar 2013 14:33:47 GMT
Hi Minto

If I'm not mistaken the situation for SQL is a bit different as the
metadata of the result cannot be infered from the query. With Sparql I
don't see how this metadata would be dependent on the actual result.

Maybe Hasan can tell more about this.

Cheers,
Reto

On Mon, Mar 18, 2013 at 10:19 PM, Minto van der Sluis <minto@xup.nl> wrote:

> Hi folks,
>
> Is it feasible to extend the current sparqle ResultSet with an interface
> to extract metadata without consuming the resultset. I was thinking of
> something like java.sql.ResultSetMetaData.
>
> Why?
> I've created sort of a decorator to show some metadata of a ResultSet
> and I had to consume the resultset to find out which columns were there.
> However the current situation allows to consume the ResultSet only once.
>
> It probably is feasible. The question is more like, if I create a patch
> will it be accepted?
>
> Regards,
>
> Minto
>
> --
> ir. ing. Minto van der Sluis
> Software innovator / renovator
> Xup BV
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message