jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Quenot <...@apache.org>
Subject Using the Abstract Query Tree?
Date Thu, 19 Apr 2007 14:50:11 GMT
Hello users,

I noticed on the [1]documentation that one of the options to query
the repository is to use the Abstract Query Tree, by means of
building a custom QueryNode.  That seems interesting because it
allows to express the query criteria using a Java API.

However, I couldn't find an example of how this can be
implemented?  I tried to extend
org.apache.jackrabbit.core.query.lucene.QueryImpl with no luck, as
the constructor expects statement and language.

Is there a way to query the repository with pure Java, like eg
Hibernate's Criteria API?

Thanks in advance,
-- 
     Jean-Baptiste Quenot
aka  John Banana   Qwerty
http://caraldi.com/jbq/

[1] http://jackrabbit.apache.org/doc/arch/operate/query.html

Mime
View raw message