You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Andy Seaborne (JIRA)" <ji...@apache.org> on 2015/05/16 21:29:00 UTC

[jira] [Comment Edited] (JENA-945) Add Seven methods to Query class

    [ https://issues.apache.org/jira/browse/JENA-945?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14546874#comment-14546874 ] 

Andy Seaborne edited comment on JENA-945 at 5/16/15 7:28 PM:
-------------------------------------------------------------


{noformat}
addGraphURI / getGraphURIs
addNamedGraphURI / getNamedGraphURIs
addResultVar / getProject
addGroupBy / getGroupBy
{noformat}

The {{get*}} return the relevant lists that can be manipulated directly.

The parsers and the serializer have no special access to {{Query}} and are in different packages.



was (Author: andy.seaborne):


{noformat}
addGraphURI / getGraphURIs
addNamedGraphURI / getNamedGraphURIs
addResultVar / getProject
addGroupBy / getGroupBy
{noformat}

The {{get*}} return the relevant lists that can be manipulated directly.


> Add Seven methods to Query class
> --------------------------------
>
>                 Key: JENA-945
>                 URL: https://issues.apache.org/jira/browse/JENA-945
>             Project: Apache Jena
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: Jena 3.0.0
>            Reporter: Claude Warren
>            Priority: Minor
>
> The QueryBuilder uses reflection to perform some of its data manipulation.  This reflection will fail in an environment with Java Security Manager enabled.
> This change is to add methods so that QueryBuilder no longer needs to use reflection to get and set Query internal variables.
> The variables are:
> namedGraphURIs  -- get and set required. parameter/return: List<String>
> graphURIs -- get and set required. parameter/return: List<String>
> projectVars -- get and set required. parameter/return: VarExprList
> groupVars -- set required. parameter: VarExprList



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)