S - The "self" type (the actual exposed type of this step)PDF - The type of factory used to create predicates in filter(Function).public interface AggregationFilterStep<S,PDF extends SearchPredicateFactory>
| Modifier and Type | Method and Description |
|---|---|
S |
filter(Function<? super PDF,? extends PredicateFinalStep> clauseContributor)
Filter nested objects from which values will be extracted for this aggregation.
|
default S |
filter(PredicateFinalStep dslFinalStep)
Filter nested objects from which values will be extracted for this aggregation.
|
S |
filter(SearchPredicate searchPredicate)
Filter nested objects from which values will be extracted for this aggregation.
|
S filter(SearchPredicate searchPredicate)
The filter is based on a previously-built SearchPredicate.
searchPredicate - The predicate that must match.this, for method chaining.S filter(Function<? super PDF,? extends PredicateFinalStep> clauseContributor)
The filter is defined by the given function.
Best used with lambda expressions.
clauseContributor - 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.this, for method chaining.default S filter(PredicateFinalStep dslFinalStep)
The filter is based on an almost-built SearchPredicate.
dslFinalStep - A final step in the predicate DSL allowing the retrieval of a SearchPredicate.this, for method chaining.Copyright © 2006-2020 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.