|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LuceneQueryFactory
LuceneQueryFactory implements a factory that creates lucene
queries from given QOM elements.
| Method Summary | |
|---|---|
org.apache.lucene.search.Query |
create(FullTextSearchImpl constraint)
Creates a lucene query for the given QOM full text search. |
MultiColumnQuery |
create(JoinImpl join)
Creates a multi column query for the given QOM join. |
org.apache.lucene.search.Query |
create(PropertyExistenceImpl constraint)
Creates a lucene query for the given QOM property existence constraint. |
org.apache.lucene.search.Query |
create(SelectorImpl selector)
Creates a lucene query for the given QOM selector. |
MultiColumnQuery |
create(SourceImpl source)
Creates a multi column query for the given QOM source. |
| Method Detail |
|---|
org.apache.lucene.search.Query create(SelectorImpl selector)
throws RepositoryException
selector - the selector.
RepositoryException - if an error occurs while creating the query.
org.apache.lucene.search.Query create(FullTextSearchImpl constraint)
throws RepositoryException
constraint - the full text search constraint.
RepositoryException - if an error occurs while creating the query.
org.apache.lucene.search.Query create(PropertyExistenceImpl constraint)
throws RepositoryException
constraint - the QOM constraint.
RepositoryException - if an error occurs while creating the query.
MultiColumnQuery create(SourceImpl source)
throws RepositoryException
source - the QOM source.
RepositoryException - if an error occurs while creating the query.
MultiColumnQuery create(JoinImpl join)
throws RepositoryException
join - the QOM join.
RepositoryException - if an error occurs while creating the query.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||