Coherence.Filters.C_BetweenLimitIndexedString()
Signature
Object C_BetweenLimitIndexedString(String startValue, String endValue, int
maxResults, Object valueExtractor)
Domain
action, condition, query
Description
Optimized filter that uses the ordered Index for filtering items whose indexed
values are between the given start and end values. Limits the results to the specified number.
The Index must be ordered. The valueExtractor provided must be the same as the one used
to create the Index. The startValue is inclusive and the endValue is exclusive. The endValue
can be same as the startValue if needed.
Parameters
Name | Type | Description |
startValue | String | Ordered Index value to define the beginning of the filter. Inclusive. |
endValue | String | Ordered Index value to define the end of the filter. Exclusive. |
maxResults | int | Maximum results to return. |
valueExtractor | Object | Extractor function must be the same as the one used to create the Index. |
Returns
Type | Description |
Object | The filter. |