public class ERXFullTextQualifier extends EOQualifier implements Cloneable, EOQualifierEvaluation
Modifier and Type | Class and Description |
---|---|
static class |
ERXFullTextQualifier.MatchType |
EOQualifier.Comparison, EOQualifier.ComparisonSupport, EOQualifier.QualifierVariableSubstitutionException
Modifier and Type | Field and Description |
---|---|
static NSSelector |
FullTextContainsSelector |
static String |
FullTextContainsSelectorName |
_CLASS, QualifierOperatorCaseInsensitiveLike, QualifierOperatorContains, QualifierOperatorEqual, QualifierOperatorGreaterThan, QualifierOperatorGreaterThanOrEqualTo, QualifierOperatorLessThan, QualifierOperatorLessThanOrEqualTo, QualifierOperatorLike, QualifierOperatorNotEqual
_CLASS
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.
|
EOQualifier |
qualifierWithBindings(NSDictionary bindings,
boolean requiresAll) |
NSArray<String> |
terms()
Returns the array of search terms for this qualifier.
|
void |
validateKeysWithRootClassDescription(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 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 EOQualifier
public void addQualifierKeysToSet(NSMutableSet keys)
addQualifierKeysToSet
in class EOQualifier
public EOQualifier qualifierWithBindings(NSDictionary bindings, boolean requiresAll)
qualifierWithBindings
in class EOQualifier
public void validateKeysWithRootClassDescription(EOClassDescription classDescription)
validateKeysWithRootClassDescription
in class EOQualifier
public boolean evaluateWithObject(Object object)
evaluateWithObject
in interface EOQualifierEvaluation
evaluateWithObject
in class EOQualifier
Copyright © 2002 – 2024 Project Wonder.