public class LuceneQueryConverter extends QueryConverter<org.apache.lucene.search.Query>
Query equal to, or more liberal than the given EOQualifier. Search results
found using returned qualifier might therefore need additional filtering.| Constructor and Description |
|---|
LuceneQueryConverter() |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.lucene.search.Query |
comparison(com.webobjects.eoaccess.EOEntity entity,
String key,
ComparisonOperator operator,
Object value)
Creates clause that matches records where the given entity key matches given value using comparison operator.
|
protected org.apache.lucene.search.Query |
convertKeyValueQualifier(com.webobjects.eoaccess.EOEntity entity,
com.webobjects.eocontrol.EOKeyValueQualifier qual) |
org.apache.lucene.search.Query |
fullQuery(com.webobjects.eoaccess.EOEntity entity,
com.webobjects.eocontrol.EOQualifier qualifier) |
boolean |
isQueryFullyCovered() |
protected org.apache.lucene.search.Query |
joinWithAndOperator(Collection<org.apache.lucene.search.Query> queries) |
protected org.apache.lucene.search.Query |
joinWithOrOperator(Collection<org.apache.lucene.search.Query> queries) |
protected org.apache.lucene.search.Query |
matchAll() |
static org.apache.lucene.search.Query |
matchAllOfEntity(com.webobjects.eoaccess.EOEntity entity) |
protected org.apache.lucene.search.Query |
negate(org.apache.lucene.search.Query query)
Creates negation of the given clause.
|
convertprotected org.apache.lucene.search.Query negate(org.apache.lucene.search.Query query)
QueryConverternegate in class QueryConverter<org.apache.lucene.search.Query>query - clause to negateprotected org.apache.lucene.search.Query joinWithAndOperator(Collection<org.apache.lucene.search.Query> queries)
joinWithAndOperator in class QueryConverter<org.apache.lucene.search.Query>queries - clauses to join with logical conjunctiontrue if all of queries evaluate to trueprotected org.apache.lucene.search.Query joinWithOrOperator(Collection<org.apache.lucene.search.Query> queries)
joinWithOrOperator in class QueryConverter<org.apache.lucene.search.Query>queries - clauses to join with logical alternativetrue if at least one of queries evaluates to trueprotected org.apache.lucene.search.Query matchAll()
matchAll in class QueryConverter<org.apache.lucene.search.Query>public static org.apache.lucene.search.Query matchAllOfEntity(com.webobjects.eoaccess.EOEntity entity)
protected org.apache.lucene.search.Query convertKeyValueQualifier(com.webobjects.eoaccess.EOEntity entity,
com.webobjects.eocontrol.EOKeyValueQualifier qual)
convertKeyValueQualifier in class QueryConverter<org.apache.lucene.search.Query>protected org.apache.lucene.search.Query comparison(com.webobjects.eoaccess.EOEntity entity,
String key,
ComparisonOperator operator,
Object value)
QueryConvertercomparison in class QueryConverter<org.apache.lucene.search.Query>public org.apache.lucene.search.Query fullQuery(com.webobjects.eoaccess.EOEntity entity,
com.webobjects.eocontrol.EOQualifier qualifier)
fullQuery in class QueryConverter<org.apache.lucene.search.Query>public boolean isQueryFullyCovered()
Copyright © 2002 – 2020 Project Wonder.