Class RangeQuery


  • public class RangeQuery
    extends AbstractLeafQuery
    A query that matches on range of values
    • Constructor Detail

      • RangeQuery

        public RangeQuery​(java.lang.String field,
                          java.lang.String lower,
                          java.lang.String upper,
                          java.lang.Boolean lowerInclusive,
                          java.lang.Boolean upperInclusive)
    • Method Detail

      • getLower

        public java.lang.String getLower()
        Returns:
        a range lower bound
      • getUpper

        public java.lang.String getUpper()
        Returns:
        a range upper bound
      • isLowerInclusive

        public boolean isLowerInclusive()
        Returns:
        a flag that indicates that documents with a value matching lower bound should be included
      • isUpperInclusive

        public boolean isUpperInclusive()
        Returns:
        a flag that indicates that documents with a value matching upper bound should be included
      • getField

        public java.lang.String getField()