jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Mueller (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OAK-34) Define query API
Date Tue, 03 Apr 2012 13:32:24 GMT

    [ 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

       

Mime
View raw message