[dna-issues] [JBoss JIRA] Commented: (DNA-467) Add search/query support to the graph API

Randall Hauch (JIRA) jira-events at lists.jboss.org
Wed Dec 2 15:35:30 EST 2009


    [ https://jira.jboss.org/jira/browse/DNA-467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12497836#action_12497836 ] 

Randall Hauch commented on DNA-467:
-----------------------------------

Added a new AccessQueryRequest and support in the RequestProcessor and its implementations.  The Graph API now provides methods for submitting queries (in the form of QueryCommand objects) and full-text searches to the underlying graph and its connector.  The Graph.query(QueryCommand,Schemata) method runs the query through the QueryEngine, which plans, replaces views, optimizes, validates, and executes the query.  The QueryEngine (with the Graph's tailored Processor implementation) generates a single AccessQueryRequest for each of the low-level access queries.  Access queries are usually SELECTs against a single table, after all of the view replacement and optimization has been performed.  These access queries are submitted to the connector in a single batch for each high-level query), ensuring that a query sees only consistent results.


> Add search/query support to the graph API
> -----------------------------------------
>
>                 Key: DNA-467
>                 URL: https://jira.jboss.org/jira/browse/DNA-467
>             Project: DNA
>          Issue Type: Feature Request
>          Components: JCR, Query, Search
>    Affects Versions: 0.5
>            Reporter: Randall Hauch
>            Assignee: Randall Hauch
>            Priority: Blocker
>             Fix For: 0.7
>
>
> The graph system needs to be able to push a search/query down to a connector, and we need to develop a query model (in the form of concrete classes, probably immutable).  Connectors can optionally support queries, and if they do they will process the query and return the results.
> Particular language bindings would be put on top of this query model.  For example, JCR 1.0 defines an XPath language.  Support for each language would parse a query in that language and produce a query model.

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

        


More information about the dna-issues mailing list