Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Indexing by arbitrary XPath expressions #8

Open
gburgett opened this issue Dec 19, 2012 · 0 comments
Open

Indexing by arbitrary XPath expressions #8

gburgett opened this issue Dec 19, 2012 · 0 comments
Milestone

Comments

@gburgett
Copy link
Owner

The Database class should allow setting indexes on arbitrary XPath expressions. The index should be specified by the XPath expression and a Class<T> object where T extends IComparable, Alternately future versions may allow specifying a Comparer object to perform the comparisons.
The XPath expression should select nodes that are convertible to the given Class. If any are not, those are simply not indexed, so the index is not necessarily a complete index.

The particular engine implementation will choose how it implements indexing. Some may choose to ignore indexes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant