Return-Path: X-Original-To: apmail-clerezza-dev-archive@www.apache.org Delivered-To: apmail-clerezza-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F10CFDAFF for ; Thu, 23 May 2013 08:55:30 +0000 (UTC) Received: (qmail 14102 invoked by uid 500); 23 May 2013 08:55:30 -0000 Delivered-To: apmail-clerezza-dev-archive@clerezza.apache.org Received: (qmail 13404 invoked by uid 500); 23 May 2013 08:55:23 -0000 Mailing-List: contact dev-help@clerezza.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@clerezza.apache.org Delivered-To: mailing list dev@clerezza.apache.org Received: (qmail 12797 invoked by uid 500); 23 May 2013 08:55:20 -0000 Delivered-To: apmail-incubator-clerezza-dev@incubator.apache.org Received: (qmail 12791 invoked by uid 99); 23 May 2013 08:55:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 May 2013 08:55:20 +0000 Date: Thu, 23 May 2013 08:55:20 +0000 (UTC) From: "Minto van der Sluis (JIRA)" To: clerezza-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (CLEREZZA-782) Add meta data (varNames) to Sparql ResultSet 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/CLEREZZA-782?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Minto van der Sluis reassigned CLEREZZA-782: -------------------------------------------- Assignee: Minto van der Sluis > Add meta data (varNames) to Sparql ResultSet > -------------------------------------------- > > Key: CLEREZZA-782 > URL: https://issues.apache.org/jira/browse/CLEREZZA-782 > Project: Clerezza > Issue Type: Bug > Components: rdf.core > Reporter: Minto van der Sluis > Assignee: Minto van der Sluis > > The class ResultSet only allows indirect access to the varNames in the query results. There are a number of drawbacks to the current solution: > 1) the iterator needs to be accessed to get the varNames from SolutionMapping.getKeySet() > 2) I suspect that optional varNames present in the Query but not in the resultset data will not appear in SolutionMapping.getKeySet() > 3) If the RestultSet is empty there is no way to determine the varNames(); > Both Jena and Sesame support retrieving the varNames from the ResultSet. > See also the mailing list conversation at: http://mail-archives.apache.org/mod_mbox/clerezza-dev/201303.mbox/%3CCALvhUEUzSAoQpNXVmpTcVvR=DxZrFiDJexPgwB=JEhc7pJf7sA@mail.gmail.com%3E -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira