[
https://jira.jboss.org/jira/browse/DNA-467?page=com.atlassian.jira.plugin...
]
Randall Hauch commented on DNA-467:
-----------------------------------
Added a lot more implementation and unit tests behind the XPath parser, the XPath AST
objects, and the translator that converts an XPath AST into a SQL query model. Found and
fixed a number of issues in several of the 'dna-graph' classes, including some
tweaks to the SQL query odel, the SQL parser, minor improvements to the JodaDateTime
class, and some changes to the exception handling in the 'dna-graph' query model
and builder.
At this point, the XPath support is pretty good, though still not complete. It may be
good enough to use for a while - until we have more examples. The unit tests are
verifying not only that the XPath expressions can be parsed, but that they're also
converted correctly to an expected SQL representation.
The XPath functionality has not yet been integrated into the JCR implementation, since
that requires hooking up the LuceneQueryEngine (which still needs some work). However, I
plan to start putting more of the pieces together and focusing on wrapping up the
LuceneQueryEngine (which isn't as finished as I thought).
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: API, Connectors, Graph
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