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

NameTypeDescription
startValueStringOrdered Index value to define the beginning of the filter. Inclusive.
endValueStringOrdered Index value to define the end of the filter. Exclusive.
maxResultsintMaximum results to return.
valueExtractorObjectExtractor function must be the same as the one used to create the Index.

Returns

TypeDescription
ObjectThe filter.

Cautions

none