Class RangePropertyPredicateEvaluator

  • All Implemented Interfaces:
    PredicateEvaluator
    Direct Known Subclasses:
    DateRangePredicateEvaluator

    public class RangePropertyPredicateEvaluator
    extends AbstractPredicateEvaluator
    Matches a JCR property against an interval. This applies to properties with linear types such as LONG, DOUBLE and DECIMAL. For DATE please see the DateRangePredicateEvaluator that has optimized date format input.

    You can define a lower bound and an upper bound or only one of them. The operation (eg. "lesser than" or "lesser or equals") can also be specified for lower and upper bound individually.

    Does not support facet extraction.

    Name:

    rangeproperty

    Properties:

    property
    relative path to property
    lowerBound
    lower bound to check property for
    lowerOperation
    ">" (default) or ">=", applies to the lowerValue
    upperBound
    upper bound to check property for
    upperOperation
    "<" (default) or "<=", applies to the lowerValue
    decimal
    "true" if the checked property is of type Decimal
    Since:
    5.2