Query of persistent storage
---------------------------

                 Key: QI-2
                 URL: http://issues.ops4j.org/jira/browse/QI-2
             Project: Qi4j
          Issue Type: New Feature
            Reporter: Niclas Hedhman
            Assignee: Rickard Öberg
            Priority: Critical



We need the ability to query for composites.

public interface CompositeQueryFactory
{
    CompositeQuery newQuery( String language )
        throws UnknownQueryLanguageException; // UnkownQuer....Exception is 
runtime exception.
}

public interface CompositeQuery
{
    Iterator<PersistentComposite> query( String expression )
        throws IOException
}

The indexing subsystem for a query language should also provide a 
DependencyResolver for a CompositeQuery, so that

public class MyMixin
{
    @Dependency("SPARQL") CompositeQuery query;
}



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.ops4j.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to