
Classes | |
| interface | ValueCoding |
Public Types | |
| enum | Type { Attribute, ToOneRelationship, ToManyRelationship } |
Public Member Functions | |
| ERXKeyComparisonQualifier | after (ERXKey<?extends NSTimestamp > when) |
| ERXKeyValueQualifier | after (NSTimestamp when) |
| NSArray< T > | arrayValueInObject (Object obj) |
| ERXSortOrdering | asc () |
| ERXSortOrdering | ascInsensitive () |
| ERXSortOrdering.ERXSortOrderings | ascInsensitives () |
| ERXSortOrdering.ERXSortOrderings | ascs () |
| ERXKey< BigDecimal > | atAvg () |
| ERXKey< BigDecimal > | atAvg (ERXKey<?> key) |
| ERXKey< BigDecimal > | atAvgNonNull () |
| ERXKey< BigDecimal > | atAvgNonNull (ERXKey<?> key) |
| ERXKey< Integer > | atCount () |
| ERXKey< Boolean > | atIsEmpty () |
| ERXKey< BigDecimal > | atMedian (ERXKey<?> key) |
| ERXKey< BigDecimal > | atMedian () |
| ERXKey< BigDecimal > | atPopStdDev (ERXKey<?> key) |
| ERXKey< BigDecimal > | atPopStdDev () |
| ERXKey< BigDecimal > | atStdDev (ERXKey<?> key) |
| ERXKey< BigDecimal > | atStdDev () |
| ERXKey< BigDecimal > | atSum () |
| ERXKey< BigDecimal > | atSum (ERXKey<?> key) |
| ERXKeyComparisonQualifier | before (ERXKey<?extends NSTimestamp > when) |
| ERXKeyValueQualifier | before (NSTimestamp when) |
| EOQualifier | between (T lowerBound, T upperBound, boolean inclusive) |
| EOQualifier | between (T lowerBound, T upperBound) |
| ERXKeyValueQualifier | contains (String value) |
| ERXAndQualifier | containsAll (String[] tokens) |
| ERXAndQualifier | containsAll (String tokens) |
| ERXOrQualifier | containsAny (String[] tokens) |
| ERXOrQualifier | containsAny (String tokens) |
| ERXKeyValueQualifier | containsObject (Object obj) |
| ERXSortOrdering | desc () |
| ERXSortOrdering | descInsensitive () |
| ERXSortOrdering.ERXSortOrderings | descInsensitives () |
| ERXSortOrdering.ERXSortOrderings | descs () |
| ERXKeyValueQualifier | endsWith (String value) |
| ERXKeyValueQualifier | endsWithInsensitive (String value) |
| ERXKeyComparisonQualifier | eq (ERXKey< T > value) |
| ERXKeyValueQualifier | eq (T value) |
| boolean | equals (Object obj) |
| ERXKey (String key) | |
| ERXKeyComparisonQualifier | greaterThan (ERXKey< T > value) |
| ERXKeyValueQualifier | greaterThan (T value) |
| ERXKeyComparisonQualifier | greaterThanOrEqualTo (ERXKey< T > value) |
| ERXKeyValueQualifier | greaterThanOrEqualTo (T value) |
| ERXKeyComparisonQualifier | gt (ERXKey< T > value) |
| ERXKeyValueQualifier | gt (T value) |
| ERXKeyComparisonQualifier | gte (ERXKey< T > value) |
| ERXKeyValueQualifier | gte (T value) |
| int | hashCode () |
| ERXKeyValueQualifier | hasValues (NSArray< T > values) |
| ERXKeyValueQualifier | ilike (String value) |
| ERXOrQualifier | in (NSArray< T > values) |
| ERXOrQualifier | inObjects (T...values) |
| ERXKeyComparisonQualifier | is (ERXKey< T > value) |
| ERXKeyValueQualifier | is (T value) |
| ERXKeyValueQualifier | isFalse () |
| ERXKeyComparisonQualifier | isNot (ERXKey< T > value) |
| ERXKeyValueQualifier | isNot (T value) |
| ERXKeyValueQualifier | isNotNull () |
| ERXKeyValueQualifier | isNull () |
| ERXKeyValueQualifier | isTrue () |
| ERXKeyValueQualifier | isUnlessNull (T value) |
| String | key () |
| ERXKeyComparisonQualifier | lessThan (ERXKey< T > value) |
| ERXKeyValueQualifier | lessThan (T value) |
| ERXKeyComparisonQualifier | lessThanOrEqualTo (ERXKey< T > value) |
| ERXKeyValueQualifier | lessThanOrEqualTo (T value) |
| ERXKeyValueQualifier | like (String value) |
| ERXKeyValueQualifier | likeInsensitive (String value) |
| ERXKeyComparisonQualifier | lt (ERXKey< T > value) |
| ERXKeyValueQualifier | lt (T value) |
| ERXKeyComparisonQualifier | lte (ERXKey< T > value) |
| ERXKeyValueQualifier | lte (T value) |
| ERXKeyComparisonQualifier | ne (ERXKey< T > value) |
| ERXKeyValueQualifier | ne (T value) |
| ERXAndQualifier | notIn (NSArray< T > values) |
| EOQualifier | prefix (EOQualifier qualifier) |
| Object | rawValueInObject (Object obj) |
| ERXKeyValueQualifier | startsWith (String value) |
| ERXKeyValueQualifier | startsWithInsensitive (String value) |
| void | takeValueInObject (T value, Object obj) |
| String | toString () |
| T | valueInObject (Object obj) |
Static Public Member Functions | |
| static ERXKey< BigDecimal > | avg () |
| static ERXKey< BigDecimal > | avg (ERXKey<?> key) |
| static ERXKey< BigDecimal > | avgNonNull () |
| static ERXKey< BigDecimal > | avgNonNull (ERXKey<?> key) |
| static ERXKey< Integer > | count () |
| static< U > ERXKey< U > | fetchSpec (String fetchSpecName) |
| static< U > ERXKey< NSArray< U > > | fetchSpec (String fetchSpecName, ERXKey< U > key) |
| static< U > ERXKey< U > | flatten () |
| static< U > ERXKey< NSArray< U > > | flatten (ERXKey< U > key) |
| static ERXKey< Boolean > | isEmpty () |
| static< U > ERXKey< U > | limit (Integer limit) |
| static< U > ERXKey< NSArray< U > > | limit (Integer limit, ERXKey< U > key) |
| static< U > ERXKey< U > | max () |
| static< U > ERXKey< U > | max (ERXKey< U > key) |
| static ERXKey< BigDecimal > | median (ERXKey<?> key) |
| static ERXKey< BigDecimal > | median () |
| static< U > ERXKey< U > | min () |
| static< U > ERXKey< U > | min (ERXKey< U > key) |
| static< U > ERXKey< U > | objectAtIndex (Integer index) |
| static< U > ERXKey< U > | objectAtIndex (Integer index, ERXKey< U > key) |
| static ERXKey< BigDecimal > | popStdDev (ERXKey<?> key) |
| static ERXKey< BigDecimal > | popStdDev () |
| static< U > ERXKey< U > | removeNullValues () |
| static< U > ERXKey< U > | removeNullValues (ERXKey< U > key) |
| static< U > ERXKey< U > | reverse () |
| static< U > ERXKey< NSArray< U > > | reverse (ERXKey< U > key) |
| static< U > ERXKey< U > | sort (ERXKey<?>...sortKeys) |
| static< U > ERXKey< U > | sortAsc (ERXKey<?>...sortKeys) |
| static< U > ERXKey< U > | sortDesc (ERXKey<?>...sortKeys) |
| static< U > ERXKey< U > | sortInsensitiveAsc (ERXKey<?>...sortKeys) |
| static< U > ERXKey< U > | sortInsensitiveDesc (ERXKey<?>...sortKeys) |
| static ERXKey< BigDecimal > | stdDev (ERXKey<?> key) |
| static ERXKey< BigDecimal > | stdDev () |
| static< U > ERXKey< U > | subarrayWithRange (NSRange range) |
| static< U > ERXKey< NSArray< U > > | subarrayWithRange (NSRange range, ERXKey< U > key) |
| static ERXKey< BigDecimal > | sum () |
| static ERXKey< BigDecimal > | sum (ERXKey<?> key) |
| static< U > ERXKey< U > | unique () |
| static< U > ERXKey< NSArray< U > > | unique (ERXKey< U > key) |
Package Functions | |
| public< U > ERXKey< U > | append (ERXKey< U > key) |
| public< U > ERXKey< U > | append (String key) |
| public< U > ERXKey< NSArray< U > > | appendAsArray (ERXKey< U > key) |
| public< U > ERXKey< U > | atFetchSpec (String fetchSpecName) |
| public< U > ERXKey< NSArray< U > > | atFetchSpec (String fetchSpecName, ERXKey< U > key) |
| public< U > ERXKey< U > | atFlatten () |
| public< U > ERXKey< NSArray< U > > | atFlatten (ERXKey< U > key) |
| public< U > ERXKey< U > | atLimit (Integer limit) |
| public< U > ERXKey< NSArray< U > > | atLimit (Integer limit, ERXKey< U > key) |
| public< U > ERXKey< U > | atMax () |
| public< U > ERXKey< U > | atMax (ERXKey< U > key) |
| public< U > ERXKey< U > | atMin () |
| public< U > ERXKey< U > | atMin (ERXKey< U > key) |
| public< U > ERXKey< U > | atObjectAtIndex (Integer index) |
| public< U > ERXKey< U > | atObjectAtIndex (Integer index, ERXKey< U > key) |
| public< U > ERXKey< U > | atRemoveNullValues () |
| public< U > ERXKey< U > | atRemoveNullValues (ERXKey< U > key) |
| public< U > ERXKey< U > | atReverse () |
| public< U > ERXKey< NSArray< U > > | atReverse (ERXKey< U > key) |
| public< U > ERXKey< U > | atSort (ERXKey<?>...sortKeys) |
| public< U > ERXKey< U > | atSortAsc (ERXKey<?>...sortKeys) |
| public< U > ERXKey< U > | atSortDesc (ERXKey<?>...sortKeys) |
| public< U > ERXKey< U > | atSortInsensitiveAsc (ERXKey<?>...sortKeys) |
| public< U > ERXKey< U > | atSortInsensitiveDesc (ERXKey<?>...sortKeys) |
| public< U > ERXKey< U > | atSubarrayWithRange (NSRange range) |
| public< U > ERXKey< NSArray< U > > | atSubarrayWithRange (NSRange range, ERXKey< U > key) |
| public< U > ERXKey< U > | atUnique () |
| public< U > ERXKey< NSArray< U > > | atUnique (ERXKey< U > key) |
| public< U > ERXKey< U > | dot (ERXKey< U > key) |
| public< U > ERXKey< U > | dot (String key) |
| public< U > ERXKey< NSArray< U > > | dotArray (ERXKey< U > key) |
Private Attributes | |
| String | _key |
Static Private Attributes | |
| static final ERXKey< BigDecimal > | AVG = new ERXKey<BigDecimal>("@avg") |
| static final ERXKey< BigDecimal > | AVG_NON_NULL = new ERXKey<BigDecimal>("@avgNonNull") |
| static final ERXKey< Integer > | COUNT = new ERXKey<Integer>("@count") |
| static final ERXKey<?> | FETCH_SPEC = new ERXKey<Object>("@fetchSpec") |
| static final ERXKey<?> | FLATTEN = new ERXKey<Object>("@flatten") |
| static final ERXKey< Boolean > | IS_EMPTY = new ERXKey<Boolean>("@isEmpty") |
| static final ERXKey<?> | LIMIT = new ERXKey<Object>("@limit") |
| static final ERXKey<?> | MAX = new ERXKey<Object>("@max") |
| static final ERXKey< BigDecimal > | MEDIAN = new ERXKey<BigDecimal>("@median") |
| static final ERXKey<?> | MIN = new ERXKey<Object>("@min") |
| static final ERXKey<?> | OBJECT_AT_INDEX = new ERXKey<Object>("@objectAtIndex") |
| static final ERXKey< BigDecimal > | POP_STD_DEV = new ERXKey<BigDecimal>("@popStdDev") |
| static final ERXKey<?> | REMOVE_NULL_VALUES = new ERXKey<Object>("@removeNullValues") |
| static final ERXKey<?> | REVERSE = new ERXKey<Object>("@reverse") |
| static final ERXKey<?> | SORT = new ERXKey<Object>("@sort") |
| static final ERXKey<?> | SORT_ASC = new ERXKey<Object>("@sortAsc") |
| static final ERXKey<?> | SORT_DESC = new ERXKey<Object>("@sortDesc") |
| static final ERXKey<?> | SORT_INSENSITIVE_ASC = new ERXKey<Object>("@sortInsensitiveAsc") |
| static final ERXKey<?> | SORT_INSENSITIVE_DESC = new ERXKey<Object>("@sortInsensitiveDesc") |
| static final ERXKey< BigDecimal > | STD_DEV = new ERXKey<BigDecimal>("@stdDev") |
| static final ERXKey<?> | SUBARRAY_WITH_RANGE = new ERXKey<Object>("@subarrayWithRange") |
| static final ERXKey< BigDecimal > | SUM = new ERXKey<BigDecimal>("@sum") |
| static final ERXKey<?> | UNIQUE = new ERXKey<Object>("@unique") |
<code> public class Person extends ERXGenericRecord { ... public static final ERXKey<Country> country = new ERXKey<Country>(Person.COUNTRY_KEY); public static final ERXKey<NSTimestamp> birthDate = new ERXKey<NSTimestamp>(Person.BIRTH_DATE_KEY); ... }
Country germany = ...; NSTimestamp someRandomDate = ...; EOQualifier qualifier = Person.country.is(germany).and(Person.birthDate.after(someRandomDate)); </code>
| <T> | the type of the value of this key |
| enum Type |
| ERXKey | ( | String | key | ) |
Constructs an ERXKey.
| key | the underlying keypath |
| ERXKeyComparisonQualifier after | ( | ERXKey<?extends NSTimestamp > | when | ) |
Equivalent to new ERXKeyComparisonQualifier(key, EOQualifier.QualifierOperatorGreaterThan, value);
| when | the date to compare with |
| ERXKeyValueQualifier after | ( | NSTimestamp | when | ) |
Equivalent to new ERXKeyValueQualifier(key, EOQualifier.QualifierOperatorGreaterThan, value);
| when | the date to compare with |
| public<U> ERXKey<U> append | ( | ERXKey< U > | key | ) | [package] |
Returns a new ERXKey that appends the given key to this keypath. For instance, if this key is "person" and you add "firstName" to it, this will return a new ERXKey "person.firstName".
Note: ERXKey has a limitation that it will not return the proper generic type if you attempt to build a keypath extension of an NSArray. For instance, ERXKey<NSArray<Person>>.append(ERXKey<String>) will return ERXKey<String> when, in fact, it should be ERXKey<NSArray<String>>. This is a limitation due to type erasure with generics that we cannot currently resolve this problem.
| <U> | the type of the next key | |
| key | the key to append to this keypath |
| public<U> ERXKey<U> append | ( | String | key | ) | [package] |
Returns a new ERXKey that appends the given key to this keypath. For instance, if this key is "person" and you add "firstName" to it, this will return a new ERXKey "person.firstName".
Note: ERXKey has a limitation that it will not return the proper generic type if you attempt to build a keypath extension of an NSArray. For instance, ERXKey<NSArray<Person>>.append(ERXKey<String>) will return ERXKey<String> when, in fact, it should be ERXKey<NSArray<String>>. This is a limitation due to type erasure with generics that we cannot currently resolve this problem.
| <U> | the type of the next key | |
| key | the key to append to this keypath |
| public<U> ERXKey<NSArray<U> > appendAsArray | ( | ERXKey< U > | key | ) | [package] |
Returns a new ERXKey that appends the given key to this keypath. For instance, if this key is "person" and you add "firstName" to it, this will return a new ERXKey "person.firstName".
<code>
ERXKey<String> k = new ERXKey<String>("foo");
ERXKey<NSArray<String>> a = new ERXKey<NSArray<String>>("foos");
k = k.append(k);
a = a.append(k);
a = k.appendAsArray(k);
k = k.appendAsArray(k);
a = k.appendAsArray(a);
a = a.appendAsArray(k);
a = a.appendAsArray(a);
</code>
| <U> | the type of the next key in the array | |
| key | the key to append to this keypath |
| NSArray<T> arrayValueInObject | ( | Object | obj | ) |
Returns the value of this keypath on the given object cast as an NSArray.
| obj | the target object to apply this keypath on |
| ERXSortOrdering asc | ( | ) |
| ERXSortOrdering ascInsensitive | ( | ) |
| ERXSortOrdering.ERXSortOrderings ascInsensitives | ( | ) |
| ERXSortOrdering.ERXSortOrderings ascs | ( | ) |
| ERXKey<BigDecimal> atAvg | ( | ) |
Returns a new ERXKey that uses NSArray's AVERAGE aggregate operator .
| ERXKey<BigDecimal> atAvg | ( | ERXKey<?> | key | ) |
Returns a new ERXKey that prepends the given key with NSArray's AVERAGE aggregate operator . For instance, if the key is "price" this will return a new ERXKey "@avg.price".
| key | the key to use for this aggregate keypath |
| ERXKey<BigDecimal> atAvgNonNull | ( | ) |
Returns a new ERXKey that appends ERXArrayUtilities' avgNonNull aggregate operator .
| ERXKey<BigDecimal> atAvgNonNull | ( | ERXKey<?> | key | ) |
Returns a new ERXKey that prepends the given key with ERXArrayUtilities' avgNonNull aggregate operator . For instance, if the key is "price" this will return a new ERXKey "@avgNonNull.price".
| key | the key to use for this aggregate keypath |
| ERXKey<Integer> atCount | ( | ) |
Returns a new ERXKey that uses NSArray's COUNT operator . Since any keypath beyond is ignored, only a no arg method is available.
| public<U> ERXKey<U> atFetchSpec | ( | String | fetchSpecName | ) | [package] |
Returns a new ERXKey that prepends the given key with ERXArrayUtilities' fetchSpec operator . For instance, if the fetchSpecName is "newHomes" this will return a new ERXKey "@fetchSpec.newHomes".
| fetchSpecName | the fetchSpec name | |
| <U> | the type of the next key |
| public<U> ERXKey<NSArray<U> > atFetchSpec | ( | String | fetchSpecName, | |
| ERXKey< U > | key | |||
| ) | [package] |
Returns a new ERXKey that prepends the given key with ERXArrayUtilities' fetchSpec operator . For instance, if the key is "price" and fetchSpecName is "newHomes" this will return a new ERXKey "@fetchSpec.newHomes.price".
| fetchSpecName | the fetchSpec name | |
| <U> | the type of the next key | |
| key | the key to use for this keypath |
| public<U> ERXKey<U> atFlatten | ( | ) | [package] |
Returns a new ERXKey that prepends the given key with ERXArrayUtilities' flatten operator .
| <U> | the type of the next key |
| public<U> ERXKey<NSArray<U> > atFlatten | ( | ERXKey< U > | key | ) | [package] |
Returns a new ERXKey that prepends the given key with ERXArrayUtilities' flatten operator . For instance, if the key is "price" this will return a new ERXKey "@flatten.price".
| key | the key to use for this keypath | |
| <U> | the type of the next key |
| ERXKey<Boolean> atIsEmpty | ( | ) |
Returns a new ERXKey that prepends the given key with ERXArrayUtilities' isEmpty operator . Since any keypath beyond is ignored, only a no arg method is available.
| public<U> ERXKey<U> atLimit | ( | Integer | limit | ) | [package] |
Returns a new ERXKey that prepends the given key with ERXArrayUtilities' limit operator . For instance, if the limit is 3 this will return a new ERXKey "@limit.3".
| limit | the maximum number of objects allowed by the limit | |
| <U> | the type of the next key |
| public<U> ERXKey<NSArray<U> > atLimit | ( | Integer | limit, | |
| ERXKey< U > | key | |||
| ) | [package] |
Returns a new ERXKey that prepends the given key with ERXArrayUtilities' limit operator . For instance, if the key is "price" and limit is 3 this will return a new ERXKey "@limit.3.price".
| limit | the maximum number of objects allowed by the limit | |
| <U> | the type of the next key | |
| key | the key to use for this keypath |
| public<U> ERXKey<U> atMax | ( | ) | [package] |
Returns a new ERXKey that uses NSArray's MAX aggregate operator .
| <U> | the type of the next key |
| public<U> ERXKey<U> atMax | ( | ERXKey< U > | key | ) | [package] |
Returns a new ERXKey that prepends the given key with NSArray's MAX aggregate operator . For instance, if the key is "price" this will return a new ERXKey "@max.price".
| <U> | the type of the next key | |
| key | the key to use for this aggregate keypath |
| ERXKey<BigDecimal> atMedian | ( | ERXKey<?> | key | ) |
Returns a new ERXKey that prepends the given key with ERXArrayUtilities' median aggregate operator . For instance, if the key is "price" this will return a new ERXKey "@median.price".
| key | the key to use for this aggregate keypath |
| ERXKey<BigDecimal> atMedian | ( | ) |
Returns a new ERXKey that appends the given key with ERXArrayUtilities' median aggregate operator .
| key | the key to use for this aggregate keypath |
| public<U> ERXKey<U> atMin | ( | ) | [package] |
Returns a new ERXKey that uses NSArray's MIN aggregate operator .
| <U> | the type of the next key |
| public<U> ERXKey<U> atMin | ( | ERXKey< U > | key | ) | [package] |
Returns a new ERXKey that prepends the given key with NSArray's MIN aggregate operator . For instance, if the key is "price" this will return a new ERXKey "@min.price".
| <U> | the type of the next key | |
| key | the key to use for this aggregate keypath |
| public<U> ERXKey<U> atObjectAtIndex | ( | Integer | index | ) | [package] |
Returns a new ERXKey that prepends the given key with ERXArrayUtilities' objectAtIndex operator . For instance, if the index is 3 then this will return a new ERXKey "@objectAtIndex.3".
| <U> | the type of the next key | |
| index | The index of the object to return from the array |
| public<U> ERXKey<U> atObjectAtIndex | ( | Integer | index, | |
| ERXKey< U > | key | |||
| ) | [package] |
Returns a new ERXKey that prepends the given key with ERXArrayUtilities' objectAtIndex operator . For instance, if the index is 3 and the key is "price" then this will return a new ERXKey "@objectAtIndex.3.price".
| <U> | the type of the next key | |
| index | The index of the object to return from the array | |
| key | the key following the operator |
| ERXKey<BigDecimal> atPopStdDev | ( | ERXKey<?> | key | ) |
Returns a new ERXKey that uses Wonder's standard deviation operator
| key | the key to append |
| ERXKey<BigDecimal> atPopStdDev | ( | ) |
Returns a new ERXKey that uses Wonder's standard deviation operator
| public<U> ERXKey<U> atRemoveNullValues | ( | ) | [package] |
Returns a new ERXKey that prepends the given key with ERXArrayUtilities' RemoveNullValues operator .
| <U> | the type of the next key |
| public<U> ERXKey<U> atRemoveNullValues | ( | ERXKey< U > | key | ) | [package] |
Returns a new ERXKey that prepends the given key with ERXArrayUtilities' RemoveNullValues operator . For instance, if the key is "price" this will return a new ERXKey "@removeNullValues.price".
| key | the key to use for this keypath | |
| <U> | the type of the next key |
| public<U> ERXKey<U> atReverse | ( | ) | [package] |
Returns a new ERXKey that prepends the given key with ERXArrayUtilities' Reverse operator .
| <U> | the type of the next key |
| public<U> ERXKey<NSArray<U> > atReverse | ( | ERXKey< U > | key | ) | [package] |
Returns a new ERXKey that prepends the given key with ERXArrayUtilities' Reverse operator . For instance, if the key is "price" this will return a new ERXKey "@reverse.price".
| key | the key to use for this keypath | |
| <U> | the type of the next key |
| public<U> ERXKey<U> atSort | ( | ERXKey<?>... | sortKeys | ) | [package] |
Returns a new ERXKey that prepends the given key with ERXArrayUtilities' Sort operator . For instance, atSort(Employee.FIRST_NAME, Employee.LAST_NAME) would return a key like .firstName,lastname
| sortKeys | the ERXKeys to append for sorting | |
| <U> | the type of the next key |
| public<U> ERXKey<U> atSortAsc | ( | ERXKey<?>... | sortKeys | ) | [package] |
Returns a new ERXKey that prepends the given key with ERXArrayUtilities' SortAsc operator . For instance, atSortAsc(Employee.FIRST_NAME, Employee.LAST_NAME) would return a key like .firstName,lastname
| sortKeys | the ERXKeys to append for sorting | |
| <U> | the type of the next key |
| public<U> ERXKey<U> atSortDesc | ( | ERXKey<?>... | sortKeys | ) | [package] |
Returns a new ERXKey that prepends the given key with ERXArrayUtilities' SortDescending operator . For instance, atSortDesc(Employee.FIRST_NAME, Employee.LAST_NAME) would return a key like .firstName,lastname
| sortKeys | the ERXKeys to append for sorting | |
| <U> | the type of the next key |
| public<U> ERXKey<U> atSortInsensitiveAsc | ( | ERXKey<?>... | sortKeys | ) | [package] |
Returns a new ERXKey that prepends the given key with ERXArrayUtilities' SortInsensitiveAscending operator . For instance, atSortInsensitiveAsc(Employee.FIRST_NAME, Employee.LAST_NAME) would return a key like .firstName,lastname
| sortKeys | the ERXKeys to append for sorting | |
| <U> | the type of the next key |
| public<U> ERXKey<U> atSortInsensitiveDesc | ( | ERXKey<?>... | sortKeys | ) | [package] |
Returns a new ERXKey that prepends the given key with ERXArrayUtilities' SortInsensitiveDescending operator . For instance, atSortInsensitiveDesc(Employee.FIRST_NAME, Employee.LAST_NAME) would return a key like .firstName,lastname
| sortKeys | the ERXKeys to append for sorting | |
| <U> | the type of the next key |
| ERXKey<BigDecimal> atStdDev | ( | ERXKey<?> | key | ) |
Returns a new ERXKey that uses Wonder's standard deviation operator
| key | the key to append |
| ERXKey<BigDecimal> atStdDev | ( | ) |
Returns a new ERXKey that uses Wonder's standard deviation operator
| public<U> ERXKey<U> atSubarrayWithRange | ( | NSRange | range | ) | [package] |
Returns a new ERXKey that prepends the given key with ERXArrayUtilities' SubarrayWithRange operator . For instance, if the range is new NSRange(4,2) this will return a new ERXKey "@subarrayWithRange.4-2.price".
| range | the range for the operator | |
| <U> | the type of the next key |
| public<U> ERXKey<NSArray<U> > atSubarrayWithRange | ( | NSRange | range, | |
| ERXKey< U > | key | |||
| ) | [package] |
Returns a new ERXKey that prepends the given key with ERXArrayUtilities' SubarrayWithRange operator . For instance, if the key is "price" and the range is new NSRange(4,2) this will return a new ERXKey "@subarrayWithRange.4-2.price".
| key | the key to use for this keypath | |
| range | the range for the operator | |
| <U> | the type of the next key |
| ERXKey<BigDecimal> atSum | ( | ) |
Returns a new ERXKey that uses NSArray's SUM aggregate operator .
| ERXKey<BigDecimal> atSum | ( | ERXKey<?> | key | ) |
Returns a new ERXKey that prepends the given key with NSArray's SUM aggregate operator . For instance, if the key is "price" this will return a new ERXKey "@sum.price".
| key | the key to use for this aggregate keypath |
| public<U> ERXKey<U> atUnique | ( | ) | [package] |
Returns a new ERXKey that prepends the given key with ERXArrayUtilities' Unique operator .
| <U> | the type of the next key |
| public<U> ERXKey<NSArray<U> > atUnique | ( | ERXKey< U > | key | ) | [package] |
Returns a new ERXKey that prepends the given key with ERXArrayUtilities' Unique operator . For instance, if the key is "price" this will return a new ERXKey "@unique.price".
| key | the key to use for this keypath | |
| <U> | the type of the next key |
| static ERXKey<BigDecimal> avg | ( | ) | [static] |
Returns a new ERXKey that uses NSArray's AVERAGE aggregate operator .
| static ERXKey<BigDecimal> avg | ( | ERXKey<?> | key | ) | [static] |
Returns a new ERXKey that prepends the given key with NSArray's AVERAGE aggregate operator . For instance, if the key is "price" this will return a new ERXKey "@avg.price".
| key | the key to use for this aggregate keypath |
| static ERXKey<BigDecimal> avgNonNull | ( | ) | [static] |
Returns ERXArrayUtilities' avgNonNull aggregate operator .
| static ERXKey<BigDecimal> avgNonNull | ( | ERXKey<?> | key | ) | [static] |
Returns a new ERXKey that prepends the given key with ERXArrayUtilities' avgNonNull aggregate operator . For instance, if the key is "price" this will return a new ERXKey "@avgNonNull.price".
| key | the key to use for this aggregate keypath |
| ERXKeyComparisonQualifier before | ( | ERXKey<?extends NSTimestamp > | when | ) |
Equivalent to new ERXKeyComparisonQualifier(key, EOQualifier.QualifierOperatorLessThan, value);
| when | the date to compare with |
| ERXKeyValueQualifier before | ( | NSTimestamp | when | ) |
Equivalent to new ERXKeyValueQualifier(key, EOQualifier.QualifierOperatorLessThan, value);
| when | the date to compare with |
| EOQualifier between | ( | T | lowerBound, | |
| T | upperBound, | |||
| boolean | inclusive | |||
| ) |
Equivalent to key >= lowerBound and key <= upperBound (inclusive). Note that this does not return an ERXBetweenQualifier.
| lowerBound | the lower bound value | |
| upperBound | the upper bound value | |
| inclusive | whether or not the between includes the endpoints |
| EOQualifier between | ( | T | lowerBound, | |
| T | upperBound | |||
| ) |
Equivalent to key > lowerBound and key < upperBound (exclusive). Note that this does not return an ERXBetweenQualifier.
| lowerBound | the lower bound value | |
| upperBound | the upper bound value |
| ERXKeyValueQualifier contains | ( | String | value | ) |
Equivalent to new ERXKeyValueQualifier(key, EOQualifier.OperatorCaseInsensitiveLike, "*" + value + "*").
| value | the substring value |
| ERXAndQualifier containsAll | ( | String[] | tokens | ) |
Returns a qualifier that evalutes to true when the value of the given key contains all of the given tokens (insensitively).
| tokens | the list of tokens to search for |
| ERXAndQualifier containsAll | ( | String | tokens | ) |
Returns a qualifier that evalutes to true when the value of the given key contains all of the given tokens (insensitively) in the search string. The search string will be tokenized by splitting on space characters.
| tokens | a whitespace separated list of tokens to search for |
| ERXOrQualifier containsAny | ( | String[] | tokens | ) |
Returns a qualifier that evalutes to true when the value of the given key contains any of the given tokens (insensitively).
| tokens | the list of tokens to search for |
| ERXOrQualifier containsAny | ( | String | tokens | ) |
Returns a qualifier that evalutes to true when the value of the given key contains any of the given tokens (insensitively) in the search string. The search string will be tokenized by splitting on space characters.
| tokens | a whitespace separated list of tokens to search for |
| ERXKeyValueQualifier containsObject | ( | Object | obj | ) |
Returns a qualifier that evaluates to true when the given to many key contains the given object.
Equivalent to new ERXKeyValueQualifier(key, EOQualifier.OperatorContains, value).
| obj | the object |
| static ERXKey<Integer> count | ( | ) | [static] |
Returns a new ERXKey that uses NSArray's COUNT operator . Since any keypath beyond is ignored, only a no arg method is available.
| ERXSortOrdering desc | ( | ) |
| ERXSortOrdering descInsensitive | ( | ) |
| ERXSortOrdering.ERXSortOrderings descInsensitives | ( | ) |
| ERXSortOrdering.ERXSortOrderings descs | ( | ) |
| public<U> ERXKey<U> dot | ( | ERXKey< U > | key | ) | [package] |
Calls append(key)
| <U> | the key type | |
| key | the key to append to this keypath |
| public<U> ERXKey<U> dot | ( | String | key | ) | [package] |
Calls append(key)
| <U> | the key type | |
| key | the key to append to this keypath |
| public<U> ERXKey<NSArray<U> > dotArray | ( | ERXKey< U > | key | ) | [package] |
Calls appendAsArray(key).
| <U> | the type | |
| key | the key to append to this keypath |
| ERXKeyValueQualifier endsWith | ( | String | value | ) |
Equivalent to new ERXKeyValueQualifier(key, EOQualifier.OperatorLike, "*" + value).
| value | the substring value |
| ERXKeyValueQualifier endsWithInsensitive | ( | String | value | ) |
Equivalent to new ERXKeyValueQualifier(key, EOQualifier.OperatorCaseInsensitiveLike, "*" + value).
| value | the substring value |
| ERXKeyComparisonQualifier eq | ( | ERXKey< T > | value | ) |
Equivalent to new ERXKeyComparisonQualifier(key, EOQualifier.QualifierOperatorEqual, value);
| value | the value |
| ERXKeyValueQualifier eq | ( | T | value | ) |
Equivalent to new ERXKeyValueQualifier(key, EOQualifier.QualifierOperatorEqual, value);
| value | the value |
| boolean equals | ( | Object | obj | ) |
| static <U> ERXKey<U> fetchSpec | ( | String | fetchSpecName | ) | [static] |
Returns a new ERXKey that prepends the given key with ERXArrayUtilities' fetchSpec operator . For instance, if the fetchSpecName is "newHomes" this will return a new ERXKey "@fetchSpec.newHomes".
| fetchSpecName | the fetchSpec name | |
| <U> | the type of the next key |
| static <U> ERXKey<NSArray<U> > fetchSpec | ( | String | fetchSpecName, | |
| ERXKey< U > | key | |||
| ) | [static] |
Returns a new ERXKey that prepends the given key with ERXArrayUtilities' fetchSpec operator . For instance, if the key is "price" and fetchSpecName is "newHomes" this will return a new ERXKey "@fetchSpec.newHomes.price".
| fetchSpecName | the fetchSpec name | |
| <U> | the type of the next key | |
| key | the key to use for this keypath |
| static <U> ERXKey<U> flatten | ( | ) | [static] |
Returns a new ERXKey that prepends the given key with ERXArrayUtilities' flatten operator .
| <U> | the type of the next key |
| static <U> ERXKey<NSArray<U> > flatten | ( | ERXKey< U > | key | ) | [static] |
Returns a new ERXKey that prepends the given key with ERXArrayUtilities' flatten operator . For instance, if the key is "price" this will return a new ERXKey "@flatten.price".
| key | the key to use for this keypath | |
| <U> | the type of the next key |
| ERXKeyComparisonQualifier greaterThan | ( | ERXKey< T > | value | ) |
Equivalent to new ERXKeyComparisonQualifier(key, EOQualifier.QualifierOperatorGreaterThan, value);
| value | the value |
| ERXKeyValueQualifier greaterThan | ( | T | value | ) |
Equivalent to new ERXKeyValueQualifier(key, EOQualifier.QualifierOperatorGreaterThan, value);
| value | the value |
| ERXKeyComparisonQualifier greaterThanOrEqualTo | ( | ERXKey< T > | value | ) |
Equivalent to new ERXKeyComparisonQualifier(key, EOQualifier.QualifierOperatorGreaterThanOrEqualTo, value);
| value | the value |
| ERXKeyValueQualifier greaterThanOrEqualTo | ( | T | value | ) |
Equivalent to new ERXKeyValueQualifier(key, EOQualifier.QualifierOperatorGreaterThanOrEqualTo, value);
| value | the value |
| ERXKeyComparisonQualifier gt | ( | ERXKey< T > | value | ) |
Equivalent to new ERXKeyComparisonQualifier(key, EOQualifier.QualifierOperatorGreaterThan, value);
| value | the value |
| ERXKeyValueQualifier gt | ( | T | value | ) |
Equivalent to new ERXKeyValueQualifier(key, EOQualifier.QualifierOperatorGreaterThan, value);
| value | the value |
| ERXKeyComparisonQualifier gte | ( | ERXKey< T > | value | ) |
Equivalent to new ERXKeyComparisonQualifier(key, EOQualifier.QualifierOperatorGreaterThanOrEqualTo, value);
| value | the value |
| ERXKeyValueQualifier gte | ( | T | value | ) |
Equivalent to new ERXKeyValueQualifier(key, EOQualifier.QualifierOperatorGreaterThanOrEqualTo, value);
| value | the value |
| int hashCode | ( | ) |
| ERXKeyValueQualifier hasValues | ( | NSArray< T > | values | ) |
Equivalent to new ERXInQualifier(key, values);
| values | the values |
| ERXKeyValueQualifier ilike | ( | String | value | ) |
Equivalent to new ERXKeyValueQualifier(key, EOQualifier.QualifierOperatorCaseInsensitiveLike, value);
| value | the value |
| ERXOrQualifier in | ( | NSArray< T > | values | ) |
Equivalent to a new ERXOrQualifier of EOKeyValueQualifier with key equals value for each value.
| values | the values |
| ERXOrQualifier inObjects | ( | T... | values | ) |
Equivalent to a new ERXOrQualifier of EOKeyValueQualifier with key equals value for each value.
| values | the values |
| ERXKeyComparisonQualifier is | ( | ERXKey< T > | value | ) |
Equivalent to new ERXKeyComparisonQualifier(key, EOQualifier.QualifierOperatorEqual, value);
| value | the value |
| ERXKeyValueQualifier is | ( | T | value | ) |
Equivalent to new ERXKeyValueQualifier(key, EOQualifier.QualifierOperatorEqual, value);
| value | the value |
| static ERXKey<Boolean> isEmpty | ( | ) | [static] |
Returns a new ERXKey that prepends the given key with ERXArrayUtilities' isEmpty operator . Since any keypath beyond is ignored, only a no arg method is available.
| ERXKeyValueQualifier isFalse | ( | ) |
Equivalent to new ERXKeyValueQualifier(key, EOQualifier.QualifierOperatorEqual, Boolean.FALSE);
| ERXKeyComparisonQualifier isNot | ( | ERXKey< T > | value | ) |
Equivalent to new ERXKeyComparisonQualifier(key, EOQualifier.QualifierOperatorNotEqual, value);
| value | the value |
| ERXKeyValueQualifier isNot | ( | T | value | ) |
Equivalent to new ERXKeyValueQualifier(key, EOQualifier.QualifierOperatorNotEqual, value);
| value | the value |
| ERXKeyValueQualifier isNotNull | ( | ) |
Equivalent to new ERXKeyValueQualifier(key, EOQualifier.QualifierOperatorNotEqual, null);
| ERXKeyValueQualifier isNull | ( | ) |
Equivalent to new ERXKeyValueQualifier(key, EOQualifier.QualifierOperatorEqual, null);
| ERXKeyValueQualifier isTrue | ( | ) |
Equivalent to new ERXKeyValueQualifier(key, EOQualifier.QualifierOperatorEqual, Boolean.TRUE);
| ERXKeyValueQualifier isUnlessNull | ( | T | value | ) |
Equivalent to new ERXKeyValueQualifier(key, EOQualifier.QualifierOperatorEqual, value) only if the value is not null. If the value is null, this will return null, allowing you to conditionally chain an equals only if the value is non-null.
| value | the value |
| String key | ( | ) |
Returns the keypath that this ERXKey represents.
| ERXKeyComparisonQualifier lessThan | ( | ERXKey< T > | value | ) |
Equivalent to new ERXKeyComparisonQualifier(key, EOQualifier.QualifierOperatorLessThan, value);
| value | the value |
| ERXKeyValueQualifier lessThan | ( | T | value | ) |
Equivalent to new ERXKeyValueQualifier(key, EOQualifier.QualifierOperatorLessThan, value);
| value | the value |
| ERXKeyComparisonQualifier lessThanOrEqualTo | ( | ERXKey< T > | value | ) |
Equivalent to new ERXKeyComparisonQualifier(key, EOQualifier.QualifierOperatorLessThanOrEqualTo, value);
| value | the value |
| ERXKeyValueQualifier lessThanOrEqualTo | ( | T | value | ) |
Equivalent to new ERXKeyValueQualifier(key, EOQualifier.QualifierOperatorLessThanOrEqualTo, value);
| value | the value |
| ERXKeyValueQualifier like | ( | String | value | ) |
Equivalent to new ERXKeyValueQualifier(key, EOQualifier.QualifierOperatorLike, value);
| value | the value |
| ERXKeyValueQualifier likeInsensitive | ( | String | value | ) |
Equivalent to new ERXKeyValueQualifier(key, EOQualifier.QualifierOperatorCaseInsensitiveLike, value);
| value | the value |
| static <U> ERXKey<U> limit | ( | Integer | limit | ) | [static] |
Returns a new ERXKey that prepends the given key with ERXArrayUtilities' limit operator . For instance, if the limit is 3 this will return a new ERXKey "@limit.3".
| limit | the maximum number of objects allowed by the limit | |
| <U> | the type of the next key |
| static <U> ERXKey<NSArray<U> > limit | ( | Integer | limit, | |
| ERXKey< U > | key | |||
| ) | [static] |
Returns a new ERXKey that prepends the given key with ERXArrayUtilities' limit operator . For instance, if the key is "price" and limit is 3 this will return a new ERXKey "@limit.3.price".
| limit | the maximum number of objects allowed by the limit | |
| <U> | the type of the next key | |
| key | the key to use for this keypath |
| ERXKeyComparisonQualifier lt | ( | ERXKey< T > | value | ) |
Equivalent to new ERXKeyComparisonQualifier(key, EOQualifier.QualifierOperatorLessThan, value);
| value | the value |
| ERXKeyValueQualifier lt | ( | T | value | ) |
Equivalent to new ERXKeyValueQualifier(key, EOQualifier.QualifierOperatorLessThan, value);
| value | the value |
| ERXKeyComparisonQualifier lte | ( | ERXKey< T > | value | ) |
Equivalent to new ERXKeyComparisonQualifier(key, EOQualifier.QualifierOperatorLessThanOrEqualTo, value);
| value | the value |
| ERXKeyValueQualifier lte | ( | T | value | ) |
Equivalent to new ERXKeyValueQualifier(key, EOQualifier.QualifierOperatorLessThanOrEqualTo, value);
| value | the value |
| static <U> ERXKey<U> max | ( | ) | [static] |
Returns a new ERXKey that uses NSArray's MAX aggregate operator .
| <U> | the type of the next key |
| static <U> ERXKey<U> max | ( | ERXKey< U > | key | ) | [static] |
Returns a new ERXKey that prepends the given key with NSArray's MAX aggregate operator . For instance, if the key is "price" this will return a new ERXKey "@max.price".
| <U> | the type of the next key | |
| key | the key to use for this aggregate keypath |
| static ERXKey<BigDecimal> median | ( | ERXKey<?> | key | ) | [static] |
Returns a new ERXKey that prepends the given key with ERXArrayUtilities' median aggregate operator . For instance, if the key is "price" this will return a new ERXKey "@median.price".
| key | the key to use for this aggregate keypath |
| static ERXKey<BigDecimal> median | ( | ) | [static] |
Returns ERXArrayUtilities' median aggregate operator .
| key | the key to use for this aggregate keypath |
| static <U> ERXKey<U> min | ( | ) | [static] |
Returns a new ERXKey that uses NSArray's MIN aggregate operator .
| <U> | the type of the next key |
| static <U> ERXKey<U> min | ( | ERXKey< U > | key | ) | [static] |
Returns a new ERXKey that prepends the given key with NSArray's MIN aggregate operator . For instance, if the key is "price" this will return a new ERXKey "@min.price".
| <U> | the type of the next key | |
| key | the key to use for this aggregate keypath |
| ERXKeyComparisonQualifier ne | ( | ERXKey< T > | value | ) |
Equivalent to new ERXKeyComparisonQualifier(key, EOQualifier.QualifierOperatorNotEqual, value);
| value | the value |
| ERXKeyValueQualifier ne | ( | T | value | ) |
Equivalent to new ERXKeyValueQualifier(key, EOQualifier.QualifierOperatorNotEqual, value);
| value | the value |
| ERXAndQualifier notIn | ( | NSArray< T > | values | ) |
Equivalent to a new ERXAndQualifier of EONotQualifier(EOKeyValueQualifier) with key equals value for each value.
| values | the values |
| static <U> ERXKey<U> objectAtIndex | ( | Integer | index | ) | [static] |
Returns a new ERXKey that prepends the given key with ERXArrayUtilities' objectAtIndex operator . For instance, if the index is 3 then this will return a new ERXKey "@objectAtIndex.3".
| <U> | the type of the next key | |
| index | The index of the object to return from the array |
| static <U> ERXKey<U> objectAtIndex | ( | Integer | index, | |
| ERXKey< U > | key | |||
| ) | [static] |
Returns a new ERXKey that prepends the given key with ERXArrayUtilities' objectAtIndex operator . For instance, if the index is 3 and the key is "price" then this will return a new ERXKey "@objectAtIndex.3.price".
| <U> | the type of the next key | |
| index | The index of the object to return from the array | |
| key | the key following the operator |
| static ERXKey<BigDecimal> popStdDev | ( | ERXKey<?> | key | ) | [static] |
Returns a new ERXKey that uses Wonder's standard deviation operator
| key | the key to append |
| static ERXKey<BigDecimal> popStdDev | ( | ) | [static] |
Returns a new ERXKey that uses Wonder's standard deviation operator
| EOQualifier prefix | ( | EOQualifier | qualifier | ) |
Prefixes the keys in the given qualifier with this key. For example, if you have a qualifier on Company of name = 'mDT' and you want to find Person eo's whose companies match that qualifier, you need to prefix all the keys in the qualifier to be "company.whatever" (to go through the company relationship on Person) -- so in the example you would need company.name = 'mDT'. Prefix provides a mechanism to do that.
Person.COMPANY.prefix(ERXQ.is("name", "mDT")) is equivalent to ERXQ.is("company.name", "mDT")
| qualifier | the qualifier to prefix |
| Object rawValueInObject | ( | Object | obj | ) |
Returns the value of this keypath on the given object.
| obj | the target object to apply this keypath on |
| static <U> ERXKey<U> removeNullValues | ( | ) | [static] |
Returns a new ERXKey that prepends the given key with ERXArrayUtilities' RemoveNullValues operator .
| <U> | the type of the next key |
| static <U> ERXKey<U> removeNullValues | ( | ERXKey< U > | key | ) | [static] |
Returns a new ERXKey that prepends the given key with ERXArrayUtilities' RemoveNullValues operator . For instance, if the key is "price" this will return a new ERXKey "@removeNullValues.price".
| key | the key to use for this keypath | |
| <U> | the type of the next key |
| static <U> ERXKey<U> reverse | ( | ) | [static] |
Returns a new ERXKey that prepends the given key with ERXArrayUtilities' Reverse operator .
| <U> | the type of the next key |
| static <U> ERXKey<NSArray<U> > reverse | ( | ERXKey< U > | key | ) | [static] |
Returns a new ERXKey that prepends the given key with ERXArrayUtilities' Reverse operator . For instance, if the key is "price" this will return a new ERXKey "@reverse.price".
| key | the key to use for this keypath | |
| <U> | the type of the next key |
| static <U> ERXKey<U> sort | ( | ERXKey<?>... | sortKeys | ) | [static] |
Returns a new ERXKey that prepends the given key with ERXArrayUtilities' Sort operator . For instance, sort(Employee.FIRST_NAME, Employee.LAST_NAME) would return a key like .firstName,lastname
| sortKeys | the ERXKeys to append for sorting | |
| <U> | the type of the next key |
| static <U> ERXKey<U> sortAsc | ( | ERXKey<?>... | sortKeys | ) | [static] |
Returns a new ERXKey that prepends the given key with ERXArrayUtilities' SortAscending operator . For instance, sortAsc(Employee.FIRST_NAME, Employee.LAST_NAME) would return a key like .firstName,lastname
| sortKeys | the ERXKeys to append for sorting | |
| <U> | the type of the next key |
| static <U> ERXKey<U> sortDesc | ( | ERXKey<?>... | sortKeys | ) | [static] |
Returns a new ERXKey that prepends the given key with ERXArrayUtilities' SortDescending operator . For instance, sortDesc(Employee.FIRST_NAME, Employee.LAST_NAME) would return a key like .firstName,lastname
| sortKeys | the ERXKeys to append for sorting | |
| <U> | the type of the next key |
| static <U> ERXKey<U> sortInsensitiveAsc | ( | ERXKey<?>... | sortKeys | ) | [static] |
Returns a new ERXKey that prepends the given key with ERXArrayUtilities' SortInsensitiveAscending operator . For instance, sortInsensitiveAsc(Employee.FIRST_NAME, Employee.LAST_NAME) would return a key like .firstName,lastname
| sortKeys | the ERXKeys to append for sorting | |
| <U> | the type of the next key |
| static <U> ERXKey<U> sortInsensitiveDesc | ( | ERXKey<?>... | sortKeys | ) | [static] |
Returns a new ERXKey that prepends the given key with ERXArrayUtilities' SortInsensitiveDescending operator . For instance, sortInsensitiveDesc(Employee.FIRST_NAME, Employee.LAST_NAME) would return a key like .firstName,lastname
| sortKeys | the ERXKeys to append for sorting | |
| <U> | the type of the next key |
| ERXKeyValueQualifier startsWith | ( | String | value | ) |
Equivalent to new ERXKeyValueQualifier(key, EOQualifier.OperatorLike, value + "*").
| value | the substring value |
| ERXKeyValueQualifier startsWithInsensitive | ( | String | value | ) |
Equivalent to new ERXKeyValueQualifier(key, EOQualifier.OperatorCaseInsensitiveLike, value + "*").
| value | the substring value |
| static ERXKey<BigDecimal> stdDev | ( | ERXKey<?> | key | ) | [static] |
Returns a new ERXKey that uses Wonder's standard deviation operator
| key | the key to append |
| static ERXKey<BigDecimal> stdDev | ( | ) | [static] |
Returns a new ERXKey that uses Wonder's standard deviation operator
| static <U> ERXKey<U> subarrayWithRange | ( | NSRange | range | ) | [static] |
Returns a new ERXKey that prepends the given key with ERXArrayUtilities' SubarrayWithRange operator . For instance, if the range is new NSRange(4,2) this will return a new ERXKey "@subarrayWithRange.4-2.price".
| range | the range for the operator | |
| <U> | the type of the next key |
| static <U> ERXKey<NSArray<U> > subarrayWithRange | ( | NSRange | range, | |
| ERXKey< U > | key | |||
| ) | [static] |
Returns a new ERXKey that prepends the given key with ERXArrayUtilities' SubarrayWithRange operator . For instance, if the key is "price" and the range is new NSRange(4,2) this will return a new ERXKey "@subarrayWithRange.4-2.price".
| key | the key to use for this keypath | |
| range | the range for the operator | |
| <U> | the type of the next key |
| static ERXKey<BigDecimal> sum | ( | ) | [static] |
Returns a new ERXKey that uses NSArray's SUM aggregate operator .
| static ERXKey<BigDecimal> sum | ( | ERXKey<?> | key | ) | [static] |
Returns a new ERXKey that prepends the given key with NSArray's SUM aggregate operator . For instance, if the key is "price" this will return a new ERXKey "@sum.price".
| key | the key to use for this aggregate keypath |
| void takeValueInObject | ( | T | value, | |
| Object | obj | |||
| ) |
Sets the value of this keypath on the given object.
| value | the value to set | |
| obj | the object to set the value on |
| String toString | ( | ) |
| static <U> ERXKey<U> unique | ( | ) | [static] |
Returns a new ERXKey that prepends the given key with ERXArrayUtilities' Unique operator .
| <U> | the type of the next key |
| static <U> ERXKey<NSArray<U> > unique | ( | ERXKey< U > | key | ) | [static] |
Returns a new ERXKey that prepends the given key with ERXArrayUtilities' Unique operator . For instance, if the key is "price" this will return a new ERXKey "@unique.price".
| key | the key to use for this keypath | |
| <U> | the type of the next key |
| T valueInObject | ( | Object | obj | ) |
Returns the value of this keypath on the given object.
Note: If you ERXKey representation a keypath through an NSArray, this method will result in a ClassCastException. See the 'Note' on .append(..) for further explanation.
| obj | the target object to apply this keypath on |
final ERXKey<BigDecimal> AVG = new ERXKey<BigDecimal>("@avg") [static, private] |
final ERXKey<BigDecimal> AVG_NON_NULL = new ERXKey<BigDecimal>("@avgNonNull") [static, private] |
final ERXKey<Integer> COUNT = new ERXKey<Integer>("@count") [static, private] |
final ERXKey<?> FETCH_SPEC = new ERXKey<Object>("@fetchSpec") [static, private] |
final ERXKey<?> FLATTEN = new ERXKey<Object>("@flatten") [static, private] |
final ERXKey<Boolean> IS_EMPTY = new ERXKey<Boolean>("@isEmpty") [static, private] |
final ERXKey<?> LIMIT = new ERXKey<Object>("@limit") [static, private] |
final ERXKey<?> MAX = new ERXKey<Object>("@max") [static, private] |
final ERXKey<BigDecimal> MEDIAN = new ERXKey<BigDecimal>("@median") [static, private] |
final ERXKey<?> MIN = new ERXKey<Object>("@min") [static, private] |
final ERXKey<?> OBJECT_AT_INDEX = new ERXKey<Object>("@objectAtIndex") [static, private] |
final ERXKey<BigDecimal> POP_STD_DEV = new ERXKey<BigDecimal>("@popStdDev") [static, private] |
final ERXKey<?> REMOVE_NULL_VALUES = new ERXKey<Object>("@removeNullValues") [static, private] |
final ERXKey<?> REVERSE = new ERXKey<Object>("@reverse") [static, private] |
final ERXKey<?> SORT = new ERXKey<Object>("@sort") [static, private] |
final ERXKey<?> SORT_ASC = new ERXKey<Object>("@sortAsc") [static, private] |
final ERXKey<?> SORT_DESC = new ERXKey<Object>("@sortDesc") [static, private] |
final ERXKey<?> SORT_INSENSITIVE_ASC = new ERXKey<Object>("@sortInsensitiveAsc") [static, private] |
final ERXKey<?> SORT_INSENSITIVE_DESC = new ERXKey<Object>("@sortInsensitiveDesc") [static, private] |
final ERXKey<BigDecimal> STD_DEV = new ERXKey<BigDecimal>("@stdDev") [static, private] |
final ERXKey<?> SUBARRAY_WITH_RANGE = new ERXKey<Object>("@subarrayWithRange") [static, private] |
final ERXKey<BigDecimal> SUM = new ERXKey<BigDecimal>("@sum") [static, private] |
final ERXKey<?> UNIQUE = new ERXKey<Object>("@unique") [static, private] |
1.5.8