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

ASF subversion and git services commented on JENA-1329:
-------------------------------------------------------

Commit b1ff0c1c382c1eef4e381e041c25846ddc970b7e in jena's branch 
refs/heads/master from [~andy.seaborne]
[ https://git-wip-us.apache.org/repos/asf?p=jena.git;h=b1ff0c1 ]

JENA-1329: Define and use QueryIterator.isJoinIdentity.

Don't test for QueryIterRoot.
Don't use QueryIterRoot to hold a binding with set variables.


> QueryIterRoot should not be overloaded for initial bindings.
> ------------------------------------------------------------
>
>                 Key: JENA-1329
>                 URL: https://issues.apache.org/jira/browse/JENA-1329
>             Project: Apache Jena
>          Issue Type: Improvement
>          Components: ARQ
>    Affects Versions: Jena 3.2.0, Jena 3.3.0
>            Reporter: Andy Seaborne
>            Assignee: Andy Seaborne
>
> {{QueryIterRoot}} is also used for initial bindings but the code sometimes 
> assumes that the root binding is the join identity iterator (one row, no 
> columns).
> {{QueryIterRoot}} should be reserved for for this case.
> {{QueryIterator}} could have a method {{.isJoinIdentity()}} so that an 
> iterator can be tested without peeking and without assuming the java class.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to