public class ERXRegExQualifier extends ERXKeyValueQualifier
matches and you should be able to have qualifier strings with "foo matches bar".
This class does not do any conversion of the regular expression, so you'd need to have your syntax in a way that is understood by both the java code and the DB.
| Modifier and Type | Class and Description |
|---|---|
static class |
ERXRegExQualifier.Support |
EOQualifier.Comparison, EOQualifier.ComparisonSupport, EOQualifier.QualifierVariableSubstitutionExceptionNSCoding._BigDecimalSupport, NSCoding._BigIntegerSupport, NSCoding._BooleanSupport, NSCoding._ByteSupport, NSCoding._CharacterSupport, NSCoding._DateSupport, NSCoding._DoubleSupport, NSCoding._FloatSupport, NSCoding._IntegerSupport, NSCoding._LongSupport, NSCoding._NumberSupport, NSCoding._ShortSupport, NSCoding._StringSupportEOKeyValueArchiving._NullValueSupport, EOKeyValueArchiving._NumberSupport, EOKeyValueArchiving._TimestampSupport, EOKeyValueArchiving.Awaking, EOKeyValueArchiving.FinishInitialization| Modifier and Type | Field and Description |
|---|---|
static NSSelector |
MatchesSelector |
static java.lang.String |
MatchesSelectorName |
_CLASS, _key, _lowercaseCache, _selector, _valueQualifierOperatorCaseInsensitiveLike, QualifierOperatorContains, QualifierOperatorEqual, QualifierOperatorGreaterThan, QualifierOperatorGreaterThanOrEqualTo, QualifierOperatorLessThan, QualifierOperatorLessThanOrEqualTo, QualifierOperatorLike, QualifierOperatorNotEqual| Constructor and Description |
|---|
ERXRegExQualifier(java.lang.String aKey,
java.lang.String aValue) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
evaluateWithObject(java.lang.Object object)
Overridden to handle case of in-memory evaluation of QualifierOperatorContains selector and a keyPath that has multiple toMany and/or manyToMany-flattened relationships resulting in arrays of arrays rather than
an array of discrete objects.
|
and, filter, filtered, first, not, one, or, requiredOne_accept, addQualifierKeysToSet, classForCoder, decodeObject, decodeWithKeyValueUnarchiver, encodeWithCoder, encodeWithKeyValueArchiver, equals, key, qualifierWithBindings, selector, toString, validateKeysWithRootClassDescription, value_isEmpty, allQualifierKeys, allQualifierOperators, bindingKeys, clone, filterArrayWithQualifier, filteredArrayWithQualifier, keyPathForBindingKey, operatorSelectorForSelectorNamed, operatorSelectorForString, qualifierToMatchAllValues, qualifierToMatchAnyValue, qualifierWithQualifierFormat, relationalQualifierOperators, stringForOperatorSelectorpublic static final java.lang.String MatchesSelectorName
public static final NSSelector MatchesSelector
public ERXRegExQualifier(java.lang.String aKey,
java.lang.String aValue)
public boolean evaluateWithObject(java.lang.Object object)
ERXKeyValueQualifierer.extensions.ERXKeyValueQualifier.Contains.flatten to falseevaluateWithObject in interface EOQualifierEvaluationevaluateWithObject in class ERXKeyValueQualifierCopyright © 2002 – 2022 Project Wonder.