Class LongRangeQuery

java.lang.Object
org.ametys.cms.search.query.AbstractRangeQuery<Long>
org.ametys.cms.search.query.LongRangeQuery
All Implemented Interfaces:
Query

public class LongRangeQuery extends AbstractRangeQuery<Long>
Represents a Query testing a long range.
  • Constructor Details

    • LongRangeQuery

      public LongRangeQuery(String fieldPath, long lower, long upper)
      Build a long range query.
      Parameters:
      fieldPath - The field path.
      lower - The lower end of the range.
      upper - The upper end of the range.
    • LongRangeQuery

      public LongRangeQuery(String fieldPath, long lower, long upper, boolean includeLower, boolean includeUpper)
      Build a long range query.
      Parameters:
      fieldPath - The field path.
      lower - The lower end of the range.
      upper - The upper end of the range.
      includeLower - Whether to include the lower end or not.
      includeUpper - Whether to include the upper end or not.
  • Method Details