public class ERXFullTextQualifier extends com.webobjects.eocontrol.EOQualifier implements Cloneable, com.webobjects.eocontrol.EOQualifierEvaluation
Modifier and Type | Class and Description |
---|---|
static class |
ERXFullTextQualifier.MatchType |
Modifier and Type | Field and Description |
---|---|
static com.webobjects.foundation.NSSelector |
FullTextContainsSelector |
static String |
FullTextContainsSelectorName |
_CLASS, QualifierOperatorCaseInsensitiveLike, QualifierOperatorContains, QualifierOperatorEqual, QualifierOperatorGreaterThan, QualifierOperatorGreaterThanOrEqualTo, QualifierOperatorLessThan, QualifierOperatorLessThanOrEqualTo, QualifierOperatorLike, QualifierOperatorNotEqual
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
com.webobjects.eocontrol.EOQualifier |
qualifierWithBindings(NSDictionary bindings,
boolean requiresAll) |
NSArray<String> |
terms()
Returns the array of search terms for this qualifier.
|
void |
validateKeysWithRootClassDescription(com.webobjects.eocontrol.EOClassDescription classDescription) |
_accept, _isEmpty, allQualifierKeys, allQualifierOperators, bindingKeys, filterArrayWithQualifier, filteredArrayWithQualifier, keyPathForBindingKey, operatorSelectorForSelectorNamed, operatorSelectorForString, qualifierToMatchAllValues, qualifierToMatchAnyValue, qualifierWithQualifierFormat, relationalQualifierOperators, stringForOperatorSelector
public static final String FullTextContainsSelectorName
public static final com.webobjects.foundation.NSSelector FullTextContainsSelector
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 termspublic 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 termspublic 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 termspublic 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 termspublic String keyPath()
public String indexName()
public ERXFullTextQualifier.MatchType matchType()
public NSArray<String> terms()
public ERXFullTextQualifier clone()
clone
in class com.webobjects.eocontrol.EOQualifier
public void addQualifierKeysToSet(NSMutableSet keys)
addQualifierKeysToSet
in class com.webobjects.eocontrol.EOQualifier
public com.webobjects.eocontrol.EOQualifier qualifierWithBindings(NSDictionary bindings, boolean requiresAll)
qualifierWithBindings
in class com.webobjects.eocontrol.EOQualifier
public void validateKeysWithRootClassDescription(com.webobjects.eocontrol.EOClassDescription classDescription)
validateKeysWithRootClassDescription
in class com.webobjects.eocontrol.EOQualifier
public boolean evaluateWithObject(Object object)
evaluateWithObject
in interface com.webobjects.eocontrol.EOQualifierEvaluation
evaluateWithObject
in class com.webobjects.eocontrol.EOQualifier
Copyright © 2002 – 2020 Project Wonder.