Interface SearchQueryWhereStep<N extends SearchQueryOptionsStep<?,​H,​LOS,​?,​?>,​H,​LOS,​PDF extends SearchPredicateFactory>

    • Method Detail

      • where

        N where​(SearchPredicate predicate)
        Set the predicate for this query.
        Parameters:
        predicate - A SearchPredicate object obtained from the search scope.
        Returns:
        The next step.
      • where

        N where​(Function<? super PDF,​? extends PredicateFinalStep> predicateContributor)
        Set the predicate for this query.
        Parameters:
        predicateContributor - A function that will use the factory passed in parameter to create a predicate, returning the final step in the predicate DSL. Should generally be a lambda expression.
        Returns:
        The next step.
      • where

        N where​(BiConsumer<? super PDF,​? super SimpleBooleanPredicateClausesCollector<?>> predicateContributor)
        Set the predicate for this query.
        Parameters:
        predicateContributor - A consumer that will use the factory passed in parameter to create predicates and add them as clauses to the collector passed in parameter. Should generally be a lambda expression. The resulting root predicate will have to match all clauses.
        Returns:
        The next step.
        See Also:
        SimpleBooleanPredicateClausesCollector