Go to the source code of this file.
CPAllPredicateModifier = 1 |
A predicate to compare all entries in the destination of a to-many relationship.
The left hand side must be a collection. The corresponding predicate compares each value in the left hand side with the right hand side, and returns NO when it finds the first mismatch—or YES if all match.
Definition at line 36 of file CPComparisonPredicate_Constants.j.
CPAnyPredicateModifier = 2 |
A predicate to match with any entry in the destination of a to-many relationship.
The left hand side must be a collection. The corresponding predicate compares each value in the left hand side against the right hand side and returns YES when it finds the first match—or NO if no match is found.
Definition at line 43 of file CPComparisonPredicate_Constants.j.
CPBeginsWithPredicateOperatorType = 8 |
A begins-with predicate.
Definition at line 101 of file CPComparisonPredicate_Constants.j.
CPBetweenPredicateOperatorType = 100 |
A predicate to determine if the right hand side lies between bounds specified by the left hand side.
Returns YES if [lhs between rhs]; the right hand side must be an array in which the first element sets the lower bound and the second element the upper, inclusive. Comparison is performed using compare: or the class-appropriate equivalent.
Definition at line 134 of file CPComparisonPredicate_Constants.j.
CPCaseInsensitivePredicateOption = 1 |
A case-insensitive predicate.
Definition at line 49 of file CPComparisonPredicate_Constants.j.
CPContainsPredicateOperatorType = 99 |
A predicate to determine if the left hand side contains the right hand side.
Returns YES if [lhs contains rhs]; the left hand side must be a CPExpression object that evaluates to a collection
Definition at line 127 of file CPComparisonPredicate_Constants.j.
CPCustomSelectorPredicateOperatorType = 11 |
Predicate that uses a custom selector that takes a single argument and returns a BOOL value.
The selector is invoked on the left hand side with the right hand side.
Definition at line 120 of file CPComparisonPredicate_Constants.j.
CPDiacriticInsensitivePredicateOption = 2 |
A diacritic-insensitive predicate.
Definition at line 54 of file CPComparisonPredicate_Constants.j.
CPDiacriticInsensitiveSearch = 128 |
Definition at line 55 of file CPComparisonPredicate_Constants.j.
CPDirectPredicateModifier = 0 |
A predicate to directly compare the left and right hand sides.
Definition at line 29 of file CPComparisonPredicate_Constants.j.
CPEndsWithPredicateOperatorType = 9 |
An ends-with predicate.
Definition at line 106 of file CPComparisonPredicate_Constants.j.
CPEqualToPredicateOperatorType = 4 |
An equal-to predicate.
Definition at line 81 of file CPComparisonPredicate_Constants.j.
CPGreaterThanOrEqualToPredicateOperatorType = 3 |
A greater-than-or-equal-to predicate.
Definition at line 76 of file CPComparisonPredicate_Constants.j.
CPGreaterThanPredicateOperatorType = 2 |
A greater-than predicate.
Definition at line 71 of file CPComparisonPredicate_Constants.j.
CPInPredicateOperatorType = 10 |
A predicate to determine if the left hand side is in the right hand side.
For strings, returns YES if the left hand side is a substring of the right hand side. For collections, returns YES if the left hand side is in the right hand side.
Definition at line 113 of file CPComparisonPredicate_Constants.j.
CPLessThanOrEqualToPredicateOperatorType = 1 |
A less-than-or-equal-to predicate.
Definition at line 66 of file CPComparisonPredicate_Constants.j.
CPLessThanPredicateOperatorType = 0 |
A less-than predicate.
Definition at line 61 of file CPComparisonPredicate_Constants.j.
CPLikePredicateOperatorType = 7 |
A simple subset of the matches predicate, similar in behavior to SQL LIKE.
Definition at line 96 of file CPComparisonPredicate_Constants.j.
CPMatchesPredicateOperatorType = 6 |
A full regular expression matching predicate.
Definition at line 91 of file CPComparisonPredicate_Constants.j.
CPNotEqualToPredicateOperatorType = 5 |
A not-equal-to predicate.
Definition at line 86 of file CPComparisonPredicate_Constants.j.