Class IndexQueryCriteriaBuilder

    • Constructor Detail

      • IndexQueryCriteriaBuilder

        public IndexQueryCriteriaBuilder()
    • Method Detail

      • eq

        public static IndexQueryCriterion eq​(String field,
                                             Object val)
        Equal To.
        Parameters:
        field - Index field to apply criterion.
        val - Strict equality value.
        Returns:
        Criterion.
      • lt

        public static IndexQueryCriterion lt​(String field,
                                             Object val)
        Less Then.
        Parameters:
        field - Index field to apply criterion.
        val - Exclusive upper bound.
        Returns:
        Criterion.
      • lte

        public static IndexQueryCriterion lte​(String field,
                                              Object val)
        Less Then or Equal To.
        Parameters:
        field - Index field to apply criterion.
        val - Inclusive upper bound.
        Returns:
        Criterion.
      • gt

        public static IndexQueryCriterion gt​(String field,
                                             Object val)
        Greater Then.
        Parameters:
        field - Index field to apply criterion.
        val - Exclusive lower bound.
        Returns:
        Criterion.
      • gte

        public static IndexQueryCriterion gte​(String field,
                                              Object val)
        Greater Then or Equal To.
        Parameters:
        field - Index field to apply criterion.
        val - Inclusive lower bound.
        Returns:
        Criterion.
      • between

        public static IndexQueryCriterion between​(String field,
                                                  Object lower,
                                                  Object upper)
        Between.
        Parameters:
        field - Index field to apply criterion.
        lower - Inclusive lower bound.
        upper - Inclusive upper bound.
        Returns:
        Criterion.
      • in

        public static IndexQueryCriterion in​(String field,
                                             Collection<?> vals)
        In.
        Parameters:
        field - Index field to apply criterion.
        vals - Collection of values to find.
        Returns:
        Criterion.