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

Thomas Mueller commented on OAK-34:
-----------------------------------

I have a small generics problem. I'm trying to make Result iterable, but how 
should the signature look like? The following doesn't compile because "?" seems 
to be not allowed there:

public interface Result 
        extends Iterable<? extends ResultRow>  // <<== doesn't work
{ 
    ...
    Iterator<? extends ResultRow> iterator();
}

Without the "extends Iterable" it would compile. 
                
> Define query API
> ----------------
>
>                 Key: OAK-34
>                 URL: https://issues.apache.org/jira/browse/OAK-34
>             Project: Jackrabbit Oak
>          Issue Type: New Feature
>          Components: core
>            Reporter: Michael Dürig
>              Labels: query
>
> Define a oak-core API for handling queries. How do we handle name space 
> mappings, value bindings, limit, offset, access rights. See OAK-28

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to