Class DoubleRangeQuery

    • Field Detail

      • _lower

        protected double _lower
        The lower end of the double range.
      • _upper

        protected double _upper
        The upper end of the double range.
      • _includeLower

        protected boolean _includeLower
        True to include the lower end, false to exclude it.
      • _includeUpper

        protected boolean _includeUpper
        True to include the upper end, false to exclude it.
    • Constructor Detail

      • 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 includeTo)
        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.
        includeTo - Whether to include the upper end or not.