|
Project Wonder 5.0.0.8795 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.webobjects.eocontrol.EOQualifier
er.extensions.eof.qualifiers.ERXFullTextQualifier
public class ERXFullTextQualifier
ERXFullTextQualifier provides a qualifier implementation for searching with a fulltext index. This depends on ERXSQLHelper.sqlForFullTextQuery providing an implementation for your particular database. Note that because of differences in implementions of fulltext indexing on various databases, the results you obtain using this qualifier will vary across implementations. Additionally, executing this qualifier on an array of EO's may differ from executing the qualifier in your database. When qualifying on an array, the qualifier does not address stemming and stop words.
| Nested Class Summary | |
|---|---|
static class |
ERXFullTextQualifier.MatchType
|
| Nested classes/interfaces inherited from class com.webobjects.eocontrol.EOQualifier |
|---|
EOQualifier.Comparison, EOQualifier.ComparisonSupport, EOQualifier.QualifierVariableSubstitutionException |
| Field Summary | |
|---|---|
static NSSelector |
FullTextContainsSelector
|
static String |
FullTextContainsSelectorName
|
| Fields inherited from class com.webobjects.eocontrol.EOQualifier |
|---|
_CLASS, QualifierOperatorCaseInsensitiveLike, QualifierOperatorContains, QualifierOperatorEqual, QualifierOperatorGreaterThan, QualifierOperatorGreaterThanOrEqualTo, QualifierOperatorLessThan, QualifierOperatorLessThanOrEqualTo, QualifierOperatorLike, QualifierOperatorNotEqual |
| Fields inherited from interface com.webobjects.eocontrol.EOQualifierEvaluation |
|---|
_CLASS |
| Constructor Summary | |
|---|---|
ERXFullTextQualifier(String keyPath,
ERXFullTextQualifier.MatchType matchType,
NSArray<String> terms)
Constructs an ERXFullTextQualifier defaulting indexName to the same as keyPath. |
|
ERXFullTextQualifier(String keyPath,
ERXFullTextQualifier.MatchType matchType,
String... terms)
Constructs an ERXFullTextQualifier defaulting indexName to the same as keyPath. |
|
ERXFullTextQualifier(String keyPath,
String indexName,
ERXFullTextQualifier.MatchType matchType,
NSArray<String> terms)
Constructs an ERXFullTextQualifier. |
|
ERXFullTextQualifier(String keyPath,
String indexName,
ERXFullTextQualifier.MatchType matchType,
String... terms)
Constructs an ERXFullTextQualifier. |
|
| Method Summary | |
|---|---|
void |
addQualifierKeysToSet(NSMutableSet keys)
|
ERXFullTextQualifier |
clone()
|
boolean |
evaluateWithObject(Object object)
|
String |
indexName()
Returns the index name for this qualifier. |
String |
keyPath()
Returns the keypath for this qualifier. |
ERXFullTextQualifier.MatchType |
matchType()
Returns the match type (ANY or ALL) for this qualifier. |
EOQualifier |
qualifierWithBindings(NSDictionary bindings,
boolean requiresAll)
|
NSArray<String> |
terms()
Returns the array of search terms for this qualifier. |
void |
validateKeysWithRootClassDescription(EOClassDescription classDescription)
|
| Methods inherited from class com.webobjects.eocontrol.EOQualifier |
|---|
_accept, _isEmpty, allQualifierKeys, allQualifierOperators, bindingKeys, filterArrayWithQualifier, filteredArrayWithQualifier, keyPathForBindingKey, operatorSelectorForSelectorNamed, operatorSelectorForString, qualifierToMatchAllValues, qualifierToMatchAnyValue, qualifierWithQualifierFormat, relationalQualifierOperators, stringForOperatorSelector |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static String FullTextContainsSelectorName
public static NSSelector FullTextContainsSelector
| Constructor Detail |
|---|
public ERXFullTextQualifier(String keyPath,
String indexName,
ERXFullTextQualifier.MatchType matchType,
NSArray<String> terms)
keyPath - the keypath to qualify on (some databases may ignore this)indexName - the name of the index to use (some databases may ignore this)matchType - ANY or ALLterms - the array of search terms
public ERXFullTextQualifier(String keyPath,
String indexName,
ERXFullTextQualifier.MatchType matchType,
String... terms)
keyPath - the keypath to qualify on (some databases may ignore this)indexName - the name of the index to use (some databases may ignore this)matchType - ANY or ALLterms - the list of search terms
public ERXFullTextQualifier(String keyPath,
ERXFullTextQualifier.MatchType matchType,
NSArray<String> terms)
keyPath - the keypath to qualify on (some databases may ignore this)matchType - ANY or ALLterms - the array of search terms
public ERXFullTextQualifier(String keyPath,
ERXFullTextQualifier.MatchType matchType,
String... terms)
keyPath - the keypath to qualify on (some databases may ignore this)matchType - ANY or ALLterms - the list of search terms| Method Detail |
|---|
public String keyPath()
public String indexName()
public ERXFullTextQualifier.MatchType matchType()
public NSArray<String> terms()
public ERXFullTextQualifier clone()
clone in class EOQualifierpublic void addQualifierKeysToSet(NSMutableSet keys)
addQualifierKeysToSet in class EOQualifier
public EOQualifier qualifierWithBindings(NSDictionary bindings,
boolean requiresAll)
qualifierWithBindings in class EOQualifierpublic void validateKeysWithRootClassDescription(EOClassDescription classDescription)
validateKeysWithRootClassDescription in class EOQualifierpublic boolean evaluateWithObject(Object object)
evaluateWithObject in interface EOQualifierEvaluationevaluateWithObject in class EOQualifier
|
Last updated: Fri, Jan 9, 2009 04:35 AM EST | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||