Class DoubleRangeQuery

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

Represents a Query testing a double range.
  • Constructor Details

    • DoubleRangeQuery

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

      public DoubleRangeQuery(String fieldPath, double lower, double upper, boolean includeLower, boolean includeUpper)
      Build a double 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