Interface NestedPredicateNestStep<N extends NestedPredicateOptionsStep<?>>
- Type Parameters:
N
- The type of the next step.
Deprecated.
The step in a "nested" predicate definition where the predicate to nest can be set.
-
Method Summary
Modifier and TypeMethodDescriptionnest
(Function<? super SearchPredicateFactory, ? extends PredicateFinalStep> predicateContributor) Deprecated.Set the inner predicate defined by the given function.default N
nest
(PredicateFinalStep dslFinalStep) Deprecated.Set the inner predicate to an almost-builtSearchPredicate
.nest
(SearchPredicate searchPredicate) Deprecated.Set the inner predicate to a previously-builtSearchPredicate
.
-
Method Details
-
nest
Deprecated.Set the inner predicate to a previously-builtSearchPredicate
.Matching documents are those for which at least one element of the nested object field matches the inner predicate.
- Parameters:
searchPredicate
- The predicate that must be matched by at least one element of the nested object field.- Returns:
- The next step.
-
nest
Deprecated.Set the inner predicate to an almost-builtSearchPredicate
.Matching documents are those for which at least one element of the nested object field matches the inner predicate.
- Parameters:
dslFinalStep
- A final step in the predicate DSL allowing the retrieval of aSearchPredicate
.- Returns:
- The next step.
-
nest
Deprecated.Set the inner predicate defined by the given function.Best used with lambda expressions.
Matching documents are those for which at least one element of the nested object field matches the inner predicate.
- 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.
-
SearchPredicateFactory.nested(String)
instead.